|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.map.AbstractEntryProcessor<String,T> com.hazelcast.web.AbstractWebDataEntryProcessor<Object> com.hazelcast.web.InvalidateSessionAttributesEntryProcessor
public class InvalidateSessionAttributesEntryProcessor
Invalidates all attributes for a destroyed
session, removing them
from the clustered map.
Constructor Summary | |
---|---|
InvalidateSessionAttributesEntryProcessor()
|
|
InvalidateSessionAttributesEntryProcessor(String sessionId)
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.hazelcast.web.AbstractWebDataEntryProcessor |
---|
getFactoryId |
Methods inherited from class com.hazelcast.map.AbstractEntryProcessor |
---|
getBackupProcessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InvalidateSessionAttributesEntryProcessor()
public InvalidateSessionAttributesEntryProcessor(String sessionId)
Method Detail |
---|
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 processed
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class AbstractWebDataEntryProcessor<Object>
in
- input
IOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class AbstractWebDataEntryProcessor<Object>
out
- output
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |