public final class GetSessionStateEntryProcessor extends Object implements EntryProcessor<String,SessionState>, IdentifiedDataSerializable, JvmIdAware
| Constructor and Description | 
|---|
| GetSessionStateEntryProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| EntryBackupProcessor<String,SessionState> | getBackupProcessor()Get the entry processor to be applied to backup entries. | 
| int | getFactoryId()Returns DataSerializableFactory factory id for this class. | 
| int | getId()Returns type identifier for this class. | 
| Object | process(Map.Entry<String,SessionState> entry)Process the entry without worrying about concurrency. | 
| void | readData(ObjectDataInput in)Reads fields from the input stream | 
| void | setJvmId(String jvmId)Sets jvm id. | 
| void | writeData(ObjectDataOutput out)Writes object fields to output stream | 
public void setJvmId(String jvmId)
JvmIdAwaresetJvmId in interface JvmIdAwarejvmId - the jvm idpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic Object process(Map.Entry<String,SessionState> 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.process in interface EntryProcessor<String,SessionState>entry - entry to be processedpublic EntryBackupProcessor<String,SessionState> getBackupProcessor()
EntryProcessorgetBackupProcessor in interface EntryProcessor<String,SessionState>public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.