public class PlatformDotNetSessionSetAndUnlockProcessor extends Object implements CacheEntryProcessor<String,PlatformDotNetSessionData,Void>, Binarylizable
Constructor and Description |
---|
PlatformDotNetSessionSetAndUnlockProcessor(PlatformDotNetSessionData data)
Constructor for unlock/update.
|
PlatformDotNetSessionSetAndUnlockProcessor(UUID lockNodeId,
long lockId)
Constructor for unlock.
|
PlatformDotNetSessionSetAndUnlockProcessor(UUID lockNodeId,
long lockId,
boolean update,
Map<String,byte[]> items,
boolean isDiff,
byte[] staticData,
int timeout)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Void |
process(javax.cache.processor.MutableEntry<String,PlatformDotNetSessionData> entry,
Object... args) |
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
String |
toString() |
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
public PlatformDotNetSessionSetAndUnlockProcessor(UUID lockNodeId, long lockId)
lockNodeId
- Lock node ID.lockId
- Lock ID.public PlatformDotNetSessionSetAndUnlockProcessor(PlatformDotNetSessionData data)
data
- Data.public PlatformDotNetSessionSetAndUnlockProcessor(UUID lockNodeId, long lockId, boolean update, Map<String,byte[]> items, boolean isDiff, byte[] staticData, int timeout)
lockNodeId
- Lock node ID.lockId
- Lock ID.update
- Whether to perform update.items
- Items.isDiff
- Whether items is a diff.staticData
- Static data.timeout
- Timeout.public Void process(javax.cache.processor.MutableEntry<String,PlatformDotNetSessionData> entry, Object... args) throws javax.cache.processor.EntryProcessorException
process
in interface javax.cache.processor.EntryProcessor<String,PlatformDotNetSessionData,Void>
javax.cache.processor.EntryProcessorException
public void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary
in interface Binarylizable
writer
- Binary object writer.BinaryObjectException
- In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary
in interface Binarylizable
reader
- Binary object reader.BinaryObjectException
- In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017