public class ClusterStateContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClusterStateContext.HeartbeatCounter |
Constructor and Description |
---|
ClusterStateContext() |
Modifier and Type | Method and Description |
---|---|
ClusterState |
getClusterView()
Returns current cluster state.
|
void |
refreshClusterView(Layout layout,
PollReport report)
Refreshes the cluster view based on the local endpoint and the snapshot epoch at which the
node states are updated.
|
public void refreshClusterView(@NonNull Layout layout, @NonNull PollReport report)
layout
- Snapshot layout.public ClusterState getClusterView()
Copyright © 2019 CorfuDB. All rights reserved.