Package com.jayway.jsonpath.spi.cache
Class LRUCache
java.lang.Object
com.jayway.jsonpath.spi.cache.LRUCache
- All Implemented Interfaces:
Cache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Get the Cached JsonPathvoid
Add JsonPath to the cachevoid
private void
private String
private void
removeThenAddKey
(String key) int
size()
toString()
-
Field Details
-
lock
-
map
-
queue
-
limit
private final int limit
-
-
Constructor Details
-
LRUCache
public LRUCache(int limit)
-
-
Method Details