Search in sources :

Example 6 with AccumulatorInfoSupplier

use of com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfoSupplier in project hazelcast by hazelcast.

the class SubscriberRegistry method getAccumulatorInfo.

private AccumulatorInfo getAccumulatorInfo(String cacheName) {
    SubscriberContext subscriberContext = context.getSubscriberContext();
    AccumulatorInfoSupplier infoSupplier = subscriberContext.getAccumulatorInfoSupplier();
    return infoSupplier.getAccumulatorInfoOrNull(mapName, cacheName);
}
Also used : AccumulatorInfoSupplier(com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfoSupplier)

Example 7 with AccumulatorInfoSupplier

use of com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfoSupplier in project hazelcast by hazelcast.

the class DefaultQueryCache method removeAccumulatorInfo.

private void removeAccumulatorInfo() {
    SubscriberContext subscriberContext = context.getSubscriberContext();
    AccumulatorInfoSupplier accumulatorInfoSupplier = subscriberContext.getAccumulatorInfoSupplier();
    accumulatorInfoSupplier.remove(mapName, cacheName);
}
Also used : AccumulatorInfoSupplier(com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfoSupplier)

Aggregations

AccumulatorInfoSupplier (com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfoSupplier)7 PublisherContext (com.hazelcast.map.impl.querycache.publisher.PublisherContext)3