1 22 package org.jboss.ha.hasessionstate.interfaces; 23 24 25 import java.io.Serializable ; 26 27 36 37 public interface PackagedSession extends Serializable 38 { 39 42 static final long serialVersionUID = 689622988452110553L; 43 46 public byte[] getState (); 47 public boolean setState (byte[] state); 48 49 52 public boolean isStateIdentical (byte[] state); 53 54 58 public void update (PackagedSession clone); 59 60 63 public String getOwner (); 64 public void setOwner (String owner); 65 66 69 public long getVersion (); 70 71 74 public Serializable getKey (); 75 public void setKey (Serializable key); 76 77 80 public long unmodifiedExistenceInVM (); 81 } 82 | Popular Tags |