public OperationHeartbeatPlugin(NodeEngineImpl nodeEngine) { super(nodeEngine.getLogger(OperationHeartbeatPlugin.class)); InvocationMonitor invocationMonitor = ((OperationServiceImpl) nodeEngine.getOperationService()).getInvocationMonitor(); HazelcastProperties properties = nodeEngine.getProperties(); this.periodMillis = properties.getMillis(PERIOD_SECONDS); this.maxDeviationPercentage = properties.getInteger(MAX_DEVIATION_PERCENTAGE); this.expectedIntervalMillis = invocationMonitor.getHeartbeatBroadcastPeriodMillis(); this.heartbeatPerMember = invocationMonitor.getHeartbeatPerMember(); }
public OperationHeartbeatPlugin(NodeEngineImpl nodeEngine) { super(nodeEngine.getLogger(OperationHeartbeatPlugin.class)); InvocationMonitor invocationMonitor = ((OperationServiceImpl) nodeEngine.getOperationService()).getInvocationMonitor(); HazelcastProperties properties = nodeEngine.getProperties(); this.periodMillis = properties.getMillis(PERIOD_SECONDS); this.maxDeviationPercentage = properties.getInteger(MAX_DEVIATION_PERCENTAGE); this.expectedIntervalMillis = invocationMonitor.getHeartbeatBroadcastPeriodMillis(); this.heartbeatPerMember = invocationMonitor.getHeartbeatPerMember(); }
operationService.getOperationExecutor(), operationService.getInboundResponseHandlerSupplier().get(), operationService.getInvocationMonitor(), eventService, new ConnectionManagerPacketConsumer(),
operationService.getOperationExecutor(), operationService.getInboundResponseHandlerSupplier().get(), operationService.getInvocationMonitor(), eventService, new ConnectionManagerPacketConsumer(),