NHS class

Node Health Status - one snapshot of a node's own health.

Constructors

NHS(List<int> bytes)
factory

Properties

CONNECTION_COUNT → int
Peers or clients currently connected; 0 = none or not measured.
no setter
connectionCount → int
no setter
CPU_CORES → int
Processor cores available to the service.
no setter
CPU_LOAD → double
Processor load, 0..1 of all cores.
no setter
cpuCores → int
no setter
cpuLoad → double
no setter
DISK_AVAILABLE_BYTES → int
Bytes on that volume available to the service (free bytes less any reserve the service may not use).
no setter
DISK_CAPACITY_BYTES → int
Capacity of the volume holding the store, bytes.
no setter
DISK_FREE_BYTES → int
Free bytes on that volume.
no setter
diskAvailableBytes → int
no setter
diskCapacityBytes → int
no setter
diskFreeBytes → int
no setter
GENERATED_AT_MS → int
Unix milliseconds when the snapshot was taken.
no setter
generatedAtMs → int
no setter
HAS_COMPUTE → bool
True when the processor and memory figures below were measured.
no setter
HAS_DISK → bool
True when the disk figures below were measured.
no setter
HAS_NETWORK → bool
True when the network figures below were measured.
no setter
hasCompute → bool
no setter
hasDisk → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasNetwork → bool
no setter
MEMORY_TOTAL_BYTES → int
Memory available to the service, bytes.
no setter
MEMORY_USED_BYTES → int
Memory the service uses, bytes.
no setter
memoryTotalBytes → int
no setter
memoryUsedBytes → int
no setter
NODE_ID → String?
Identifier of the node reporting (a peer identifier, host name or asset identifier).
no setter
nodeId → String?
no setter
NOTES → List<String>?
Short human-readable notes on anything degraded, e.g. "disk 92% full".
no setter
RATE_IN_BPS → double
Current receive rate, bytes per second.
no setter
RATE_OUT_BPS → double
Current send rate, bytes per second.
no setter
rateInBps → double
no setter
rateOutBps → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SERVICE_MODE → String?
Operating mode the service runs in, as the service names it, e.g. "full", "edge", "relay", "maintenance".
no setter
SERVICE_STATE → nhsServiceState
no setter
serviceMode → String?
no setter
serviceState → nhsServiceState
no setter
SOFTWARE_VERSION → String?
Software name and version of the service, e.g. "sdn-server 1.4.2".
no setter
softwareVersion → String?
no setter
STARTED_AT_MS → int
Unix milliseconds when the service started; 0 = unknown.
no setter
startedAtMs → int
no setter
STORAGE_PATH → String?
Location of the node's data store (a path or URI).
no setter
storagePath → String?
no setter
STORE_TOTAL_BYTES → int
Bytes the node's data store occupies.
no setter
STORE_TOTAL_RECORDS → int
Records the node's data store holds.
no setter
storeTotalBytes → int
no setter
storeTotalRecords → int
no setter
THROUGHPUT_HISTORY → List<NHSThroughputSample>?
Recent throughput, oldest first.
no setter
throughputHistory → List<NHSThroughputSample>?
no setter
TOTAL_IN_BYTES → int
Total bytes received since the service started.
no setter
TOTAL_OUT_BYTES → int
Total bytes sent since the service started.
no setter
totalInBytes → int
no setter
totalOutBytes → int
no setter
UPTIME_S → int
Seconds the service has been running.
no setter
uptimeS → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<NHS>