Class RuntimeConfiguration
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.RuntimeConfiguration
-
public class RuntimeConfiguration extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RuntimeConfiguration()RuntimeConfiguration(RuntimeConfiguration source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetGameServerSessionActivationTimeoutSeconds()Get 游戏会话进程超时,最小值1,最大值600,单位秒LonggetMaxConcurrentGameServerSessionActivations()Get 最大游戏会话数,最小值1,最大值2147483647ServerProcesse[]getServerProcesses()Get 服务进程配置,至少有一个进程配置voidsetGameServerSessionActivationTimeoutSeconds(Long GameServerSessionActivationTimeoutSeconds)Set 游戏会话进程超时,最小值1,最大值600,单位秒voidsetMaxConcurrentGameServerSessionActivations(Long MaxConcurrentGameServerSessionActivations)Set 最大游戏会话数,最小值1,最大值2147483647voidsetServerProcesses(ServerProcesse[] ServerProcesses)Set 服务进程配置,至少有一个进程配置voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RuntimeConfiguration
public RuntimeConfiguration()
-
RuntimeConfiguration
public RuntimeConfiguration(RuntimeConfiguration source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getGameServerSessionActivationTimeoutSeconds
public Long getGameServerSessionActivationTimeoutSeconds()
Get 游戏会话进程超时,最小值1,最大值600,单位秒- Returns:
- GameServerSessionActivationTimeoutSeconds 游戏会话进程超时,最小值1,最大值600,单位秒
-
setGameServerSessionActivationTimeoutSeconds
public void setGameServerSessionActivationTimeoutSeconds(Long GameServerSessionActivationTimeoutSeconds)
Set 游戏会话进程超时,最小值1,最大值600,单位秒- Parameters:
GameServerSessionActivationTimeoutSeconds- 游戏会话进程超时,最小值1,最大值600,单位秒
-
getMaxConcurrentGameServerSessionActivations
public Long getMaxConcurrentGameServerSessionActivations()
Get 最大游戏会话数,最小值1,最大值2147483647- Returns:
- MaxConcurrentGameServerSessionActivations 最大游戏会话数,最小值1,最大值2147483647
-
setMaxConcurrentGameServerSessionActivations
public void setMaxConcurrentGameServerSessionActivations(Long MaxConcurrentGameServerSessionActivations)
Set 最大游戏会话数,最小值1,最大值2147483647- Parameters:
MaxConcurrentGameServerSessionActivations- 最大游戏会话数,最小值1,最大值2147483647
-
getServerProcesses
public ServerProcesse[] getServerProcesses()
Get 服务进程配置,至少有一个进程配置- Returns:
- ServerProcesses 服务进程配置,至少有一个进程配置
-
setServerProcesses
public void setServerProcesses(ServerProcesse[] ServerProcesses)
Set 服务进程配置,至少有一个进程配置- Parameters:
ServerProcesses- 服务进程配置,至少有一个进程配置
-
-