java.lang.Object
convex.core.store.AStore
convex.core.store.ACachedStore
convex.net.store.RemoteStore
- All Implemented Interfaces:
Closeable
,AutoCloseable
A Store implementation working over a Convex binary connection
-
Field Summary
FieldsFields inherited from class convex.core.store.ACachedStore
encoder, refCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckCache
(Hash h) void
close()
refForHash
(Hash hash) setRootData
(T data) storeTopRef
(Ref<T> ref, int status, Consumer<Ref<ACell>> noveltyHandler) Methods inherited from class convex.core.store.ACachedStore
decode, getEncoder
Methods inherited from class convex.core.store.AStore
getRootData, getRootRef
-
Field Details
-
convex
-
-
Constructor Details
-
RemoteStore
-
-
Method Details
-
create
-
storeRef
-
storeTopRef
public <T extends ACell> Ref<T> storeTopRef(Ref<T> ref, int status, Consumer<Ref<ACell>> noveltyHandler) - Specified by:
storeTopRef
in classAStore
-
refForHash
- Specified by:
refForHash
in classAStore
-
getRootHash
- Specified by:
getRootHash
in classAStore
- Throws:
IOException
-
setRootData
- Specified by:
setRootData
in classAStore
- Throws:
IOException
-
close
public void close() -
checkCache
- Overrides:
checkCache
in classACachedStore
-
shortName
-