public class SharedLeveldbStore extends java.lang.Object implements LeveldbStore
SharedLeveldbJournal.setStore. The
shared LevelDB store is for testing only.Actor.emptyBehavior$, Actor.ignoringBehavior$| Constructor and Description |
|---|
SharedLeveldbStore() |
SharedLeveldbStore(com.typesafe.config.Config cfg) |
| Modifier and Type | Method and Description |
|---|---|
com.typesafe.config.Config |
config() |
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
org.iq80.leveldb.DB |
leveldb() |
java.io.File |
leveldbDir() |
org.iq80.leveldb.Options |
leveldbOptions() |
org.iq80.leveldb.WriteOptions |
leveldbWriteOptions() |
boolean |
nativeLeveldb() |
Persistence |
persistence() |
com.typesafe.config.Config |
prepareConfig() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
Serialization |
serialization() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllPersistenceIdsSubscriber, addPersistenceIdSubscriber, addTagSubscriber, addToMessageBatch, asyncDeleteMessagesTo, asyncWriteMessages, hasAllPersistenceIdsSubscribers, hasPersistenceIdSubscribers, hasTagSubscribers, leveldbFactory, leveldbReadOptions, leveldbSnapshot, newPersistenceIdAdded, nextTagSequenceNr, notifyPersistenceIdChange, notifyTagChange, persistentFromBytes, persistentToBytes, postStop, preStart, removeSubscriber, tagAsPersistenceId, tagNumericId, withBatch, withIteratoradaptFromJournal, adaptToJournal, preparePersistentBatchallPersistenceIds, isNewPersistenceId, numericId, readIdMap, readIdMap, writeIdMappingaroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, sender, supervisorStrategy, unhandledasyncReadHighestSequenceNr, asyncReplayMessages, asyncReplayTaggedMessages, readHighestSequenceNr, replayMessages, replayTaggedMessagespublic SharedLeveldbStore(com.typesafe.config.Config cfg)
public SharedLeveldbStore()
public com.typesafe.config.Config config()
config in interface LeveldbStorepublic boolean nativeLeveldb()
nativeLeveldb in interface LeveldbStorepublic org.iq80.leveldb.Options leveldbOptions()
leveldbOptions in interface LeveldbStorepublic org.iq80.leveldb.WriteOptions leveldbWriteOptions()
leveldbWriteOptions in interface LeveldbStorepublic java.io.File leveldbDir()
leveldbDir in interface LeveldbStorepublic org.iq80.leveldb.DB leveldb()
leveldb in interface LeveldbStorepublic Serialization serialization()
serialization in interface LeveldbStorepublic Persistence persistence()
persistence in interface WriteJournalBasepublic ActorContext context()
Actorforward.
WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
ActorContext is the Scala API. getContext returns a
UntypedActorContext, which is the Java API of the actor
context.
public final ActorRef self()
Actorself ! message
public com.typesafe.config.Config prepareConfig()
prepareConfig in interface LeveldbStore