Package be.panako.strategy.olaf.storage
Interface OlafStorage
- All Known Implementing Classes:
OlafStorageFile
,OlafStorageKV
,OlafStorageMemory
public interface OlafStorage
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToQueryQueue
(long queryHash) void
addToStoreQueue
(long fingerprintHash, int resourceIdentifier, int t1) getMetadata
(long identifier) void
processQueryQueue
(Map<Long, List<OlafHit>> matchAccumulator, int range) void
processQueryQueue
(Map<Long, List<OlafHit>> matchAccumulator, int range, Set<Integer> resourcesToAvoid) void
void
storeMetadata
(long resourceID, String resourcePath, float duration, int fingerprints)
-
Method Details
-
storeMetadata
-
addToStoreQueue
void addToStoreQueue(long fingerprintHash, int resourceIdentifier, int t1) -
processStoreQueue
void processStoreQueue() -
getMetadata
-
addToQueryQueue
void addToQueryQueue(long queryHash) -
processQueryQueue
-
processQueryQueue
-