Package convex.core.store
Class BlobCache
java.lang.Object
convex.core.store.BlobCache
In-memory cache for Blob decoding. Should be used in the context of a specific Store
-
Method Summary
-
Method Details
-
create
-
getCell
Gets the Cached Ref for a given hash, or null if not cached.- Parameters:
hash
- Hash of Cell to look up in cache- Returns:
- Cached Ref, or null if not found
-
putCell
Stores a Ref in the cache- Parameters:
cell
- Cell with Ref to store
-
putCell
Stores a Ref in the cache- Parameters:
ref
- Ref to store
-