Class GridCacheQueueAdapter.RemoveProcessor
- java.lang.Object
-
- org.apache.ignite.internal.processors.datastructures.GridCacheQueueAdapter.RemoveProcessor
-
- All Implemented Interfaces:
Externalizable,Serializable,javax.cache.processor.EntryProcessor<GridCacheQueueHeaderKey,GridCacheQueueHeader,Long>
- Enclosing class:
- GridCacheQueueAdapter<T>
protected static class GridCacheQueueAdapter.RemoveProcessor extends Object implements javax.cache.processor.EntryProcessor<GridCacheQueueHeaderKey,GridCacheQueueHeader,Long>, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveProcessor()Required byExternalizable.RemoveProcessor(IgniteUuid id, Long idx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longprocess(javax.cache.processor.MutableEntry<GridCacheQueueHeaderKey,GridCacheQueueHeader> e, Object... args)voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
RemoveProcessor
public RemoveProcessor()
Required byExternalizable.
-
RemoveProcessor
public RemoveProcessor(IgniteUuid id, Long idx)
- Parameters:
id- Queue UUID.idx- Index of item to be removed.
-
-
Method Detail
-
process
public Long process(javax.cache.processor.MutableEntry<GridCacheQueueHeaderKey,GridCacheQueueHeader> e, Object... args)
- Specified by:
processin interfacejavax.cache.processor.EntryProcessor<GridCacheQueueHeaderKey,GridCacheQueueHeader,Long>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-