public class Health extends Struct
A system health indicator, reported back over RPC
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
JSON_MAP |
Constructor and Description |
---|
Health(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
USize |
getPeers()
The numbers of peers as
U32 |
Bool |
isSyncing()
The sync status
|
Bool |
shouldHavePeers()
Should this node have peers (not active on –dev)
|
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a