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
|
getFactoryId
getBackupProcessor
public InvalidateSessionAttributesEntryProcessor()
public InvalidateSessionAttributesEntryProcessor(String sessionId)
public int getId()
IdentifiedDataSerializable
public Object process(Map.Entry<String,Object> entry)
EntryProcessor
Map.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
DataSerializable
readData
in interface DataSerializable
readData
in class AbstractWebDataEntryProcessor<Object>
in
- inputIOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class AbstractWebDataEntryProcessor<Object>
out
- outputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.