Class SharedLeveldbStore
java.lang.Object
org.apache.pekko.persistence.journal.leveldb.SharedLeveldbStore
- All Implemented Interfaces:
Actor,ActorLogging,AsyncRecovery,CompactionSegmentManagement,LeveldbCompaction,LeveldbIdMapping,LeveldbRecovery,LeveldbStore,WriteJournalBase
Deprecated.
Use another journal implementation or the in-mem journal in combination with the journal-proxy. Since Akka 2.6.15.
A LevelDB store that can be shared by multiple actor systems. The shared store must be
set for each actor system that uses the store via
SharedLeveldbJournal.setStore. The
shared LevelDB store is for testing only.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$Nested classes/interfaces inherited from interface org.apache.pekko.persistence.journal.leveldb.LeveldbCompaction
LeveldbCompaction.TryCompactLeveldb, LeveldbCompaction.TryCompactLeveldb$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.com.typesafe.config.Configconfig()Deprecated.context()Deprecated.Scala API: Stores the context for this actor, including self, and sender.org.iq80.leveldb.DBleveldb()Deprecated.voidleveldb_$eq(org.iq80.leveldb.DB x$1) Deprecated.Deprecated.org.iq80.leveldb.OptionsDeprecated.org.iq80.leveldb.WriteOptionsDeprecated.booleanDeprecated.protected voidDeprecated.Scala API: Stores the context for this actor, including self, and sender.protected final voidDeprecated.The 'self' field holds the ActorRef for this actor.protected voidorg$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$compactionIntervals_$eq(scala.collection.immutable.Map<String, Object> x$1) Deprecated.protected voidorg$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$config_$eq(com.typesafe.config.Config x$1) Deprecated.protected voidDeprecated.protected voidorg$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbOptions_$eq(org.iq80.leveldb.Options x$1) Deprecated.protected voidorg$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbWriteOptions_$eq(org.iq80.leveldb.WriteOptions x$1) Deprecated.protected voidDeprecated.protected voidorg$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$serialization_$eq(Serialization x$1) Deprecated.protected voidDeprecated.Deprecated.com.typesafe.config.ConfigDeprecated.scala.PartialFunction<Object,scala.runtime.BoxedUnit> receive()Deprecated.Scala API: This defines the initial actor behavior, it must return a partial function with the actor logic.final ActorRefself()Deprecated.The 'self' field holds the ActorRef for this actor.Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, sender, supervisorStrategy, unhandledMethods inherited from interface org.apache.pekko.actor.ActorLogging
_log_$eq, logMethods inherited from interface org.apache.pekko.persistence.journal.leveldb.CompactionSegmentManagement
compactionInterval, compactionLimit, compactionSegment, isCompactionEnabled, isCompactionRequired, latestCompactionSegment, latestCompactionSegments_$eq, mustCompact, updateCompactionSegmentMethods inherited from interface org.apache.pekko.persistence.journal.leveldb.LeveldbCompaction
receiveCompactionInternal, tryCompactOnDeleteMethods inherited from interface org.apache.pekko.persistence.journal.leveldb.LeveldbIdMapping
allPersistenceIds, idMap_$eq, isNewPersistenceId, numericId, readIdMap, readIdMap, writeIdMappingMethods inherited from interface org.apache.pekko.persistence.journal.leveldb.LeveldbRecovery
asyncReadHighestSequenceNr, asyncReplayMessages, asyncReplayTaggedMessages, readHighestSequenceNr, replayMessages, replayTaggedMessagesMethods inherited from interface org.apache.pekko.persistence.journal.leveldb.LeveldbStore
addAllPersistenceIdsSubscriber, addPersistenceIdSubscriber, addTagSubscriber, addToMessageBatch, allPersistenceIdsSubscribers_$eq, asyncDeleteMessagesTo, asyncWriteMessages, hasAllPersistenceIdsSubscribers, hasPersistenceIdSubscribers, hasTagSubscribers, leveldbFactory, leveldbReadOptions, leveldbSnapshot, newPersistenceIdAdded, nextTagSequenceNr, notifyPersistenceIdChange, notifyTagChange, persistentFromBytes, persistentToBytes, postStop, preStart, removeSubscriber, super$postStop, super$preStart, tagAsPersistenceId, tagNumericId, tagSequenceNr_$eq, withBatch, withIteratorMethods inherited from interface org.apache.pekko.persistence.journal.WriteJournalBase
adaptFromJournal, adaptToJournal, preparePersistentBatch
-
Constructor Details
-
SharedLeveldbStore
public SharedLeveldbStore(com.typesafe.config.Config cfg) Deprecated. -
SharedLeveldbStore
public SharedLeveldbStore()Deprecated.
-
-
Method Details
-
compactionIntervals
Deprecated.- Specified by:
compactionIntervalsin interfaceCompactionSegmentManagement- Specified by:
compactionIntervalsin interfaceLeveldbStore
-
config
public com.typesafe.config.Config config()Deprecated.- Specified by:
configin interfaceLeveldbStore
-
context
Deprecated.Description copied from interface:ActorScala API: Stores the context for this actor, including self, and sender. It is implicit to support operations such asforward.WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
pekko.actor.ActorContextis the Scala API.getContextreturns apekko.actor.AbstractActor.ActorContext, which is the Java API of the actor context. -
leveldb
public org.iq80.leveldb.DB leveldb()Deprecated.- Specified by:
leveldbin interfaceLeveldbStore
-
leveldbDir
Deprecated.- Specified by:
leveldbDirin interfaceLeveldbStore
-
leveldbOptions
public org.iq80.leveldb.Options leveldbOptions()Deprecated.- Specified by:
leveldbOptionsin interfaceLeveldbStore
-
leveldbWriteOptions
public org.iq80.leveldb.WriteOptions leveldbWriteOptions()Deprecated.- Specified by:
leveldbWriteOptionsin interfaceLeveldbStore
-
leveldb_$eq
public void leveldb_$eq(org.iq80.leveldb.DB x$1) Deprecated.- Specified by:
leveldb_$eqin interfaceLeveldbStore
-
nativeLeveldb
public boolean nativeLeveldb()Deprecated.- Specified by:
nativeLeveldbin interfaceLeveldbStore
-
org$apache$pekko$actor$Actor$_setter_$context_$eq
Deprecated.Description copied from interface:ActorScala API: Stores the context for this actor, including self, and sender. It is implicit to support operations such asforward.WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
pekko.actor.ActorContextis the Scala API.getContextreturns apekko.actor.AbstractActor.ActorContext, which is the Java API of the actor context.- Specified by:
org$apache$pekko$actor$Actor$_setter_$context_$eqin interfaceActor
-
org$apache$pekko$actor$Actor$_setter_$self_$eq
Deprecated.Description copied from interface:ActorThe 'self' field holds the ActorRef for this actor. Can be used to send messages to itself:self ! message
- Specified by:
org$apache$pekko$actor$Actor$_setter_$self_$eqin interfaceActor
-
org$apache$pekko$persistence$journal$WriteJournalBase$_setter_$persistence_$eq
protected void org$apache$pekko$persistence$journal$WriteJournalBase$_setter_$persistence_$eq(Persistence x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$WriteJournalBase$_setter_$persistence_$eqin interfaceWriteJournalBase
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$compactionIntervals_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$compactionIntervals_$eq(scala.collection.immutable.Map<String, Object> x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$compactionIntervals_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$config_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$config_$eq(com.typesafe.config.Config x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$config_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbDir_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbDir_$eq(File x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbDir_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbOptions_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbOptions_$eq(org.iq80.leveldb.Options x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbOptions_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbWriteOptions_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbWriteOptions_$eq(org.iq80.leveldb.WriteOptions x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$leveldbWriteOptions_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$nativeLeveldb_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$nativeLeveldb_$eq(boolean x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$nativeLeveldb_$eqin interfaceLeveldbStore
-
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$serialization_$eq
protected void org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$serialization_$eq(Serialization x$1) Deprecated.- Specified by:
org$apache$pekko$persistence$journal$leveldb$LeveldbStore$_setter_$serialization_$eqin interfaceLeveldbStore
-
persistence
Deprecated.- Specified by:
persistencein interfaceWriteJournalBase
-
prepareConfig
public com.typesafe.config.Config prepareConfig()Deprecated.- Specified by:
prepareConfigin interfaceLeveldbStore
-
receive
Deprecated.Description copied from interface:ActorScala API: This defines the initial actor behavior, it must return a partial function with the actor logic. -
self
Deprecated.Description copied from interface:ActorThe 'self' field holds the ActorRef for this actor. Can be used to send messages to itself:self ! message
-
serialization
Deprecated.- Specified by:
serializationin interfaceLeveldbStore
-