public class CacheEventJournalReadResultSetImpl<K,V,T> extends ReadResultSetImpl<InternalEventJournalCacheEvent,T>
serializationService
modCount
SEQUENCE_UNAVAILABLE
Constructor and Description |
---|
CacheEventJournalReadResultSetImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(long seq,
Object item)
Applies the
Projection and adds an item to this ReadResultSetImpl if
it passes the Predicate and IFunction with which it was constructed. |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
add, get, getDataItems, getNextSequenceToReadFrom, getSequence, isMaxSizeReached, isMinSizeReached, readCount, readData, setHazelcastInstance, setNextSequenceToReadFrom, setSerializationService, size, writeData
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, iterator, spliterator
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public void addItem(long seq, Object item)
ReadResultSetImpl
Projection
and adds an item to this ReadResultSetImpl
if
it passes the Predicate
and IFunction
with which it was constructed.
The item
may be in serialized or deserialized format as this method will
adapt the parameter if necessary before providing it to the predicate and projection.
If the item
is in Data
format and there is no filter, predicate or projection,
the item is added to the set without any additional serialization or deserialization.
addItem
in class ReadResultSetImpl<InternalEventJournalCacheEvent,T>
seq
- the sequence ID of the itemitem
- the item to add to the result setpublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
getFactoryId
in class ReadResultSetImpl<InternalEventJournalCacheEvent,T>
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class ReadResultSetImpl<InternalEventJournalCacheEvent,T>
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.