case class ContainerDefinition(name: String, cpus: Int, memory: Int, actors: Seq[ActorLaunchContext], jvmArgs: Seq[String] = Seq.empty, jvmProperties: Map[String, String] = Map.empty, environment: Map[String, String] = Map.empty) extends Product with Serializable
Contains all the necessary information to launch a new instance in container.
- name
the unique name of the container.
- cpus
the number of CPUs that will be allocated for each instance of this container.
- memory
the amount of RAM in MB that will be allocated for each instance of this container.
- actors
the list of actors that will be deployed. See ActorLaunchContext.
- jvmArgs
the list of JVM arguments that will be passed to each instance of this container. I.e. "-Xmx1g"
- jvmProperties
the map of JVM properties that will be passed to each instance of this container. This map reflects the behaviour of the "-Dproperty=value" JVM argument.
- environment
the map of environment variables that will passed to each instance of this container. The key of the map is an environment variable name and the value is a variable's value.
- Alphabetic
- By Inheritance
- ContainerDefinition
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ContainerDefinition(name: String, cpus: Int, memory: Int, actors: Seq[ActorLaunchContext], jvmArgs: Seq[String] = Seq.empty, jvmProperties: Map[String, String] = Map.empty, environment: Map[String, String] = Map.empty)
- name
the unique name of the container.
- cpus
the number of CPUs that will be allocated for each instance of this container.
- memory
the amount of RAM in MB that will be allocated for each instance of this container.
- actors
the list of actors that will be deployed. See ActorLaunchContext.
- jvmArgs
the list of JVM arguments that will be passed to each instance of this container. I.e. "-Xmx1g"
- jvmProperties
the map of JVM properties that will be passed to each instance of this container. This map reflects the behaviour of the "-Dproperty=value" JVM argument.
- environment
the map of environment variables that will passed to each instance of this container. The key of the map is an environment variable name and the value is a variable's value.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val actors: Seq[ActorLaunchContext]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val cpus: Int
- val environment: Map[String, String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jvmArgs: Seq[String]
- val jvmProperties: Map[String, String]
- val memory: Int
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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( ... ) @native()