@Override public List<SlowOperationDTO> getSlowOperationDTOs() { return slowOperationDetector.getSlowOperationDTOs(); }
@SuppressFBWarnings("EI_EXPOSE_REP2") public SlowOperationDetector(LoggingService loggingServices, OperationRunner[] genericOperationRunners, OperationRunner[] partitionOperationRunners, HazelcastProperties hazelcastProperties, String hzName) { this.logger = loggingServices.getLogger(SlowOperationDetector.class); this.slowOperationThresholdNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_THRESHOLD_MILLIS); this.logPurgeIntervalNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_LOG_PURGE_INTERVAL_SECONDS); this.logRetentionNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_LOG_RETENTION_SECONDS); this.isStackTraceLoggingEnabled = hazelcastProperties.getBoolean(SLOW_OPERATION_DETECTOR_STACK_TRACE_LOGGING_ENABLED); this.genericOperationRunners = genericOperationRunners; this.partitionOperationRunners = partitionOperationRunners; this.genericCurrentOperationData = initCurrentOperationData(genericOperationRunners); this.partitionCurrentOperationData = initCurrentOperationData(partitionOperationRunners); this.enabled = hazelcastProperties.getBoolean(SLOW_OPERATION_DETECTOR_ENABLED); this.detectorThread = newDetectorThread(hzName); }
public void start() { logger.finest("Starting OperationService"); initInvocationContext(); invocationMonitor.start(); operationExecutor.start(); inboundResponseHandlerSupplier.start(); slowOperationDetector.start(); }
public void shutdownOperationExecutor() { logger.finest("Shutting down operation executors"); operationExecutor.shutdown(); slowOperationDetector.shutdown(); } }
node.getNodeExtension(), hzName, configClassLoader); this.slowOperationDetector = new SlowOperationDetector(node.loggingService, operationExecutor.getGenericOperationRunners(), operationExecutor.getPartitionOperationRunners(), node.getProperties(), hzName);
@SuppressFBWarnings("EI_EXPOSE_REP2") public SlowOperationDetector(LoggingService loggingServices, OperationRunner[] genericOperationRunners, OperationRunner[] partitionOperationRunners, HazelcastProperties hazelcastProperties, String hzName) { this.logger = loggingServices.getLogger(SlowOperationDetector.class); this.slowOperationThresholdNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_THRESHOLD_MILLIS); this.logPurgeIntervalNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_LOG_PURGE_INTERVAL_SECONDS); this.logRetentionNanos = hazelcastProperties.getNanos(SLOW_OPERATION_DETECTOR_LOG_RETENTION_SECONDS); this.isStackTraceLoggingEnabled = hazelcastProperties.getBoolean(SLOW_OPERATION_DETECTOR_STACK_TRACE_LOGGING_ENABLED); this.genericOperationRunners = genericOperationRunners; this.partitionOperationRunners = partitionOperationRunners; this.genericCurrentOperationData = initCurrentOperationData(genericOperationRunners); this.partitionCurrentOperationData = initCurrentOperationData(partitionOperationRunners); this.enabled = hazelcastProperties.getBoolean(SLOW_OPERATION_DETECTOR_ENABLED); this.detectorThread = newDetectorThread(hzName); }
public void start() { logger.finest("Starting OperationService"); initInvocationContext(); invocationMonitor.start(); operationExecutor.start(); inboundResponseHandlerSupplier.start(); slowOperationDetector.start(); }
public void shutdownOperationExecutor() { logger.finest("Shutting down operation executors"); operationExecutor.shutdown(); slowOperationDetector.shutdown(); } }
node.getNodeExtension(), hzName, configClassLoader); this.slowOperationDetector = new SlowOperationDetector(node.loggingService, operationExecutor.getGenericOperationRunners(), operationExecutor.getPartitionOperationRunners(), node.getProperties(), hzName);
@Override public List<SlowOperationDTO> getSlowOperationDTOs() { return slowOperationDetector.getSlowOperationDTOs(); }