StructuredPojo
, ToCopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>
@Generated("software.amazon.awssdk:codegen") public class RuntimeConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>
Collection of server process configurations that describe what processes should be run on each instance in a fleet. An instance can launch and maintain multiple server processes based on the runtime configuration; it regularly checks for an updated runtime configuration and starts new server processes to match the latest version.
The key purpose of a runtime configuration with multiple server process configurations is to be able to run more than one kind of game server in a single fleet. You can include configurations for more than one server executable in order to run two or more different programs to run on the same instance. This option might be useful, for example, to run more than one version of your game server on the same fleet. Another option is to specify configurations for the same server executable but with different launch parameters.
A Amazon GameLift instance is limited to 50 processes running simultaneously. To calculate the total number of
processes specified in a runtime configuration, add the values of the ConcurrentExecutions
parameter for
each ServerProcess
object in the runtime configuration.
Modifier and Type | Class | Description |
---|---|---|
static interface |
RuntimeConfiguration.Builder |
Modifier and Type | Method | Description |
---|---|---|
static RuntimeConfiguration.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Integer |
gameSessionActivationTimeoutSeconds() |
Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
maxConcurrentGameSessionActivations() |
Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.
|
static Class<? extends RuntimeConfiguration.Builder> |
serializableBuilderClass() |
|
List<ServerProcess> |
serverProcesses() |
Collection of server process configurations that describe which server processes to run on each instance in a
fleet.
|
RuntimeConfiguration.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public List<ServerProcess> serverProcesses()
Collection of server process configurations that describe which server processes to run on each instance in a fleet.
public Integer maxConcurrentGameSessionActivations()
Maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.
public Integer gameSessionActivationTimeoutSeconds()
Maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.
public RuntimeConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>
public static RuntimeConfiguration.Builder builder()
public static Class<? extends RuntimeConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.