com.dynamide.util
Interface ISessionItem
- All Known Subinterfaces:
- ISessionTableItem
- All Known Implementing Classes:
- Session
public interface ISessionItem
TIMEOUT_CHECK_INTERVAL
static final long TIMEOUT_CHECK_INTERVAL
- Check the sessions table for timeouts.
- See Also:
- Constant Field Values
timeout
boolean timeout(long now)
- Returns:
- true if OK to timeout and remove from sessions table. If true,
implementing object should perform its cleanup. It does not need to
remove itself from the SessionDatabase's session table.
shutdown
void shutdown()
- The shutdown method is called in a new thread, and you will be out of the session
table by the time this gets called.
isCritical
boolean isCritical()
getSessionID
java.lang.String getSessionID()
getParentSessionID
java.lang.String getParentSessionID()
hasChildSession
boolean hasChildSession(java.lang.String childSessionID)
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.