Key
- Key to the cacheValue
- Value stored by Cachepublic interface GraphEngineCache<Key extends ComputeKey<Value>,Value extends ComputeResult>
GraphTransformationEngine
uses to store results that
have finished computing so that the results can be reused.
The cache should be thread safe
Modifier and Type | Method and Description |
---|---|
Optional<Value> |
get(Key key)
Optionally returns the cached result given the key
|
void |
put(Key key,
Value value)
Offers the given key and value for caching
|