Package dev.snowdrop.vertx
Class VertxProperties
- java.lang.Object
-
- dev.snowdrop.vertx.VertxProperties
-
@ConfigurationProperties(prefix="vertx") public class VertxProperties extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertxProperties.AddressResolverstatic classVertxProperties.FileSystem
-
Constructor Summary
Constructors Constructor Description VertxProperties()
-
Method Summary
-
-
-
Method Detail
-
toVertxOptions
public io.vertx.core.VertxOptions toVertxOptions()
-
getEventLoopPoolSize
public int getEventLoopPoolSize()
-
setEventLoopPoolSize
public void setEventLoopPoolSize(int eventLoopPoolSize)
-
getWorkerPoolSize
public int getWorkerPoolSize()
-
setWorkerPoolSize
public void setWorkerPoolSize(int workerPoolSize)
-
getInternalBlockingPoolSize
public int getInternalBlockingPoolSize()
-
setInternalBlockingPoolSize
public void setInternalBlockingPoolSize(int internalBlockingPoolSize)
-
getBlockedThreadCheckInterval
public long getBlockedThreadCheckInterval()
-
setBlockedThreadCheckInterval
public void setBlockedThreadCheckInterval(long blockedThreadCheckInterval)
-
getMaxEventLoopExecuteTime
public long getMaxEventLoopExecuteTime()
-
setMaxEventLoopExecuteTime
public void setMaxEventLoopExecuteTime(long maxEventLoopExecuteTime)
-
getMaxWorkerExecuteTime
public long getMaxWorkerExecuteTime()
-
setMaxWorkerExecuteTime
public void setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
-
isHaEnabled
public boolean isHaEnabled()
-
setHaEnabled
public void setHaEnabled(boolean haEnabled)
-
getQuorumSize
public int getQuorumSize()
-
setQuorumSize
public void setQuorumSize(int quorumSize)
-
getHaGroup
public String getHaGroup()
-
setHaGroup
public void setHaGroup(String haGroup)
-
getWarningExceptionTime
public long getWarningExceptionTime()
-
setWarningExceptionTime
public void setWarningExceptionTime(long warningExceptionTime)
-
isPreferNativeTransport
public boolean isPreferNativeTransport()
-
setPreferNativeTransport
public void setPreferNativeTransport(boolean preferNativeTransport)
-
getMaxEventLoopExecuteTimeUnit
public TimeUnit getMaxEventLoopExecuteTimeUnit()
-
setMaxEventLoopExecuteTimeUnit
public void setMaxEventLoopExecuteTimeUnit(TimeUnit maxEventLoopExecuteTimeUnit)
-
getMaxWorkerExecuteTimeUnit
public TimeUnit getMaxWorkerExecuteTimeUnit()
-
setMaxWorkerExecuteTimeUnit
public void setMaxWorkerExecuteTimeUnit(TimeUnit maxWorkerExecuteTimeUnit)
-
getWarningExceptionTimeUnit
public TimeUnit getWarningExceptionTimeUnit()
-
setWarningExceptionTimeUnit
public void setWarningExceptionTimeUnit(TimeUnit warningExceptionTimeUnit)
-
getBlockedThreadCheckIntervalUnit
public TimeUnit getBlockedThreadCheckIntervalUnit()
-
setBlockedThreadCheckIntervalUnit
public void setBlockedThreadCheckIntervalUnit(TimeUnit blockedThreadCheckIntervalUnit)
-
isMetricsEnabled
public boolean isMetricsEnabled()
-
setMetricsEnabled
public void setMetricsEnabled(boolean metricsEnabled)
-
getFileSystem
public VertxProperties.FileSystem getFileSystem()
-
getAddressResolver
public VertxProperties.AddressResolver getAddressResolver()
-
-