final case class DispatcherFromExecutionContext(ec: ExecutionContext, next: DeploymentConfig = EmptyDeploymentConfig) extends DeploymentConfig with DispatcherSelector with Product with Serializable
Directly use the given ExecutionContext whenever the actor needs to be run. No attempt will be made to shut down this thread pool, even if it is an instance of ExecutorService.
- Source
- Deployment.scala
- Alphabetic
- By Inheritance
- DispatcherFromExecutionContext
- DispatcherSelector
- DeploymentConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DispatcherFromExecutionContext(ec: ExecutionContext, next: DeploymentConfig = EmptyDeploymentConfig)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to any2stringadd[DispatcherFromExecutionContext] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DispatcherFromExecutionContext, B)
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to ArrowAssoc[DispatcherFromExecutionContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allOf[T <: DeploymentConfig](implicit arg0: ClassTag[T]): List[DeploymentConfig]
Retrieve all configuration nodes of a given type in the order that they are present in this DeploymentConfig.
Retrieve all configuration nodes of a given type in the order that they are present in this DeploymentConfig. The
next
reference for all returned nodes will be the EmptyDeploymentConfig$.- Definition Classes
- DeploymentConfig
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val ec: ExecutionContext
-
def
ensuring(cond: (DispatcherFromExecutionContext) ⇒ Boolean, msg: ⇒ Any): DispatcherFromExecutionContext
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to Ensuring[DispatcherFromExecutionContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DispatcherFromExecutionContext) ⇒ Boolean): DispatcherFromExecutionContext
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to Ensuring[DispatcherFromExecutionContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DispatcherFromExecutionContext
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to Ensuring[DispatcherFromExecutionContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DispatcherFromExecutionContext
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to Ensuring[DispatcherFromExecutionContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
filterNot[T <: DeploymentConfig](implicit arg0: ClassTag[T]): DeploymentConfig
Remove all configuration nodes of a given type and return the resulting DeploymentConfig.
Remove all configuration nodes of a given type and return the resulting DeploymentConfig.
- Definition Classes
- DeploymentConfig
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstOrElse[T <: DeploymentConfig](default: T)(implicit arg0: ClassTag[T]): T
Find the first occurrence of a configuration node of the given type, falling back to the provided default if none is found.
Find the first occurrence of a configuration node of the given type, falling back to the provided default if none is found.
- Definition Classes
- DeploymentConfig
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to StringFormat[DispatcherFromExecutionContext] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
next: DeploymentConfig
- Definition Classes
- DispatcherFromExecutionContext → DeploymentConfig
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDispatcherDefault: DeploymentConfig
Prepend a selection of the ActorSystem default executor to this DeploymentConfig.
Prepend a selection of the ActorSystem default executor to this DeploymentConfig.
- Definition Classes
- DeploymentConfig
-
def
withDispatcherFromConfig(path: String): DeploymentConfig
Prepend a selection of the executor found at the given Config path to this DeploymentConfig.
Prepend a selection of the executor found at the given Config path to this DeploymentConfig. The path is relative to the configuration root of the ActorSystem that looks up the executor.
- Definition Classes
- DeploymentConfig
-
def
withDispatcherFromExecutionContext(ec: ExecutionContext): DeploymentConfig
Prepend a selection of the given execution context to this DeploymentConfig.
Prepend a selection of the given execution context to this DeploymentConfig.
- Definition Classes
- DeploymentConfig
-
def
withDispatcherFromExecutor(executor: Executor): DeploymentConfig
Prepend a selection of the given executor to this DeploymentConfig.
Prepend a selection of the given executor to this DeploymentConfig.
- Definition Classes
- DeploymentConfig
-
def
withMailboxCapacity(capacity: Int): DeploymentConfig
Prepend the given mailbox capacity configuration to this DeploymentConfig.
Prepend the given mailbox capacity configuration to this DeploymentConfig.
- Definition Classes
- DeploymentConfig
-
def
withNext(next: DeploymentConfig): DeploymentConfig
Create a copy of this DeploymentConfig node with its
next
reference replaced by the given object.Create a copy of this DeploymentConfig node with its
next
reference replaced by the given object. This does NOT append the given list of configuration nodes to the current list!- Definition Classes
- DispatcherFromExecutionContext → DeploymentConfig
-
def
→[B](y: B): (DispatcherFromExecutionContext, B)
- Implicit
- This member is added by an implicit conversion from DispatcherFromExecutionContext to ArrowAssoc[DispatcherFromExecutionContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc