public class InvalidateSessionAttributesEntryProcessor extends AbstractWebDataEntryProcessor<Object>
destroyed session, removing them
from the clustered map.| Constructor and Description |
|---|
InvalidateSessionAttributesEntryProcessor() |
InvalidateSessionAttributesEntryProcessor(String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns type identifier for this class.
|
Object |
process(Map.Entry<String,Object> entry)
Process the entry without worrying about concurrency.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getFactoryIdgetBackupProcessorpublic InvalidateSessionAttributesEntryProcessor()
public InvalidateSessionAttributesEntryProcessor(String sessionId)
public int getId()
IdentifiedDataSerializablepublic Object process(Map.Entry<String,Object> entry)
EntryProcessorMap.Entry.setValue(V) method of Map.Entry such as:
Override
public Object process(Map.Entry entry) {
Value value = entry.getValue();
// process and modify value
// ...
entry.setValue(value);
return result;
}
otherwise EntryProcessor does not guarantee to modify the entry.entry - entry to be processedpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class AbstractWebDataEntryProcessor<Object>in - inputIOExceptionpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class AbstractWebDataEntryProcessor<Object>out - outputIOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.