final case class MailboxCapacity(capacity: Int, next: DeploymentConfig = EmptyDeploymentConfig) extends DeploymentConfig with Product with Serializable
Configure the maximum mailbox capacity for the actor. If more messages are enqueued because the actor does not process them quickly enough then further messages will be dropped.
The default mailbox capacity that is used when this option is not given is
taken from the akka.typed.mailbox-capacity
configuration setting.
- Source
- Deployment.scala
- Alphabetic
- By Inheritance
- MailboxCapacity
- DeploymentConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MailboxCapacity(capacity: Int, 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 MailboxCapacity to any2stringadd[MailboxCapacity] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (MailboxCapacity, B)
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to ArrowAssoc[MailboxCapacity] 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
- val capacity: Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (MailboxCapacity) ⇒ Boolean, msg: ⇒ Any): MailboxCapacity
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to Ensuring[MailboxCapacity] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (MailboxCapacity) ⇒ Boolean): MailboxCapacity
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to Ensuring[MailboxCapacity] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): MailboxCapacity
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to Ensuring[MailboxCapacity] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): MailboxCapacity
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to Ensuring[MailboxCapacity] 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 MailboxCapacity to StringFormat[MailboxCapacity] 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
- MailboxCapacity → 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
- MailboxCapacity → DeploymentConfig
-
def
→[B](y: B): (MailboxCapacity, B)
- Implicit
- This member is added by an implicit conversion from MailboxCapacity to ArrowAssoc[MailboxCapacity] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc