use of com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl in project hazelcast by hazelcast.
the class IsEmptyOperation method afterRun.
@Override
public void afterRun() throws Exception {
LocalQueueStatsImpl stats = getQueueService().getLocalQueueStatsImpl(name);
stats.incrementOtherOperations();
}
use of com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl in project hazelcast by hazelcast.
the class PeekOperation method afterRun.
@Override
public void afterRun() {
LocalQueueStatsImpl stats = getQueueService().getLocalQueueStatsImpl(name);
stats.incrementOtherOperations();
}
use of com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl in project hazelcast by hazelcast.
the class PollOperation method afterRun.
@Override
public void afterRun() {
LocalQueueStatsImpl stats = getQueueService().getLocalQueueStatsImpl(name);
if (response != null) {
stats.incrementPolls();
publishEvent(ItemEventType.REMOVED, item.getSerializedObject());
} else {
stats.incrementEmptyPolls();
}
}
use of com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl in project hazelcast by hazelcast.
the class RemainingCapacityOperation method afterRun.
@Override
public void afterRun() throws Exception {
LocalQueueStatsImpl stats = getQueueService().getLocalQueueStatsImpl(name);
stats.incrementOtherOperations();
}
use of com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl in project hazelcast by hazelcast.
the class TxnPeekOperation method afterRun.
@Override
public void afterRun() throws Exception {
if (response != null) {
LocalQueueStatsImpl localQueueStatsImpl = getQueueService().getLocalQueueStatsImpl(name);
localQueueStatsImpl.incrementOtherOperations();
}
}
Aggregations