org.mortbay.j2ee.session
Interface Store
- All Superinterfaces:
- Cloneable
- All Known Implementing Classes:
- AbstractReplicatedStore, AbstractStore, LocalStore
public interface Store
- extends Cloneable
getManager
Manager getManager()
setManager
void setManager(Manager manager)
start
void start()
throws Exception
- Throws:
Exception
stop
void stop()
destroy
void destroy()
setScavengerPeriod
void setScavengerPeriod(int secs)
setScavengerExtraTime
void setScavengerExtraTime(int secs)
setActualMaxInactiveInterval
void setActualMaxInactiveInterval(int secs)
getActualMaxInactiveInterval
int getActualMaxInactiveInterval()
isDistributed
boolean isDistributed()
allocateId
String allocateId(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
deallocateId
void deallocateId(String id)
throws Exception
- Throws:
Exception
newState
State newState(String id,
int maxInactiveInterval)
throws Exception
- Throws:
Exception
loadState
State loadState(String id)
throws Exception
- Throws:
Exception
storeState
void storeState(State state)
throws Exception
- Throws:
Exception
removeState
void removeState(State state)
throws Exception
- Throws:
Exception
scavenge
void scavenge()
throws Exception
- Throws:
Exception
passivateSession
void passivateSession(StateAdaptor sa)
clone
Object clone()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.