Detailed Description
Default implementation of FlowCache using the DataKeyedCacheBase.
- See also
- Specification
Inheritance diagram for fiftyone.pipeline.engines.caching.FlowCacheDefault:
Collaboration diagram for fiftyone.pipeline.engines.caching.FlowCacheDefault:
Public Member Functions | |
| FlowCacheDefault (CacheConfiguration configuration) | |
| FlowElement | getFlowElement () |
Get the FlowElement that this cache is associated with. | |
| void | setFlowElement (FlowElement flowElement) |
Set the FlowElement that this cache is associated with. | |
Public Member Functions inherited from fiftyone.pipeline.engines.caching.DataKeyedCacheBase< ElementData > | |
| DataKeyedCacheBase (CacheConfiguration configuration) | |
| Construct a new instance. | |
| V | get (FlowData flowData) |
| void | put (FlowData flowData, V value) |
| void | close () throws IOException |
Protected Member Functions | |
| EvidenceKeyFilter | getFilter () |
Protected Member Functions inherited from fiftyone.pipeline.engines.caching.DataKeyedCacheBase< ElementData > | |
| abstract EvidenceKeyFilter | getFilter () |
Returns the EvidenceKeyFilter to use when generating a key from FlowData instances. | |
| DataKey | generateKey (FlowData flowData) |
Creates the key the internal cache holds the data of a FlowData under. | |
Member Function Documentation
◆ getFlowElement()
| FlowElement fiftyone.pipeline.engines.caching.FlowCacheDefault.getFlowElement | ( | ) |
Get the FlowElement that this cache is associated with.
- Returns
- this cache's
FlowElement
Implements fiftyone.pipeline.engines.caching.FlowCache.
◆ setFlowElement()
| void fiftyone.pipeline.engines.caching.FlowCacheDefault.setFlowElement | ( | FlowElement | flowElement | ) |
Set the FlowElement that this cache is associated with.
- Parameters
-
flowElement this cache's FlowElement
Implements fiftyone.pipeline.engines.caching.FlowCache.
