public class PeerInfo
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getActive()
Time since this peer was last seen
|
long |
getLag()
How many uncommitted operations this peer is behind the leader
|
java.lang.String |
getName()
The server name of the peer
|
boolean |
isCurrent()
Indicates if the server is up-to-date and synchronised
|
boolean |
isOffline()
Indicates the node is considered offline by the group
|
public java.lang.String getName()
public boolean isCurrent()
public boolean isOffline()
public java.time.Duration getActive()
public long getLag()