com.dynamide.util
Interface ISessionItem

All Known Subinterfaces:
ISessionTableItem
All Known Implementing Classes:
Session

public interface ISessionItem


Field Summary
static long TIMEOUT_CHECK_INTERVAL
          Check the sessions table for timeouts.
 
Method Summary
 java.lang.String getParentSessionID()
           
 java.lang.String getSessionID()
           
 boolean hasChildSession(java.lang.String childSessionID)
           
 boolean isCritical()
           
 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.
 boolean timeout(long now)
           
 

Field Detail

TIMEOUT_CHECK_INTERVAL

static final long TIMEOUT_CHECK_INTERVAL
Check the sessions table for timeouts.

See Also:
Constant Field Values
Method Detail

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.