Search in sources :

Example 1 with NodeStateImpl

use of com.hazelcast.monitor.impl.NodeStateImpl in project hazelcast by hazelcast.

the class TimedMemberStateFactory method createNodeState.

private void createNodeState(MemberStateImpl memberState) {
    Node node = instance.node;
    ClusterService cluster = instance.node.clusterService;
    NodeStateImpl nodeState = new NodeStateImpl(cluster.getClusterState(), node.getState(), cluster.getClusterVersion(), node.getVersion());
    memberState.setNodeState(nodeState);
}
Also used : ClusterService(com.hazelcast.internal.cluster.ClusterService) NodeStateImpl(com.hazelcast.monitor.impl.NodeStateImpl) Node(com.hazelcast.instance.Node)

Aggregations

Node (com.hazelcast.instance.Node)1 ClusterService (com.hazelcast.internal.cluster.ClusterService)1 NodeStateImpl (com.hazelcast.monitor.impl.NodeStateImpl)1