public ConcurrentCommandStatusCounter copy() { ConcurrentCommandStatusCounter copy = new ConcurrentCommandStatusCounter(); for (Map.Entry<Integer,AtomicInteger> entry : this.map.entrySet()) { this.map.put(entry.getKey(), new AtomicInteger(entry.getValue().get())); } return copy; }
public ConcurrentCommandCounter() { this.request = new AtomicInteger(0); this.requestExpired = new AtomicInteger(0); this.requestWaitTime = new AtomicLong(0); this.requestResponseTime = new AtomicLong(0); this.requestEstimatedProcessingTime = new AtomicLong(0); this.response = new AtomicInteger(0); this.responseCommandStatusCounter = new ConcurrentCommandStatusCounter(); }
public ConcurrentCommandStatusCounter copy() { ConcurrentCommandStatusCounter copy = new ConcurrentCommandStatusCounter(); for (Map.Entry<Integer,AtomicInteger> entry : this.map.entrySet()) { this.map.put(entry.getKey(), new AtomicInteger(entry.getValue().get())); } return copy; }
public ConcurrentCommandStatusCounter copy() { ConcurrentCommandStatusCounter copy = new ConcurrentCommandStatusCounter(); for (Map.Entry<Integer,AtomicInteger> entry : this.map.entrySet()) { this.map.put(entry.getKey(), new AtomicInteger(entry.getValue().get())); } return copy; }
public ConcurrentCommandCounter() { this.request = new AtomicInteger(0); this.requestExpired = new AtomicInteger(0); this.requestWaitTime = new AtomicLong(0); this.requestResponseTime = new AtomicLong(0); this.requestEstimatedProcessingTime = new AtomicLong(0); this.response = new AtomicInteger(0); this.responseCommandStatusCounter = new ConcurrentCommandStatusCounter(); }
public ConcurrentCommandCounter() { this.request = new AtomicInteger(0); this.requestExpired = new AtomicInteger(0); this.requestWaitTime = new AtomicLong(0); this.requestResponseTime = new AtomicLong(0); this.requestEstimatedProcessingTime = new AtomicLong(0); this.response = new AtomicInteger(0); this.responseCommandStatusCounter = new ConcurrentCommandStatusCounter(); }
public ConcurrentCommandStatusCounter copy() { ConcurrentCommandStatusCounter copy = new ConcurrentCommandStatusCounter(); for (Map.Entry<Integer,AtomicInteger> entry : this.map.entrySet()) { this.map.put(entry.getKey(), new AtomicInteger(entry.getValue().get())); } return copy; }
public ConcurrentCommandCounter() { this.request = new AtomicInteger(0); this.requestExpired = new AtomicInteger(0); this.requestWaitTime = new AtomicLong(0); this.requestResponseTime = new AtomicLong(0); this.requestEstimatedProcessingTime = new AtomicLong(0); this.response = new AtomicInteger(0); this.responseCommandStatusCounter = new ConcurrentCommandStatusCounter(); itsRequestWaitTimeSample = new StatisticsSample(); itsRequestResponseTimeSample = new StatisticsSample(); itsRequestEstimatedProcessingTimeSample = new StatisticsSample(); }