Class WebSessionAttributeProcessor
- java.lang.Object
-
- org.apache.ignite.internal.websession.WebSessionAttributeProcessor
-
- All Implemented Interfaces:
Serializable,javax.cache.processor.EntryProcessor<String,WebSessionEntity,Void>,Binarylizable
public class WebSessionAttributeProcessor extends Object implements javax.cache.processor.EntryProcessor<String,WebSessionEntity,Void>, Serializable, Binarylizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebSessionAttributeProcessor()Empty constructor for serialization.WebSessionAttributeProcessor(Map<String,byte[]> updatesMap, long accessTime, int maxInactiveInterval, boolean maxIntervalChanged)Constructs attribute processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidprocess(javax.cache.processor.MutableEntry<String,WebSessionEntity> entry, Object... arguments)voidreadBinary(BinaryReader reader)Reads fields from provided reader.voidwriteBinary(BinaryWriter writer)Writes fields to provided writer.
-
-
-
Constructor Detail
-
WebSessionAttributeProcessor
public WebSessionAttributeProcessor()
Empty constructor for serialization.
-
WebSessionAttributeProcessor
public WebSessionAttributeProcessor(Map<String,byte[]> updatesMap, long accessTime, int maxInactiveInterval, boolean maxIntervalChanged)
Constructs attribute processor.- Parameters:
updatesMap- Updates that should be performed on entity attributes.accessTime- Access time.maxInactiveInterval- Max inactive interval.maxIntervalChanged-Trueif max inactive interval should be updated.
-
-
Method Detail
-
writeBinary
public void writeBinary(BinaryWriter writer) throws BinaryObjectException
Writes fields to provided writer.- Specified by:
writeBinaryin interfaceBinarylizable- Parameters:
writer- Binary object writer.- Throws:
BinaryObjectException- In case of error.
-
readBinary
public void readBinary(BinaryReader reader) throws BinaryObjectException
Reads fields from provided reader.- Specified by:
readBinaryin interfaceBinarylizable- Parameters:
reader- Binary object reader.- Throws:
BinaryObjectException- In case of error.
-
process
public Void process(javax.cache.processor.MutableEntry<String,WebSessionEntity> entry, Object... arguments) throws javax.cache.processor.EntryProcessorException
- Specified by:
processin interfacejavax.cache.processor.EntryProcessor<String,WebSessionEntity,Void>- Throws:
javax.cache.processor.EntryProcessorException
-
-