@Service(name="CNonceCache") @PerLookup public final class CNonceCacheImpl extends LinkedHashMap<String,org.glassfish.security.common.NonceInfo> implements org.glassfish.security.common.CNonceCache
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CNonceCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
long |
getCnonceCacheSize() |
String |
getEldestCNonce() |
long |
getNonceValidity() |
void |
init(long size,
String name,
long validity,
Map<String,String> props) |
protected boolean |
removeEldestEntry(Map.Entry<String,org.glassfish.security.common.NonceInfo> eldest) |
void |
setCnonceCacheSize(long cnonceCacheSize) |
void |
setNonceValidity(long nonceValidity) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesprotected boolean removeEldestEntry(Map.Entry<String,org.glassfish.security.common.NonceInfo> eldest)
removeEldestEntry in class LinkedHashMap<String,org.glassfish.security.common.NonceInfo>public long getCnonceCacheSize()
getCnonceCacheSize in interface org.glassfish.security.common.CNonceCachepublic long getNonceValidity()
getNonceValidity in interface org.glassfish.security.common.CNonceCachepublic String getEldestCNonce()
public void init(long size,
String name,
long validity,
Map<String,String> props)
init in interface org.glassfish.security.common.CNonceCachepublic void setCnonceCacheSize(long cnonceCacheSize)
setCnonceCacheSize in interface org.glassfish.security.common.CNonceCachepublic void setNonceValidity(long nonceValidity)
setNonceValidity in interface org.glassfish.security.common.CNonceCachepublic void destroy()
destroy in interface org.glassfish.security.common.CNonceCacheCopyright © 2017–2019 Eclipse Foundation. All rights reserved.