public class JIPipeLocalProjectMemoryCache extends Object implements JIPipeCache
JIPipeCache.ClearedEvent, JIPipeCache.ClearedEventEmitter, JIPipeCache.ClearedEventListener, JIPipeCache.ModifiedEvent, JIPipeCache.ModifiedEventEmitter, JIPipeCache.ModifiedEventListener, JIPipeCache.StoredEvent, JIPipeCache.StoredEventEmitter, JIPipeCache.StoredEventListener
Constructor and Description |
---|
JIPipeLocalProjectMemoryCache(JIPipeProject project) |
Modifier and Type | Method and Description |
---|---|
void |
clearAll(JIPipeProgressInfo progressInfo)
Clears the cache
|
void |
clearAll(UUID nodeUUID,
boolean invalidateChildren,
JIPipeProgressInfo progressInfo)
Clears the cache of the specified node
|
void |
clearOutdated(JIPipeProgressInfo progressInfo)
Removes all outdated entries
|
JIPipeCache.ClearedEventEmitter |
getClearedEventEmitter() |
JIPipeCache.ModifiedEventEmitter |
getModifiedEventEmitter() |
JIPipeCache.StoredEventEmitter |
getStoredEventEmitter() |
boolean |
isEmpty() |
boolean |
isIgnoreNodeFunctionalEquals() |
Map<String,JIPipeDataTable> |
query(JIPipeGraphNode graphNode,
UUID nodeUUID,
JIPipeProgressInfo progressInfo) |
void |
setIgnoreNodeFunctionalEquals(boolean ignoreNodeFunctionalEquals) |
int |
size() |
void |
softClear(UUID uuid,
JIPipeProgressInfo progressInfo)
Removes the cached data of a node without modifying the internal structure
Remove outdated will be able to remove these
|
void |
store(JIPipeGraphNode graphNode,
UUID nodeUUID,
JIPipeDataTable data,
String outputName,
JIPipeProgressInfo progressInfo) |
String |
toString() |
public JIPipeLocalProjectMemoryCache(JIPipeProject project)
public JIPipeCache.StoredEventEmitter getStoredEventEmitter()
getStoredEventEmitter
in interface JIPipeCache
public JIPipeCache.ClearedEventEmitter getClearedEventEmitter()
getClearedEventEmitter
in interface JIPipeCache
public JIPipeCache.ModifiedEventEmitter getModifiedEventEmitter()
getModifiedEventEmitter
in interface JIPipeCache
public void store(JIPipeGraphNode graphNode, UUID nodeUUID, JIPipeDataTable data, String outputName, JIPipeProgressInfo progressInfo)
store
in interface JIPipeCache
public boolean isIgnoreNodeFunctionalEquals()
public void setIgnoreNodeFunctionalEquals(boolean ignoreNodeFunctionalEquals)
public Map<String,JIPipeDataTable> query(JIPipeGraphNode graphNode, UUID nodeUUID, JIPipeProgressInfo progressInfo)
query
in interface JIPipeCache
public void clearOutdated(JIPipeProgressInfo progressInfo)
JIPipeCache
clearOutdated
in interface JIPipeCache
progressInfo
- the progresspublic void clearAll(JIPipeProgressInfo progressInfo)
JIPipeCache
clearAll
in interface JIPipeCache
progressInfo
- the progresspublic void clearAll(UUID nodeUUID, boolean invalidateChildren, JIPipeProgressInfo progressInfo)
JIPipeCache
clearAll
in interface JIPipeCache
nodeUUID
- the nodeinvalidateChildren
- whether all nodes utilizing that node's data will be invalidated (remove structure)progressInfo
- the progresspublic boolean isEmpty()
isEmpty
in interface JIPipeCache
public int size()
size
in interface JIPipeCache
public void softClear(UUID uuid, JIPipeProgressInfo progressInfo)
uuid
- the node UUIDprogressInfo
- the progressCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.