Class JDBCObjectStoreActor

  • All Implemented Interfaces:
    io.vlingo.actors.Startable, io.vlingo.actors.Stoppable, io.vlingo.actors.testkit.TestStateView, io.vlingo.common.Scheduled<java.lang.Object>, io.vlingo.symbio.store.object.ObjectStore, io.vlingo.symbio.store.object.ObjectStoreReader, io.vlingo.symbio.store.object.ObjectStoreWriter

    public class JDBCObjectStoreActor
    extends io.vlingo.actors.Actor
    implements io.vlingo.symbio.store.object.ObjectStore, io.vlingo.common.Scheduled<java.lang.Object>
    The actor implementing the ObjectStore protocol in behalf of any number of JDBCObjectStoreDelegate types.
    • 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()  
      void intervalSignal​(io.vlingo.common.Scheduled<java.lang.Object> scheduled, java.lang.Object data)  
      <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 stop()  
      • Methods inherited from class io.vlingo.actors.Actor

        address, afterRestart, afterStop, beforeRestart, beforeResume, beforeStart, childActorFor, childActorFor, completes, completesEventually, conclude, deadLetters, definition, disperseStowedMessages, equals, hashCode, isStopped, logger, parentAs, scheduler, secure, selfAs, stage, stageNamed, start, stowMessages, toString, viewTestState, viewTestStateInitialization
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, 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
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface io.vlingo.symbio.store.object.ObjectStore
      • 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)
        Specified by:
        persist in interface io.vlingo.symbio.store.object.ObjectStoreWriter
      • 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)
        Specified by:
        persistAll in interface io.vlingo.symbio.store.object.ObjectStoreWriter
      • queryAll

        public void queryAll​(io.vlingo.symbio.store.object.QueryExpression expression,
                             io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest,
                             java.lang.Object object)
        Specified by:
        queryAll in interface io.vlingo.symbio.store.object.ObjectStoreReader
      • queryObject

        public void queryObject​(io.vlingo.symbio.store.object.QueryExpression expression,
                                io.vlingo.symbio.store.object.ObjectStoreReader.QueryResultInterest interest,
                                java.lang.Object object)
        Specified by:
        queryObject in interface io.vlingo.symbio.store.object.ObjectStoreReader
      • registerMapper

        public void registerMapper​(io.vlingo.symbio.store.object.PersistentObjectMapper mapper)
        Specified by:
        registerMapper in interface io.vlingo.symbio.store.object.ObjectStore
      • intervalSignal

        public void intervalSignal​(io.vlingo.common.Scheduled<java.lang.Object> scheduled,
                                   java.lang.Object data)
        Specified by:
        intervalSignal in interface io.vlingo.common.Scheduled<java.lang.Object>
      • stop

        public void stop()
        Specified by:
        stop in interface io.vlingo.actors.Stoppable
        Overrides:
        stop in class io.vlingo.actors.Actor