Class MemoryCache<K,T>
java.lang.Object
io.mosip.kernel.auth.defaultimpl.util.MemoryCache<K,T>
- Type Parameters:
K- type of keyT- type of value
Local cache to store admin token
- Since:
- 1.0.0
- Author:
- Urvil Joshi
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MemoryCache
public MemoryCache(int maxItems)
-
-
Method Details
-
put
-
get
-
remove
-
size
public int size()
-