public class EHCacheXKMSClientCache extends Object implements XKMSClientCache, org.apache.cxf.buslifecycle.BusLifeCycleListener
| Constructor and Description |
|---|
EHCacheXKMSClientCache() |
EHCacheXKMSClientCache(org.apache.cxf.Bus cxfBus) |
EHCacheXKMSClientCache(org.apache.cxf.Bus cxfBus,
Path diskstorePath,
long diskSize,
long heapEntries,
boolean persistent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
XKMSCacheToken |
get(String key)
Get an XKMSCacheToken from the cache matching the given key.
|
void |
initComplete() |
void |
postShutdown() |
void |
preShutdown() |
void |
put(String key,
XKMSCacheToken cacheToken)
Store an XKMSCacheToken in the Cache using the given key
|
public EHCacheXKMSClientCache()
throws XKMSClientCacheException
XKMSClientCacheExceptionpublic EHCacheXKMSClientCache(org.apache.cxf.Bus cxfBus)
throws XKMSClientCacheException
XKMSClientCacheExceptionpublic EHCacheXKMSClientCache(org.apache.cxf.Bus cxfBus,
Path diskstorePath,
long diskSize,
long heapEntries,
boolean persistent)
throws XKMSClientCacheException
XKMSClientCacheExceptionpublic void put(String key, XKMSCacheToken cacheToken)
put in interface XKMSClientCachepublic XKMSCacheToken get(String key)
get in interface XKMSClientCachepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface XKMSClientCachepublic void initComplete()
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void preShutdown()
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void postShutdown()
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerApache CXF