com.hazelcast.web
Class AbstractWebDataEntryProcessor<T>

java.lang.Object
  extended by com.hazelcast.map.AbstractEntryProcessor<String,T>
      extended by com.hazelcast.web.AbstractWebDataEntryProcessor<T>
All Implemented Interfaces:
EntryProcessor<String,T>, DataSerializable, IdentifiedDataSerializable, Serializable
Direct Known Subclasses:
AddSessionEntryProcessor, DestroySessionEntryProcessor, InvalidateSessionAttributesEntryProcessor, ReferenceSessionEntryProcessor

public abstract class AbstractWebDataEntryProcessor<T>
extends AbstractEntryProcessor<String,T>
implements IdentifiedDataSerializable

A base class for EntryProcessors which will use the web data serializer.

Since:
3.3
See Also:
Serialized Form

Constructor Summary
AbstractWebDataEntryProcessor()
           
 
Method Summary
 int getFactoryId()
          Returns DataSerializableFactory factory id for this class.
 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.map.AbstractEntryProcessor
getBackupProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.nio.serialization.IdentifiedDataSerializable
getId
 
Methods inherited from interface com.hazelcast.map.EntryProcessor
process
 

Constructor Detail

AbstractWebDataEntryProcessor

public AbstractWebDataEntryProcessor()
Method Detail

getFactoryId

public int getFactoryId()
Description copied from interface: IdentifiedDataSerializable
Returns DataSerializableFactory factory id for this class.

Specified by:
getFactoryId in interface IdentifiedDataSerializable
Returns:
factory id

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.