com.hazelcast.spi.impl.operationexecutor.slowoperationdetector
Class SlowOperationDetector

java.lang.Object
  extended by com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetector

public final class SlowOperationDetector
extends Object

Monitors the OperationRunner instances of the OperationExecutor to see if operations are slow.

Slow operations are logged and can be accessed e.g. to write to a log file or report to management center.


Constructor Summary
SlowOperationDetector(LoggingService loggingServices, OperationRunner[] genericOperationRunners, OperationRunner[] partitionOperationRunners, GroupProperties groupProperties, HazelcastThreadGroup hazelcastThreadGroup)
           
 
Method Summary
 List<SlowOperationDTO> getSlowOperationDTOs()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlowOperationDetector

public SlowOperationDetector(LoggingService loggingServices,
                             OperationRunner[] genericOperationRunners,
                             OperationRunner[] partitionOperationRunners,
                             GroupProperties groupProperties,
                             HazelcastThreadGroup hazelcastThreadGroup)
Method Detail

getSlowOperationDTOs

public List<SlowOperationDTO> getSlowOperationDTOs()

shutdown

public void shutdown()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.