public final class GetAttributeEntryProcessor extends Object implements EntryProcessor<String,SessionState>, IdentifiedDataSerializable
| Constructor and Description | 
|---|
GetAttributeEntryProcessor()  | 
GetAttributeEntryProcessor(String attributeName)  | 
| 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. 
 | 
Data | 
process(Map.Entry<String,SessionState> 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 
 | 
public GetAttributeEntryProcessor(String attributeName)
public GetAttributeEntryProcessor()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic Data 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 readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.