-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
private int |
maxCacheSize |
-
Method Summary
-
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
-
-
Field Detail
-
maxCacheSize
private int maxCacheSize
-
Constructor Detail
-
KerberosUtil.SoftCache.LRUHashMap
KerberosUtil.SoftCache.LRUHashMap(int maxCacheSize,
int initialCapacity)
Construct an instance of the hash map.
- Parameters:
maxCacheSize
- maximum number of entries allowed
in this mapinitialCapacity
- initial capacity of the map
- Throws:
IllegalArgumentException
- if maxCacheSize is
negative
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.