protected static class GridCacheQueueAdapter.AddProcessor extends Object implements javax.cache.processor.EntryProcessor<GridCacheQueueHeaderKey,GridCacheQueueHeader,Long>, Externalizable
| Constructor and Description |
|---|
AddProcessor()
Required by
Externalizable. |
AddProcessor(IgniteUuid id,
int size) |
| Modifier and Type | Method and Description |
|---|---|
Long |
process(javax.cache.processor.MutableEntry<GridCacheQueueHeaderKey,GridCacheQueueHeader> e,
Object... args) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public AddProcessor()
Externalizable.public AddProcessor(IgniteUuid id, int size)
id - Queue unique ID.size - Number of elements to add.public Long process(javax.cache.processor.MutableEntry<GridCacheQueueHeaderKey,GridCacheQueueHeader> e, Object... args)
process in interface javax.cache.processor.EntryProcessor<GridCacheQueueHeaderKey,GridCacheQueueHeader,Long>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021