|Constructor and Description|
|Modifier and Type||Method and Description|
Determine whether the given session needs to refresh before the next session operation is performed.
public RefreshStrategy.Timed(long interval)
interval- Interval in seconds after which a session should refresh if there was no activity.
public boolean needsRefresh(long secondsSinceLastAccess)
This implementation returns
true if and only if any of the
individual refresh strategies passed to the constructor returns
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.