Search in sources :

Example 1 with NodeStateImpl

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

the class TimedMemberStateFactory method createNodeState.

protected 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.internal.monitor.impl.NodeStateImpl) Node(com.hazelcast.instance.impl.Node)

Aggregations

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