Search in sources :

Example 1 with ClientEndpointStatisticsManagerImpl

use of com.hazelcast.client.impl.ClientEndpointStatisticsManagerImpl in project hazelcast by hazelcast.

the class TestUtil method getNode.

public static Node getNode(HazelcastInstance instance) {
    Node node = Accessors.getNode(instance);
    ((ClientEngineImpl) node.getClientEngine()).setEndpointStatisticsManager(new ClientEndpointStatisticsManagerImpl());
    return node;
}
Also used : ClientEngineImpl(com.hazelcast.client.impl.ClientEngineImpl) Node(com.hazelcast.instance.impl.Node) ClientEndpointStatisticsManagerImpl(com.hazelcast.client.impl.ClientEndpointStatisticsManagerImpl)

Aggregations

ClientEndpointStatisticsManagerImpl (com.hazelcast.client.impl.ClientEndpointStatisticsManagerImpl)1 ClientEngineImpl (com.hazelcast.client.impl.ClientEngineImpl)1 Node (com.hazelcast.instance.impl.Node)1