public class MapEventJournalReadResultSetImpl<K,V,T> extends ReadResultSetImpl<InternalEventJournalMapEvent,T>
serializationService
modCount
Constructor and Description |
---|
MapEventJournalReadResultSetImpl() |
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, getSequence, isMaxSizeReached, isMinSizeReached, readCount, readData, setHazelcastInstance, 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<InternalEventJournalMapEvent,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<InternalEventJournalMapEvent,T>
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class ReadResultSetImpl<InternalEventJournalMapEvent,T>
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.