public class ClusterState extends Object implements ICorfuPayload<ClusterState>
NodeState
.
Created by zlokhandwala on 11/1/18.
ICorfuPayload.PayloadConstructor<T>
constructorMap, lookup
Constructor and Description |
---|
ClusterState(io.netty.buffer.ByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
static ClusterState |
buildClusterState(String localEndpoint,
NodeState... states) |
void |
doSerialize(io.netty.buffer.ByteBuf buf) |
NodeConnectivity |
getLocalNodeConnectivity() |
Optional<NodeState> |
getNode(String endpoint) |
boolean |
isReady()
See if cluster is ready.
|
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enumMapFromBuffer, fromBuffer, fromBuffer, listFromBuffer, mapFromBuffer, rangeFromBuffer, rangeSetFromBuffer, serialize, setFromBuffer
public void doSerialize(io.netty.buffer.ByteBuf buf)
doSerialize
in interface ICorfuPayload<ClusterState>
public int size()
public boolean isReady()
public NodeConnectivity getLocalNodeConnectivity()
public static ClusterState buildClusterState(String localEndpoint, NodeState... states)
Copyright © 2019 CorfuDB. All rights reserved.