public class VertxOptions extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_BLOCKED_THREAD_CHECK_PERIOD |
static String |
DEFAULT_CLUSTER_HOST |
static long |
DEFAULT_CLUSTER_PING_INTERVAL |
static long |
DEFAULT_CLUSTER_PING_REPLY_INTERVAL |
static int |
DEFAULT_CLUSTER_PORT |
static boolean |
DEFAULT_CLUSTERED |
static int |
DEFAULT_EVENT_LOOP_POOL_SIZE |
static int |
DEFAULT_INTERNAL_BLOCKING_POOL_SIZE |
static boolean |
DEFAULT_JMX_ENABLED |
static long |
DEFAULT_MAX_EVENT_LOOP_EXECUTE_TIME |
static long |
DEFAULT_MAX_WORKER_EXECUTE_TIME |
static boolean |
DEFAULT_METRICS_ENABLED |
static int |
DEFAULT_QUORUM_SIZE |
static int |
DEFAULT_WORKER_POOL_SIZE |
Constructor and Description |
---|
VertxOptions() |
VertxOptions(JsonObject json) |
VertxOptions(VertxOptions other) |
public static final int DEFAULT_EVENT_LOOP_POOL_SIZE
public static final int DEFAULT_WORKER_POOL_SIZE
public static final int DEFAULT_INTERNAL_BLOCKING_POOL_SIZE
public static final boolean DEFAULT_CLUSTERED
public static final String DEFAULT_CLUSTER_HOST
public static final int DEFAULT_CLUSTER_PORT
public static final long DEFAULT_CLUSTER_PING_INTERVAL
public static final long DEFAULT_CLUSTER_PING_REPLY_INTERVAL
public static final long DEFAULT_BLOCKED_THREAD_CHECK_PERIOD
public static final long DEFAULT_MAX_EVENT_LOOP_EXECUTE_TIME
public static final long DEFAULT_MAX_WORKER_EXECUTE_TIME
public static final int DEFAULT_QUORUM_SIZE
public static final boolean DEFAULT_METRICS_ENABLED
public static final boolean DEFAULT_JMX_ENABLED
public VertxOptions()
public VertxOptions(VertxOptions other)
public VertxOptions(JsonObject json)
public int getEventLoopPoolSize()
public VertxOptions setEventLoopPoolSize(int eventLoopPoolSize)
public int getWorkerPoolSize()
public VertxOptions setWorkerPoolSize(int workerPoolSize)
public boolean isClustered()
public VertxOptions setClustered(boolean clustered)
public String getClusterHost()
public VertxOptions setClusterHost(String clusterHost)
public int getClusterPort()
public VertxOptions setClusterPort(int clusterPort)
public long getClusterPingInterval()
public VertxOptions setClusterPingInterval(long clusterPingInterval)
public long getClusterPingReplyInterval()
public VertxOptions setClusterPingReplyInterval(long clusterPingReplyInterval)
public long getBlockedThreadCheckPeriod()
public VertxOptions setBlockedThreadCheckPeriod(long blockedThreadCheckPeriod)
public long getMaxEventLoopExecuteTime()
public VertxOptions setMaxEventLoopExecuteTime(long maxEventLoopExecuteTime)
public long getMaxWorkerExecuteTime()
public VertxOptions setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
public ClusterManager getClusterManager()
public VertxOptions setClusterManager(ClusterManager clusterManager)
public int getInternalBlockingPoolSize()
public VertxOptions setInternalBlockingPoolSize(int internalBlockingPoolSize)
public boolean isHAEnabled()
public VertxOptions setHAEnabled(boolean haEnabled)
public int getQuorumSize()
public VertxOptions setQuorumSize(int quorumSize)
public String getHAGroup()
public VertxOptions setHAGroup(String haGroup)
public VertxOptions setMetricsEnabled(boolean enable)
public boolean isMetricsEnabled()
public boolean isJmxEnabled()
public VertxOptions setJmxEnabled(boolean jmxEnabled)
public String getJmxDomain()
public VertxOptions setJmxDomain(String jmxDomain)
Copyright © 2014. All Rights Reserved.