Class JdbiObjectStoreDelegate
- java.lang.Object
-
- io.vlingo.symbio.store.object.jdbc.JDBCObjectStoreDelegate
-
- io.vlingo.symbio.store.object.jdbc.jdbi.JdbiObjectStoreDelegate
-
- All Implemented Interfaces:
io.vlingo.symbio.store.object.ObjectStore
,io.vlingo.symbio.store.object.ObjectStoreReader
,io.vlingo.symbio.store.object.ObjectStoreWriter
public class JdbiObjectStoreDelegate extends JDBCObjectStoreDelegate
TheJDBCObjectStoreDelegate
for Jdbi.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.vlingo.symbio.store.object.ObjectStoreReader
io.vlingo.symbio.store.object.ObjectStoreReader.QueryMode, io.vlingo.symbio.store.object.ObjectStoreReader.QueryMultiResults, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResult, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest, io.vlingo.symbio.store.object.ObjectStoreReader.QuerySingleResult
-
-
Field Summary
-
Fields inherited from class io.vlingo.symbio.store.object.jdbc.JDBCObjectStoreDelegate
configuration
-
-
Constructor Summary
Constructors Constructor Description JdbiObjectStoreDelegate(io.vlingo.actors.Stage stage, Configuration configuration)
Constructs my default state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
<T extends io.vlingo.symbio.store.object.PersistentObject,E>
voidpersist(T persistentObject, java.util.List<io.vlingo.symbio.Source<E>> sources, long updateId, io.vlingo.symbio.store.object.ObjectStoreWriter.PersistResultInterest interest, java.lang.Object object)
<T extends io.vlingo.symbio.store.object.PersistentObject,E>
voidpersistAll(java.util.Collection<T> persistentObjects, java.util.List<io.vlingo.symbio.Source<E>> sources, long updateId, io.vlingo.symbio.store.object.ObjectStoreWriter.PersistResultInterest interest, java.lang.Object object)
void
queryAll(io.vlingo.symbio.store.object.QueryExpression expression, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest, java.lang.Object object)
void
queryObject(io.vlingo.symbio.store.object.QueryExpression expression, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest, java.lang.Object object)
void
registerMapper(io.vlingo.symbio.store.object.PersistentObjectMapper mapper)
void
timeoutCheck()
Check for timed out transactions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
JdbiObjectStoreDelegate
public JdbiObjectStoreDelegate(io.vlingo.actors.Stage stage, Configuration configuration)
Constructs my default state.- Parameters:
stage
- the Stage I useconfiguration
- the Configuration used to configure my concrete subclasses
-
-
Method Detail
-
close
public void close()
-
persist
public <T extends io.vlingo.symbio.store.object.PersistentObject,E> void persist(T persistentObject, java.util.List<io.vlingo.symbio.Source<E>> sources, long updateId, io.vlingo.symbio.store.object.ObjectStoreWriter.PersistResultInterest interest, java.lang.Object object)
-
persistAll
public <T extends io.vlingo.symbio.store.object.PersistentObject,E> void persistAll(java.util.Collection<T> persistentObjects, java.util.List<io.vlingo.symbio.Source<E>> sources, long updateId, io.vlingo.symbio.store.object.ObjectStoreWriter.PersistResultInterest interest, java.lang.Object object)
-
queryAll
public void queryAll(io.vlingo.symbio.store.object.QueryExpression expression, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest, java.lang.Object object)
-
queryObject
public void queryObject(io.vlingo.symbio.store.object.QueryExpression expression, io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest, java.lang.Object object)
-
registerMapper
public void registerMapper(io.vlingo.symbio.store.object.PersistentObjectMapper mapper)
-
timeoutCheck
public void timeoutCheck()
Description copied from class:JDBCObjectStoreDelegate
Check for timed out transactions.- Specified by:
timeoutCheck
in classJDBCObjectStoreDelegate
-
-