public interface ISessionStore<T> extends IShared
Modifier and Type | Method and Description |
---|---|
boolean |
expire(T item)
Expires the time of a session item.
|
int |
getExpirationMillis()
Returns the duration of a session in milliseconds.
|
int |
getPollingIntervalMillis()
The polling interval in milliseconds.
|
boolean |
refresh(T item)
Renews the session expiration time for an item.
|
int getExpirationMillis()
int getPollingIntervalMillis()
boolean refresh(T item)
java.lang.NullPointerException
- When the item is null.boolean expire(T item)
java.lang.NullPointerException
- When the item is null.