Search in sources :

Example 11 with LocalQueueStatsImpl

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();
}
Also used : LocalQueueStatsImpl(com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)

Example 12 with LocalQueueStatsImpl

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();
}
Also used : LocalQueueStatsImpl(com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)

Example 13 with LocalQueueStatsImpl

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();
    }
}
Also used : LocalQueueStatsImpl(com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)

Example 14 with LocalQueueStatsImpl

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();
}
Also used : LocalQueueStatsImpl(com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)

Example 15 with LocalQueueStatsImpl

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();
    }
}
Also used : LocalQueueStatsImpl(com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)

Aggregations

LocalQueueStatsImpl (com.hazelcast.internal.monitor.impl.LocalQueueStatsImpl)17 Data (com.hazelcast.internal.serialization.Data)4 Address (com.hazelcast.cluster.Address)1 IPartition (com.hazelcast.internal.partition.IPartition)1