当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
PackagedSessionImpl (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
org.jboss.ha.hasessionstate.server
Class PackagedSessionImpl
java.lang.Object
org.jboss.ha.hasessionstate.server.PackagedSessionImpl
- All Implemented Interfaces:
- PackagedSession, Serializable
- public class PackagedSessionImpl
- extends Object
- implements PackagedSession
Default implementation of PackagedSession
- Version:
- $Revision: 1.3 $
- Author:
- sacha.labourey@cogito-info.ch
- See Also:
PackagedSession, HASessionStateImpl
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected byte[] state
versionId
protected long versionId
owner
protected String owner
key
protected Serializable key
lastModificationTimeInVM
protected transient long lastModificationTimeInVM
PackagedSessionImpl
public PackagedSessionImpl()
PackagedSessionImpl
public PackagedSessionImpl(Serializable key,
byte[] state,
String owner)
getState
public byte[] getState()
- Specified by:
getState
in interface PackagedSession
setState
public boolean setState(byte[] state)
- Specified by:
setState
in interface PackagedSession
isStateIdentical
public boolean isStateIdentical(byte[] state)
- Specified by:
isStateIdentical
in interface PackagedSession
update
public void update(PackagedSession clone)
- Specified by:
update
in interface PackagedSession
getOwner
public String getOwner()
- Specified by:
getOwner
in interface PackagedSession
setOwner
public void setOwner(String owner)
- Specified by:
setOwner
in interface PackagedSession
getVersion
public long getVersion()
- Specified by:
getVersion
in interface PackagedSession
getKey
public Serializable getKey()
- Specified by:
getKey
in interface PackagedSession
setKey
public void setKey(Serializable key)
- Specified by:
setKey
in interface PackagedSession
unmodifiedExistenceInVM
public long unmodifiedExistenceInVM()
- Specified by:
unmodifiedExistenceInVM
in interface PackagedSession
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.