Package org.apache.pekko.routing
Class FromConfig$
- java.lang.Object
-
- org.apache.pekko.routing.FromConfig
-
- org.apache.pekko.routing.FromConfig$
-
- All Implemented Interfaces:
java.io.Serializable
,Pool
,RouterConfig
,scala.Equals
,scala.Product
public class FromConfig$ extends FromConfig implements scala.Product, java.io.Serializable
Wraps apekko.actor.Props
to mark the actor as externally configurable to be used with a router. If apekko.actor.Props
is not wrapped withFromConfig
then the actor will ignore the router part of the deployment section in the configuration.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FromConfig$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description FromConfig$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FromConfig
apply(scala.Option<Resizer> resizer, SupervisorStrategy supervisorStrategy, java.lang.String routerDispatcher)
scala.Option<Resizer>
apply$default$1()
SupervisorStrategy
apply$default$2()
java.lang.String
apply$default$3()
boolean
canEqual(java.lang.Object x$1)
FromConfig$
getInstance()
Java API: get the singleton instanceint
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
scala.Option<java.lang.String>
unapply(FromConfig fc)
-
Methods inherited from class org.apache.pekko.routing.FromConfig
createRouter, equals, isManagementMessage, nrOfInstances, productElementName, productElementNames, props, resizer, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved, supervisorStrategy, usePoolDispatcher, verifyConfig, withDispatcher, withFallback, withResizer, withSupervisorStrategy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.routing.Pool
enrichWithPoolDispatcher, newRoutee, props, stopRouterWhenAllRouteesRemoved, usePoolDispatcher
-
Methods inherited from interface org.apache.pekko.routing.RouterConfig
isManagementMessage, routingLogicController, withFallback
-
-
-
-
Field Detail
-
MODULE$
public static final FromConfig$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getInstance
public FromConfig$ getInstance()
Java API: get the singleton instance- Overrides:
getInstance
in classFromConfig
-
apply
public final FromConfig apply(scala.Option<Resizer> resizer, SupervisorStrategy supervisorStrategy, java.lang.String routerDispatcher)
- Overrides:
apply
in classFromConfig
-
apply$default$1
public final scala.Option<Resizer> apply$default$1()
- Overrides:
apply$default$1
in classFromConfig
-
apply$default$2
public final SupervisorStrategy apply$default$2()
- Overrides:
apply$default$2
in classFromConfig
-
apply$default$3
public final java.lang.String apply$default$3()
- Overrides:
apply$default$3
in classFromConfig
-
unapply
public final scala.Option<java.lang.String> unapply(FromConfig fc)
- Overrides:
unapply
in classFromConfig
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
- Overrides:
productPrefix
in classFromConfig
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
- Overrides:
productArity
in classFromConfig
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
- Overrides:
productElement
in classFromConfig
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
- Overrides:
productIterator
in classFromConfig
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
- Overrides:
canEqual
in classFromConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFromConfig
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFromConfig
-
-