Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.j2ee.session
Interface Store  view Store download Store.java

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AbstractStore, LocalStore

public interface Store
extends java.lang.Cloneable


Method Summary
 java.lang.String allocateId(javax.servlet.http.HttpServletRequest request)
           
 java.lang.Object clone()
           
 void deallocateId(java.lang.String id)
           
 void destroy()
           
 int getActualMaxInactiveInterval()
           
 Manager getManager()
           
 boolean isDistributed()
           
 State loadState(java.lang.String id)
           
 State newState(java.lang.String id, int maxInactiveInterval)
           
 void passivateSession(StateAdaptor sa)
           
 void removeState(State state)
           
 void scavenge()
           
 void setActualMaxInactiveInterval(int secs)
           
 void setManager(Manager manager)
           
 void setScavengerExtraTime(int secs)
           
 void setScavengerPeriod(int secs)
           
 void start()
           
 void stop()
           
 void storeState(State state)
           
 

Method Detail

getManager

public Manager getManager()

setManager

public void setManager(Manager manager)

start

public void start()
           throws java.lang.Exception

stop

public void stop()

destroy

public void destroy()

setScavengerPeriod

public void setScavengerPeriod(int secs)

setScavengerExtraTime

public void setScavengerExtraTime(int secs)

setActualMaxInactiveInterval

public void setActualMaxInactiveInterval(int secs)

getActualMaxInactiveInterval

public int getActualMaxInactiveInterval()

isDistributed

public boolean isDistributed()

allocateId

public java.lang.String allocateId(javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception

deallocateId

public void deallocateId(java.lang.String id)
                  throws java.lang.Exception

newState

public State newState(java.lang.String id,
                      int maxInactiveInterval)
               throws java.lang.Exception

loadState

public State loadState(java.lang.String id)
                throws java.lang.Exception

storeState

public void storeState(State state)
                throws java.lang.Exception

removeState

public void removeState(State state)
                 throws java.lang.Exception

scavenge

public void scavenge()
              throws java.lang.Exception

passivateSession

public void passivateSession(StateAdaptor sa)

clone

public java.lang.Object clone()