Class LogMinerStreamingChangeEventSourceMetrics.LRUSet<T>
java.lang.Object
io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics.LRUSet<T>
- Type Parameters:
T- the argument type to be stored
- Enclosing class:
- LogMinerStreamingChangeEventSourceMetrics
Utility class for maintaining a least-recently-used list of values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicReference<LRUCacheMap<T,T>> private final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cache
-
capacity
private final int capacity
-
-
Constructor Details
-
LRUSet
LRUSet(int capacity)
-
-
Method Details
-
reset
public void reset() -
add
-
getAll
-