public class RemoveInternalClusterShardingData extends java.lang.Object implements Actor, ActorLogging
Modifier and Type | Class and Description |
---|---|
static class |
RemoveInternalClusterShardingData.RemoveOnePersistenceId
INTERNAL API: Remove all events and snapshots for one specific
persistenceId . |
static class |
RemoveInternalClusterShardingData.RemoveOnePersistenceId$
INTERNAL API
|
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
RemoveInternalClusterShardingData(java.lang.String journalPluginId,
scala.collection.immutable.Set<java.lang.String> typeNames,
scala.concurrent.Promise<scala.runtime.BoxedUnit> completion,
boolean remove2dot3Data) |
Modifier and Type | Method and Description |
---|---|
protected abstract static void |
akka$actor$Actor$_setter_$context_$eq(ActorContext x$1) |
protected abstract static void |
akka$actor$Actor$_setter_$self_$eq(ActorRef x$1) |
static void |
akka$actor$ActorLogging$$_log_$eq(LoggingAdapter x$1) |
static LoggingAdapter |
akka$actor$ActorLogging$$_log() |
protected static void |
aroundPostRestart(java.lang.Throwable reason) |
protected static void |
aroundPostStop() |
protected static void |
aroundPreRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
protected static void |
aroundPreStart() |
protected static void |
aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive,
java.lang.Object msg) |
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
java.lang.String |
currentPid() |
ActorRef |
currentRef() |
void |
done() |
void |
failure(java.lang.Throwable cause) |
static LoggingAdapter |
log() |
static void |
main(java.lang.String[] args) |
java.lang.String |
persistenceId(java.lang.String typeName) |
java.lang.String |
persistenceId2dot3(java.lang.String typeName) |
static void |
postRestart(java.lang.Throwable reason) |
static void |
postStop() |
static void |
preRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
void |
preStart()
User overridable callback.
|
static Props |
props(java.lang.String journalPluginId,
scala.collection.immutable.Set<java.lang.String> typeNames,
scala.concurrent.Promise<scala.runtime.BoxedUnit> completion,
boolean remove2dot3Data)
INTERNAL API:
Props for RemoveInternalClusterShardingData actor. |
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.
|
scala.collection.immutable.Set<java.lang.String> |
remainingPids() |
static scala.concurrent.Future<scala.runtime.BoxedUnit> |
remove(ActorSystem system,
java.lang.String journalPluginId,
scala.collection.immutable.Set<java.lang.String> typeNames,
boolean terminateSystem,
boolean remove2dot3Data)
API corresponding to the
main(java.lang.String[]) method as described in the
RemoveInternalClusterShardingData companion object |
void |
removeNext() |
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
static ActorRef |
sender() |
static SupervisorStrategy |
supervisorStrategy() |
static void |
unhandled(java.lang.Object message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, postStop, preRestart, sender, supervisorStrategy, unhandled
log
public RemoveInternalClusterShardingData(java.lang.String journalPluginId, scala.collection.immutable.Set<java.lang.String> typeNames, scala.concurrent.Promise<scala.runtime.BoxedUnit> completion, boolean remove2dot3Data)
public static void main(java.lang.String[] args)
args
- (undocumented)RemoveInternalClusterShardingData companion object
public static scala.concurrent.Future<scala.runtime.BoxedUnit> remove(ActorSystem system, java.lang.String journalPluginId, scala.collection.immutable.Set<java.lang.String> typeNames, boolean terminateSystem, boolean remove2dot3Data)
main(java.lang.String[])
method as described in the
RemoveInternalClusterShardingData companion object
system
- (undocumented)journalPluginId
- (undocumented)typeNames
- (undocumented)terminateSystem
- (undocumented)remove2dot3Data
- (undocumented)public static Props props(java.lang.String journalPluginId, scala.collection.immutable.Set<java.lang.String> typeNames, scala.concurrent.Promise<scala.runtime.BoxedUnit> completion, boolean remove2dot3Data)
Props
for RemoveInternalClusterShardingData
actor.journalPluginId
- (undocumented)typeNames
- (undocumented)completion
- (undocumented)remove2dot3Data
- (undocumented)public static final ActorRef sender()
protected static void aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)
protected static void aroundPreStart()
protected static void aroundPostStop()
protected static void aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)
protected static void aroundPostRestart(java.lang.Throwable reason)
public static SupervisorStrategy supervisorStrategy()
public static void postStop() throws java.lang.Exception
java.lang.Exception
public static void preRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message) throws java.lang.Exception
java.lang.Exception
public static void postRestart(java.lang.Throwable reason) throws java.lang.Exception
java.lang.Exception
public static void unhandled(java.lang.Object message)
protected abstract static void akka$actor$Actor$_setter_$context_$eq(ActorContext x$1)
protected abstract static void akka$actor$Actor$_setter_$self_$eq(ActorRef x$1)
public static LoggingAdapter akka$actor$ActorLogging$$_log()
public static void akka$actor$ActorLogging$$_log_$eq(LoggingAdapter x$1)
public static LoggingAdapter log()
public ActorContext context()
Actor
forward
.
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()
Actor
self ! message
public java.lang.String currentPid()
public ActorRef currentRef()
public scala.collection.immutable.Set<java.lang.String> remainingPids()
public java.lang.String persistenceId(java.lang.String typeName)
public java.lang.String persistenceId2dot3(java.lang.String typeName)
public void preStart()
Actor
public void removeNext()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
public void done()
public void failure(java.lang.Throwable cause)