Search in sources :

Example 11 with MultiMapService

use of com.hazelcast.multimap.impl.MultiMapService in project hazelcast by hazelcast.

the class TxnPutOperation method afterRun.

@Override
public void afterRun() throws Exception {
    long elapsed = Math.max(0, Clock.currentTimeMillis() - begin);
    final MultiMapService service = getService();
    service.getLocalMultiMapStatsImpl(name).incrementPuts(elapsed);
    if (Boolean.TRUE.equals(response)) {
        publishEvent(EntryEventType.ADDED, dataKey, value, null);
    }
}
Also used : MultiMapService(com.hazelcast.multimap.impl.MultiMapService)

Aggregations

MultiMapService (com.hazelcast.multimap.impl.MultiMapService)11 QueueService (com.hazelcast.collection.impl.queue.QueueService)2 DistributedExecutorService (com.hazelcast.executor.impl.DistributedExecutorService)2 MapService (com.hazelcast.map.impl.MapService)2 ReplicatedMapService (com.hazelcast.replicatedmap.impl.ReplicatedMapService)2 TopicService (com.hazelcast.topic.impl.TopicService)2 CacheStatistics (com.hazelcast.cache.CacheStatistics)1 ICacheService (com.hazelcast.cache.impl.ICacheService)1 CardinalityEstimatorService (com.hazelcast.cardinality.impl.CardinalityEstimatorService)1 ClientEndpoint (com.hazelcast.client.ClientEndpoint)1 ListService (com.hazelcast.collection.impl.list.ListService)1 SetService (com.hazelcast.collection.impl.set.SetService)1 AtomicLongService (com.hazelcast.concurrent.atomiclong.AtomicLongService)1 AtomicReferenceService (com.hazelcast.concurrent.atomicreference.AtomicReferenceService)1 CountDownLatchService (com.hazelcast.concurrent.countdownlatch.CountDownLatchService)1 IdGeneratorService (com.hazelcast.concurrent.idgen.IdGeneratorService)1 LockServiceImpl (com.hazelcast.concurrent.lock.LockServiceImpl)1 SemaphoreService (com.hazelcast.concurrent.semaphore.SemaphoreService)1 CacheConfig (com.hazelcast.config.CacheConfig)1 Config (com.hazelcast.config.Config)1