use of com.hazelcast.internal.monitor.LocalOperationStats in project hazelcast by hazelcast.
the class SlowOperationDetectorAbstractTest method getOperationStats.
static JsonObject getOperationStats(HazelcastInstance instance) {
TimedMemberStateFactory timedMemberStateFactory = new TimedMemberStateFactory(getHazelcastInstanceImpl(instance));
LocalOperationStats operationStats = timedMemberStateFactory.createTimedMemberState().getMemberState().getOperationStats();
return ((JsonSerializable) operationStats).toJson();
}
Aggregations