Package dev.enola.data
Interface Store<T>
- Type Parameters:
T- the type of objects to store
- All Known Subinterfaces:
RepositoryRW<T>,ThingRepositoryStore
- All Known Implementing Classes:
AlwaysThingRepositoryStore,DatatypeRepositoryBuilder,MemoryRepositoryRW,NamespaceRepositoryBuilder,RepositoryBuilder,ThingMemoryRepositoryROBuilder,ThingMemoryRepositoryRW
public interface Store<T>
Stores "store" (AKA "save" or you can "put") Ts in(to) them.
Stores which are also Provider typically internally actually are, or delegate to, a
StoreKV, but their external API is store(T value) instead of StoreKV.store(Object, Object) simply because they internally extract a key from T.
-
Method Summary
-
Method Details
-
store
Store a T.If this store already has this T, then it's replaced (entirely, not "merged").
-
storeAll
Store multiple Ts; seestore(Object).
-