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, withclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitgetConstructorCodec, toU8a