public void unableToRespondToConnectRequest() { if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.unableToRespondToConnectRequest(); cumulativeMetrics.unableToRespondToConnectRequest(); }
public void errorAddingClient() { if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.errorAddingClient(); cumulativeMetrics.errorAddingClient(); }
public void clientConnectionEstablished(long lease) { transitionTime = System.currentTimeMillis(); if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.clientConnectionEstablished(transitionTime, lease); cumulativeMetrics.clientConnectionEstablished(transitionTime, lease); }
public void clientConnectionRefused() { transitionTime = System.currentTimeMillis(); if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.clientConnectionRefused(transitionTime); cumulativeMetrics.clientConnectionRefused(transitionTime); }
public void clientConnectionDisconnected(boolean normal) { transitionTime = System.currentTimeMillis(); if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.clientConnectionDisconnected(normal, transitionTime); cumulativeMetrics.clientConnectionDisconnected(normal, transitionTime); }
public void clientLeaseRenewed(long lease) { lastLeaseRenewalTime = System.currentTimeMillis(); if (deltaMetrics == null) { createDeltaMetric(); } deltaMetrics.clientLeaseRenewed(lastLeaseRenewalTime, lease); cumulativeMetrics.clientLeaseRenewed(lastLeaseRenewalTime, lease); }