public class SlidingWindowRenewStrategy extends AbstractRenewStrategy
Modifier and Type | Field and Description |
---|---|
static String |
SLIDING_WINDOW_DIVIDER
Default value: 2
|
static String |
SLIDING_WINDOW_SKIP_THRESHOLD
Default value: 100
|
DEFAULT_VALIDITY_TOKEN, PROP_AUTO_RENEW, PROP_VALIDITY_TOKEN
Constructor and Description |
---|
SlidingWindowRenewStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
flushCache()
Method to flush the cache after invoking this method.
|
void |
renew(SessionItem session) |
getCacheServices, register
public static final String SLIDING_WINDOW_SKIP_THRESHOLD
public static final String SLIDING_WINDOW_DIVIDER
public void renew(SessionItem session) throws SessionManagementException
SessionManagementException
public void flushCache()
SessionServiceWithCache
flushCache
in interface SessionServiceWithCache
flushCache
in class AbstractRenewStrategy
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.