Package org.apache.pekko.routing
Class FromConfig$
java.lang.Object
org.apache.pekko.routing.FromConfig
org.apache.pekko.routing.FromConfig$
- All Implemented Interfaces:
Serializable,Pool,RouterConfig,scala.Equals,scala.Product
Wraps a
pekko.actor.Props to mark the actor as externally configurable to be used with a router.
If a pekko.actor.Props is not wrapped with FromConfig then the actor will ignore the router part of the deployment section
in the configuration.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FromConfig$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FromConfigapply(scala.Option<Resizer> resizer, SupervisorStrategy supervisorStrategy, String routerDispatcher) final scala.Option<Resizer>final SupervisorStrategyfinal StringbooleanJava API: get the singleton instanceinthashCode()intproductElement(int x$1) scala.collection.Iterator<Object>toString()final scala.Option<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, withSupervisorStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface org.apache.pekko.routing.Pool
enrichWithPoolDispatcher, newRoutee, props, stopRouterWhenAllRouteesRemoved, usePoolDispatcherMethods inherited from interface scala.Product
productElementName, productElementNamesMethods inherited from interface org.apache.pekko.routing.RouterConfig
isManagementMessage, routingLogicController, withFallback
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
FromConfig$
public FromConfig$()
-
-
Method Details
-
getInstance
Java API: get the singleton instance- Overrides:
getInstancein classFromConfig
-
apply
public final FromConfig apply(scala.Option<Resizer> resizer, SupervisorStrategy supervisorStrategy, String routerDispatcher) - Overrides:
applyin classFromConfig
-
apply$default$1
- Overrides:
apply$default$1in classFromConfig
-
apply$default$2
- Overrides:
apply$default$2in classFromConfig
-
apply$default$3
- Overrides:
apply$default$3in classFromConfig
-
unapply
- Overrides:
unapplyin classFromConfig
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product- Overrides:
productPrefixin classFromConfig
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product- Overrides:
productArityin classFromConfig
-
productElement
- Specified by:
productElementin interfacescala.Product- Overrides:
productElementin classFromConfig
-
productIterator
- Specified by:
productIteratorin interfacescala.Product- Overrides:
productIteratorin classFromConfig
-
canEqual
- Specified by:
canEqualin interfacescala.Equals- Overrides:
canEqualin classFromConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classFromConfig
-
toString
- Overrides:
toStringin classFromConfig
-