|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
#include <Identifiers/Identifiers.hpp>#include <Monitoring/MonitoringForwardRefs.hpp>#include <Runtime/RuntimeForwardRefs.hpp>Classes | |
| class | NES::Monitoring::RegistrationMetrics |
Namespaces | |
| NES | |
| This exception represents a network error. | |
| NES::Configurations | |
| NES::Monitoring | |
Typedefs | |
| using | SerializableRegistrationMetricsPtr = std::shared_ptr< SerializableRegistrationMetrics > |
| using | NES::Monitoring::RegistrationMetricsPtr = std::shared_ptr< RegistrationMetrics > |
Functions | |
| class NES::Monitoring::CpuMetrics | NES::Monitoring::__attribute__ ((packed)) |
| RegistrationMetrics () | |
| RegistrationMetrics (bool isMoving, bool hasBattery) | |
| RegistrationMetrics (const SerializableRegistrationMetrics &metrics) | |
| void | writeToBuffer (Runtime::TupleBuffer &buf, uint64_t tupleIndex) const |
| Writes a metrics objects to the given TupleBuffer and index. More... | |
| void | readFromBuffer (Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
| Parses a metrics objects from a TupleBuffer.. More... | |
| nlohmann::json | toJson () const |
| Returns the metrics as json. More... | |
| SerializableRegistrationMetricsPtr | serialize () const |
| Converts the object into a grpc protobuf object that can be serialized. More... | |
| bool | operator== (const RegistrationMetrics &rhs) const |
| bool | operator!= (const RegistrationMetrics &rhs) const |
| void | NES::Monitoring::writeToBuffer (const RegistrationMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
| The serialize method to write metrics into the given Schema and TupleBuffer. More... | |
| void | NES::Monitoring::readFromBuffer (RegistrationMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
| Parses a metrics objects from a given Schema and TupleBuffer. More... | |
| nlohmann::json | NES::Monitoring::asJson (const RegistrationMetrics &metrics) |
| Parses the metric to JSON. More... | |
Variables | |
| WorkerId | nodeId |
| uint64_t | totalMemoryBytes |
| uint64_t | cpuCoreNum |
| uint64_t | totalCPUJiffies |
| int64_t | cpuPeriodUS |
| int64_t | cpuQuotaUS |
| bool | isMoving |
| bool | hasBattery |
| using SerializableRegistrationMetricsPtr = std::shared_ptr<SerializableRegistrationMetrics> |
| bool __attribute__::operator!= | ( | const RegistrationMetrics & | rhs | ) | const |
| bool __attribute__::operator== | ( | const RegistrationMetrics & | rhs | ) | const |
| void __attribute__::readFromBuffer | ( | Runtime::TupleBuffer & | buf, |
| uint64_t | tupleIndex | ||
| ) |
Parses a metrics objects from a TupleBuffer..
| buf | the tuple buffer |
| the | tuple index indicating the location of the tuple |
| __attribute__::RegistrationMetrics | ( | ) |
| __attribute__::RegistrationMetrics | ( | bool | isMoving, |
| bool | hasBattery | ||
| ) |
|
explicit |
Ctor to create a RegistrationMetrics object out of a protobuf message.
| metrics | in protobuf |
| SerializableRegistrationMetricsPtr __attribute__::serialize | ( | ) | const |
Converts the object into a grpc protobuf object that can be serialized.
| nlohmann::json __attribute__::toJson | ( | ) | const |
Returns the metrics as json.
| void __attribute__::writeToBuffer | ( | Runtime::TupleBuffer & | buf, |
| uint64_t | tupleIndex | ||
| ) | const |
Writes a metrics objects to the given TupleBuffer and index.
| buf | the tuple buffer |
| tupleIndex | the index indication its location in the buffer |
| uint64_t cpuCoreNum |
| int64_t cpuPeriodUS |
| int64_t cpuQuotaUS |
| bool hasBattery |
| bool isMoving |
| WorkerId nodeId |
| uint64_t totalCPUJiffies |
| uint64_t totalMemoryBytes |