Class PostgresStateStoreEntryReaderActor<T extends io.vlingo.symbio.Entry<?>>

  • All Implemented Interfaces:
    io.vlingo.actors.Startable, io.vlingo.actors.Stoppable, io.vlingo.actors.testkit.TestStateView, io.vlingo.symbio.store.EntryReader<T>, io.vlingo.symbio.store.state.StateStoreEntryReader<T>

    public class PostgresStateStoreEntryReaderActor<T extends io.vlingo.symbio.Entry<?>>
    extends io.vlingo.actors.Actor
    implements io.vlingo.symbio.store.state.StateStoreEntryReader<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.vlingo.symbio.store.EntryReader

        io.vlingo.symbio.store.EntryReader.Advice
    • Field Summary

      • Fields inherited from interface io.vlingo.symbio.store.EntryReader

        Beginning, End, Query
    • Constructor Summary

      Constructors 
      Constructor Description
      PostgresStateStoreEntryReaderActor​(io.vlingo.symbio.store.EntryReader.Advice advice, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      io.vlingo.common.Completes<java.lang.String> name()  
      io.vlingo.common.Completes<T> readNext()  
      io.vlingo.common.Completes<java.util.List<T>> readNext​(int maximumEntries)  
      void rewind()  
      io.vlingo.common.Completes<java.lang.String> seekTo​(java.lang.String id)  
      • 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, stop, stowMessages, toString, viewTestState, viewTestStateInitialization
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PostgresStateStoreEntryReaderActor

        public PostgresStateStoreEntryReaderActor​(io.vlingo.symbio.store.EntryReader.Advice advice,
                                                  java.lang.String name)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
      • name

        public io.vlingo.common.Completes<java.lang.String> name()
        Specified by:
        name in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
      • readNext

        public io.vlingo.common.Completes<T> readNext()
        Specified by:
        readNext in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
      • readNext

        public io.vlingo.common.Completes<java.util.List<T>> readNext​(int maximumEntries)
        Specified by:
        readNext in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
      • rewind

        public void rewind()
        Specified by:
        rewind in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
      • seekTo

        public io.vlingo.common.Completes<java.lang.String> seekTo​(java.lang.String id)
        Specified by:
        seekTo in interface io.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>