public interface ServerCacheSupport
extends java.io.Serializable
Cache expiration policy interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<ServerCacheSupport> |
cacheSupport
The cache expiration policy that holds the request for the current thread.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCacheExpired()
Determine whether the cache expires.
|
void |
notifyCacheRemoved()
The event to notify the cache has been removed.
|
static final java.lang.ThreadLocal<ServerCacheSupport> cacheSupport
The cache expiration policy that holds the request for the current thread. The policy is set at the service level and is called in the server.