@Service(name="HA-CNonceCache") @PerLookup public class HACNonceCacheImpl extends Object implements CNonceCache
| Constructor and Description |
|---|
HACNonceCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
void |
destroy()
destroy
|
Set<Map.Entry<String,NonceInfo>> |
entrySet() |
NonceInfo |
get(Object o) |
long |
getCnonceCacheSize() |
long |
getNonceValidity() |
void |
init(long size,
String name,
long validity,
Map<String,String> props)
Initialize the cache
|
boolean |
isEmpty() |
Set<String> |
keySet() |
void |
postConstruct() |
NonceInfo |
put(String k,
NonceInfo v) |
void |
putAll(Map<? extends String,? extends NonceInfo> map) |
NonceInfo |
remove(Object o) |
protected boolean |
removeEldestEntry(Map.Entry<String,NonceInfo> eldest) |
void |
setCnonceCacheSize(long cnonceCacheSize) |
void |
setNonceValidity(long nonceValidity) |
int |
size() |
Collection<NonceInfo> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void setCnonceCacheSize(long cnonceCacheSize)
setCnonceCacheSize in interface CNonceCachecnonceCacheSize - the cnonceCacheSize to setpublic void setNonceValidity(long nonceValidity)
setNonceValidity in interface CNonceCachenonceValidity - the nonceValidity to setpublic long getCnonceCacheSize()
getCnonceCacheSize in interface CNonceCachepublic long getNonceValidity()
getNonceValidity in interface CNonceCachepublic boolean containsKey(Object o)
containsKey in interface Map<String,NonceInfo>public boolean containsValue(Object o)
containsValue in interface Map<String,NonceInfo>public Collection<NonceInfo> values()
public void postConstruct()
public void init(long size,
String name,
long validity,
Map<String,String> props)
CNonceCacheinit in interface CNonceCachepublic void destroy()
CNonceCachedestroy in interface CNonceCacheCopyright © 2017. All rights reserved.