User: slaboure
Date: 01/11/26 09:31:51
Modified: src/main/org/jboss/ha/hasessionstate/interfaces
PackagedSession.java
Log:
Added javadoc comments
Revision Changes Path
1.2 +26 -3
jbossmx/src/main/org/jboss/ha/hasessionstate/interfaces/PackagedSession.java
Index: PackagedSession.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmx/src/main/org/jboss/ha/hasessionstate/interfaces/PackagedSession.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PackagedSession.java 2001/11/09 22:49:03 1.1
+++ PackagedSession.java 2001/11/26 17:31:50 1.2
@@ -7,6 +7,7 @@
package org.jboss.ha.hasessionstate.interfaces;
+
import java.io.Serializable;
/**
@@ -14,27 +15,49 @@
*
* @see HASessionState, PackagedSessionImpl
* @author [EMAIL PROTECTED]
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
* <p><b>Revisions:</b><br>
*/
-
public interface PackagedSession extends Serializable
-{
+{
+ /*
+ * Stored state
+ */
public byte[] getState ();
public boolean setState (byte[] state);
+ /*
+ * Stored state
+ */
public boolean isStateIdentical (byte[] state);
+
+ /*
+ * Update the state and content of this PackagedSession from the content of
another
+ * PackagedSession.
+ */
public void update (PackagedSession clone);
+ /*
+ * Owner node of the state
+ */
public String getOwner ();
public void setOwner (String owner);
+ /*
+ * Version number of this state
+ */
public long getVersion ();
+ /*
+ * Key identifier associated with this state
+ */
public Serializable getKey ();
public void setKey (Serializable key);
+ /*
+ * Number of miliseconds since when this state has not been modified in this VM
+ */
public long unmodifiedExistenceInVM ();
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development