com.hazelcast.web.tomcat
Class HazelcastAttribute

java.lang.Object
  extended by com.hazelcast.web.tomcat.HazelcastAttribute
All Implemented Interfaces:
DataSerializable, Serializable

public class HazelcastAttribute
extends Object
implements DataSerializable

Author:
ali
See Also:
Serialized Form

Constructor Summary
HazelcastAttribute()
           
HazelcastAttribute(String sessionId, String name, Object value)
           
 
Method Summary
 String getKey()
           
 String getName()
           
 String getSessionId()
           
 Object getValue()
           
 boolean isTouched(long requestId)
           
 void readData(DataInput in)
           
 void setValue(Object value)
           
 String toString()
           
 void touch(long requestId)
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HazelcastAttribute

public HazelcastAttribute()

HazelcastAttribute

public HazelcastAttribute(String sessionId,
                          String name,
                          Object value)
Method Detail

getSessionId

public String getSessionId()

getName

public String getName()

getValue

public Object getValue()

setValue

public void setValue(Object value)

touch

public void touch(long requestId)

isTouched

public boolean isTouched(long requestId)

getKey

public String getKey()

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.