Search in sources :

Example 21 with AccumulatorInfo

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

the class MadePublishableOperation method setPublishable.

private void setPublishable() {
    PartitionAccumulatorRegistry registry = QueryCacheUtil.getAccumulatorRegistryOrNull(getContext(), name, cacheId);
    if (registry == null) {
        return;
    }
    AccumulatorInfo info = registry.getInfo();
    info.setPublishable(true);
    if (logger.isFinestEnabled()) {
        logger.finest("Accumulator was made publishable for map=" + getName());
    }
    this.done = true;
}
Also used : PartitionAccumulatorRegistry(com.hazelcast.map.impl.querycache.publisher.PartitionAccumulatorRegistry) AccumulatorInfo(com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfo)

Aggregations

AccumulatorInfo (com.hazelcast.map.impl.querycache.accumulator.AccumulatorInfo)21 PublisherCreateOperation (com.hazelcast.map.impl.querycache.subscriber.operation.PublisherCreateOperation)4 Address (com.hazelcast.cluster.Address)3 MapPublisherRegistry (com.hazelcast.map.impl.querycache.publisher.MapPublisherRegistry)3 PartitionAccumulatorRegistry (com.hazelcast.map.impl.querycache.publisher.PartitionAccumulatorRegistry)3 PublisherContext (com.hazelcast.map.impl.querycache.publisher.PublisherContext)3 PublisherRegistry (com.hazelcast.map.impl.querycache.publisher.PublisherRegistry)3 Predicate (com.hazelcast.query.Predicate)3 Future (java.util.concurrent.Future)3 MemberImpl (com.hazelcast.cluster.impl.MemberImpl)2 ArrayList (java.util.ArrayList)2 ClientEndpoint (com.hazelcast.client.ClientEndpoint)1 MapAssignAndGetUuidsOperation (com.hazelcast.client.impl.protocol.task.map.MapAssignAndGetUuidsOperation)1 MapAssignAndGetUuidsOperationFactory (com.hazelcast.client.impl.protocol.task.map.MapAssignAndGetUuidsOperationFactory)1 QueryCacheConfig (com.hazelcast.config.QueryCacheConfig)1 MemberImpl (com.hazelcast.instance.MemberImpl)1 IndexIterationPointer (com.hazelcast.internal.iteration.IndexIterationPointer)1 LocalRecordStoreStatsImpl (com.hazelcast.internal.monitor.impl.LocalRecordStoreStatsImpl)1 BatchNearCacheInvalidation (com.hazelcast.internal.nearcache.impl.invalidation.BatchNearCacheInvalidation)1 SingleNearCacheInvalidation (com.hazelcast.internal.nearcache.impl.invalidation.SingleNearCacheInvalidation)1