Package akka.actor.typed
Class Props
- java.lang.Object
-
- akka.actor.typed.Props
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Direct Known Subclasses:
DispatcherSelector
,EmptyProps$
public abstract class Props extends java.lang.Object implements scala.Product, scala.Serializable
Reference to the tail of this Props list.The
next
reference is here so that it can form an internally linked list. Traversal of this list stops when encountering theEmptyProps
object.INTERNAL API
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Props()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T extends Props>
scala.collection.immutable.List<Props>allOf(scala.reflect.ClassTag<T> evidence$2)
Retrieve all configuration nodes of a given type in the order that they are present in this Props.static Props
empty()
<T extends Props>
PropsfilterNot(scala.reflect.ClassTag<T> evidence$3)
Remove all configuration nodes of a given type and return the resulting Props.<T extends Props>
TfirstOrElse(T default_, scala.reflect.ClassTag<T> evidence$1)
Find the first occurrence of a configuration node of the given type, falling back to the provided default if none is found.abstract Props
next()
Props
withDispatcherDefault()
Prepend a selection of theActorSystem
default executor to this Props.Props
withDispatcherFromConfig(java.lang.String path)
Prepend a selection of the executor found at the given Config path to this Props.abstract Props
withNext(Props next)
Create a copy of this Props node with itsnext
reference replaced by the given object.
-
-
-
Method Detail
-
empty
public static Props empty()
-
next
public abstract Props next()
-
withNext
public abstract Props withNext(Props next)
Create a copy of this Props node with itsnext
reference replaced by the given object. This does NOT append the given list of configuration nodes to the current list!INTERNAL API
- Parameters:
next
- (undocumented)- Returns:
- (undocumented)
-
withDispatcherDefault
public Props withDispatcherDefault()
Prepend a selection of theActorSystem
default executor to this Props.- Returns:
- (undocumented)
-
withDispatcherFromConfig
public Props withDispatcherFromConfig(java.lang.String path)
Prepend a selection of the executor found at the given Config path to this Props. The path is relative to the configuration root of theActorSystem
that looks up the executor.- Parameters:
path
- (undocumented)- Returns:
- (undocumented)
-
firstOrElse
public <T extends Props> T firstOrElse(T default_, scala.reflect.ClassTag<T> evidence$1)
Find the first occurrence of a configuration node of the given type, falling back to the provided default if none is found.INTERNAL API
- Parameters:
default_
- (undocumented)evidence$1
- (undocumented)- Returns:
- (undocumented)
-
allOf
public <T extends Props> scala.collection.immutable.List<Props> allOf(scala.reflect.ClassTag<T> evidence$2)
Retrieve all configuration nodes of a given type in the order that they are present in this Props. Thenext
reference for all returned nodes will be theEmptyProps
.INTERNAL API
- Parameters:
evidence$2
- (undocumented)- Returns:
- (undocumented)
-
-