Class 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
    The JDBCObjectStoreDelegate 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
      • Nested classes/interfaces inherited from interface io.vlingo.symbio.store.object.ObjectStoreWriter

        io.vlingo.symbio.store.object.ObjectStoreWriter.PersistResultInterest
    • Field Summary

      • Fields inherited from interface io.vlingo.symbio.store.object.ObjectStoreReader

        NoId
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      <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)  
      <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)  
      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
      • Methods inherited from interface io.vlingo.symbio.store.object.ObjectStoreReader

        queryAll, queryObject
      • Methods inherited from interface io.vlingo.symbio.store.object.ObjectStoreWriter

        persist, persist, persist, persist, persist, persist, persist, persistAll, persistAll, persistAll, persistAll, persistAll, persistAll, persistAll
    • Constructor Detail

      • JdbiObjectStoreDelegate

        public JdbiObjectStoreDelegate​(io.vlingo.actors.Stage stage,
                                       Configuration configuration)
        Constructs my default state.
        Parameters:
        stage - the Stage I use
        configuration - 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)