Class PostgresStateStoreEntryReaderActor<T extends io.vlingo.symbio.Entry<?>>
- java.lang.Object
-
- io.vlingo.actors.Actor
-
- io.vlingo.symbio.store.state.jdbc.postgres.PostgresStateStoreEntryReaderActor<T>
-
- 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>
-
-
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
-
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceio.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
-
name
public io.vlingo.common.Completes<java.lang.String> name()
- Specified by:
name
in interfaceio.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
-
readNext
public io.vlingo.common.Completes<T> readNext()
- Specified by:
readNext
in interfaceio.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 interfaceio.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
-
rewind
public void rewind()
- Specified by:
rewind
in interfaceio.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 interfaceio.vlingo.symbio.store.EntryReader<T extends io.vlingo.symbio.Entry<?>>
-
-