public class WebSessionAttributeProcessor extends Object implements javax.cache.processor.EntryProcessor<String,WebSessionEntity,Void>, Serializable, Binarylizable
| Constructor and Description |
|---|
WebSessionAttributeProcessor()
Empty constructor for serialization.
|
WebSessionAttributeProcessor(Map<String,byte[]> updatesMap,
long accessTime,
int maxInactiveInterval,
boolean maxIntervalChanged)
Constructs attribute processor.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
process(javax.cache.processor.MutableEntry<String,WebSessionEntity> entry,
Object... arguments) |
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
public WebSessionAttributeProcessor()
public WebSessionAttributeProcessor(Map<String,byte[]> updatesMap, long accessTime, int maxInactiveInterval, boolean maxIntervalChanged)
updatesMap - Updates that should be performed on entity attributes.accessTime - Access time.maxInactiveInterval - Max inactive interval.maxIntervalChanged - True if max inactive interval should be updated.public void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.public Void process(javax.cache.processor.MutableEntry<String,WebSessionEntity> entry, Object... arguments) throws javax.cache.processor.EntryProcessorException
process in interface javax.cache.processor.EntryProcessor<String,WebSessionEntity,Void>javax.cache.processor.EntryProcessorException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018