public class SubscriberAccumulator extends BasicAccumulator<QueryCacheEventData>
QueryCache.
 Otherwise, it informs registered callback if there is any.
 
 This class can be accessed by multiple-threads at a time.| Modifier and Type | Field and Description | 
|---|---|
| protected CyclicBuffer<E> | buffer | 
| protected QueryCacheContext | context | 
| protected AccumulatorInfo | info | 
| protected PartitionSequencer | partitionSequencer | 
logger| Constructor and Description | 
|---|
| SubscriberAccumulator(QueryCacheContext context,
                     AccumulatorInfo info) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | accumulate(QueryCacheEventData event)Adds event to this accumulator. | 
| protected SubscriberSequencerProvider | createSequencerProvider() | 
| ConcurrentMap<Integer,Long> | getBrokenSequences() | 
| CyclicBuffer<E> | getBuffer() | 
| protected QueryCacheContext | getContext() | 
| protected long | getNow() | 
| boolean | isEndEvent(QueryCacheEventData event) | 
| protected boolean | isExpired(QueryCacheEventData entry,
         long delayMillis,
         long now) | 
| protected boolean | isNextEvent(Sequenced event) | 
createAccumulatorProcessor, getInfo, getPartitionSequencer, isEmpty, iterator, peek, poll, poll, reset, setHead, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final AccumulatorInfo info
protected final QueryCacheContext context
protected final CyclicBuffer<E extends Sequenced> buffer
protected final PartitionSequencer partitionSequencer
public SubscriberAccumulator(QueryCacheContext context, AccumulatorInfo info)
public void accumulate(QueryCacheEventData event)
Accumulatoraccumulate in interface Accumulator<QueryCacheEventData>accumulate in class BasicAccumulator<QueryCacheEventData>event - event to add.protected boolean isNextEvent(Sequenced event)
protected SubscriberSequencerProvider createSequencerProvider()
public ConcurrentMap<Integer,Long> getBrokenSequences()
public boolean isEndEvent(QueryCacheEventData event)
public CyclicBuffer<E> getBuffer()
protected QueryCacheContext getContext()
protected long getNow()
protected boolean isExpired(QueryCacheEventData entry, long delayMillis, long now)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.