@Component @ConfigurationProperties(prefix="seata.server") public class ServerProperties extends Object
| 构造器和说明 |
|---|
ServerProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getEnableCheckAuth() |
Duration |
getMaxCommitRetryTimeout() |
Duration |
getMaxRollbackRetryTimeout() |
Integer |
getRetryDeadThreshold() |
Boolean |
getRollbackRetryTimeoutUnlockEnable() |
Integer |
getServicePort() |
Integer |
getXaerNotaRetryTimeout() |
ServerProperties |
setEnableCheckAuth(Boolean enableCheckAuth) |
ServerProperties |
setMaxCommitRetryTimeout(Duration maxCommitRetryTimeout) |
ServerProperties |
setMaxRollbackRetryTimeout(Duration maxRollbackRetryTimeout) |
ServerProperties |
setRetryDeadThreshold(Integer retryDeadThreshold) |
ServerProperties |
setRollbackRetryTimeoutUnlockEnable(Boolean rollbackRetryTimeoutUnlockEnable) |
ServerProperties |
setServicePort(Integer servicePort) |
void |
setXaerNotaRetryTimeout(Integer xaerNotaRetryTimeout) |
public Duration getMaxCommitRetryTimeout()
public ServerProperties setMaxCommitRetryTimeout(Duration maxCommitRetryTimeout)
public Duration getMaxRollbackRetryTimeout()
public ServerProperties setMaxRollbackRetryTimeout(Duration maxRollbackRetryTimeout)
public Boolean getRollbackRetryTimeoutUnlockEnable()
public ServerProperties setRollbackRetryTimeoutUnlockEnable(Boolean rollbackRetryTimeoutUnlockEnable)
public Boolean getEnableCheckAuth()
public ServerProperties setEnableCheckAuth(Boolean enableCheckAuth)
public Integer getRetryDeadThreshold()
public ServerProperties setRetryDeadThreshold(Integer retryDeadThreshold)
public Integer getServicePort()
public ServerProperties setServicePort(Integer servicePort)
public Integer getXaerNotaRetryTimeout()
public void setXaerNotaRetryTimeout(Integer xaerNotaRetryTimeout)
Copyright © 2022 Seata. All rights reserved.