Class InMemStorageExtension
- java.lang.Object
-
- org.apache.pekko.persistence.testkit.internal.InMemStorageExtension
-
-
Constructor Summary
Constructors Constructor Description InMemStorageExtension(ExtendedActorSystem system)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(ActorSystem system)
static T
apply(ClassicActorSystemProvider system)
static InMemStorageExtension
createExtension(ExtendedActorSystem system)
ProcessingPolicy<JournalOperation>
currentPolicy()
EventStorage
defaultStorage()
static boolean
equals(java.lang.Object other)
static InMemStorageExtension
get(ActorSystem system)
static int
hashCode()
static InMemStorageExtension$
lookup()
void
resetPolicy()
void
setPolicy(ProcessingPolicy<JournalOperation> policy)
EventStorage
storageFor(java.lang.String key)
-
-
-
Constructor Detail
-
InMemStorageExtension
public InMemStorageExtension(ExtendedActorSystem system)
-
-
Method Detail
-
get
public static InMemStorageExtension get(ActorSystem system)
-
createExtension
public static InMemStorageExtension createExtension(ExtendedActorSystem system)
-
lookup
public static InMemStorageExtension$ lookup()
-
apply
public static T apply(ActorSystem system)
-
apply
public static T apply(ClassicActorSystemProvider system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
defaultStorage
public EventStorage defaultStorage()
-
currentPolicy
public ProcessingPolicy<JournalOperation> currentPolicy()
-
setPolicy
public void setPolicy(ProcessingPolicy<JournalOperation> policy)
-
resetPolicy
public void resetPolicy()
-
storageFor
public EventStorage storageFor(java.lang.String key)
-
-