Package org.apache.camel
Interface ResumeCache<K,V>
-
- Type Parameters:
K
- the type of the keyV
- the type of the offset value
public interface ResumeCache<K,V>
This cache stored the resumed data from aResumeStrategy
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(K key, V offsetValue)
Adds a value to the cacheOptional<V>
get(K key)
Gets the offset value for the keyboolean
isFull()
Checks whether the cache is full
-