public class ConsulConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSUL_BLOCK_TIME_MINUTES
consul block time for query params, measures in minutes.
|
static long |
CONSUL_BLOCK_TIME_SECONDS
consul block time for query params, measures in seconds.
|
static String |
CONSUL_SERVICE_TAG |
static String |
CONSULINTERVAL |
static int |
DEFAULT_CONSUL_INTERVAL |
static int |
DEFAULT_LOOKUP_INTERVAL
default check time for consul service
|
static int |
HEARTBEAT_CIRCLE
heartbeat cycle time
|
static String |
LOOKUPINTERVAL |
static int |
TTL
Time To Live, in seconds.
|
| Constructor and Description |
|---|
ConsulConstants() |
public static final int DEFAULT_CONSUL_INTERVAL
public static final String CONSULINTERVAL
public static final String LOOKUPINTERVAL
public static final int TTL
public static final int CONSUL_BLOCK_TIME_MINUTES
public static final long CONSUL_BLOCK_TIME_SECONDS
public static final int HEARTBEAT_CIRCLE
public static final int DEFAULT_LOOKUP_INTERVAL
public static final String CONSUL_SERVICE_TAG
Copyright © 2022 Baidu, Inc.. All rights reserved.