public static interface LoadBalancerService.Options
LoadBalancerService
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EVENT_HISTORY_MILLIS
Default is one hour of completed events.
|
static String |
DEFAULT_HISTORY_MINUTES |
static String |
DEFAULT_INITIAL_ROUND_ROBIN_UPDATE_COUNT
The default gives you a few minutes after you setup the federation in
which newly registered indices will be allocated based on a
round-robin.
|
static String |
DEFAULT_LOG_DELAY |
static String |
DEFAULT_LOG_DIR |
static String |
DEFAULT_LOG_MAX_FILES |
static String |
DEFAULT_SERVICE_JOIN_TIMEOUT |
static String |
DEFAULT_TRANSIENT |
static String |
DEFAULT_UPDATE_DELAY
The default
UPDATE_DELAY . |
static String |
EVENT_HISTORY_MILLIS
The maximum age of an
Event that will be keep "on the books". |
static String |
HISTORY_MINUTES
The #of minutes of history that will be smoothed into an average when
LoadBalancerService.UpdateTask updates the HostScore s and the
ServiceScore s (default "5"). |
static String |
INITIAL_ROUND_ROBIN_UPDATE_COUNT
The load balancer service will use a round robin approach to
recommending under-utilized services until this the load balancer has
re-computed the service scores N times (default
"5").
|
static String |
LOG_DELAY
The delay in milliseconds between writes of the
CounterSet on
a log file (default is "3600000", which is
equivalent to one hour). |
static String |
LOG_DIR
The path of the data directory for the load balancer.
|
static String |
LOG_MAX_FILES
The maximum #of distinct log files to retain (default is one week
based on a
LOG_DELAY equivalent to one hour). |
static String |
SERVICE_JOIN_TIMEOUT
Service join timeout in milliseconds - used when we need to wait for
a service to join before we can recommend an under-utilized service.
|
static String |
TRANSIENT
When
true the load balancer will not record any state on
the disk (neither events nor counters). |
static String |
UPDATE_DELAY
The delay between scheduled invocations of the
LoadBalancerService.UpdateTask . |
static final String INITIAL_ROUND_ROBIN_UPDATE_COUNT
static final String DEFAULT_INITIAL_ROUND_ROBIN_UPDATE_COUNT
static final String UPDATE_DELAY
LoadBalancerService.UpdateTask
.
Note: the AbstractStatisticsCollector
implementations SHOULD
sample at one minute intervals by default and clients SHOULD report
the collected performance counters at approximately one minute
intervals. The update rate can be no more frequent than the reporting
rate, but could be 2-5x slower, especially if we use WARN and URGENT
events to immediately re-score services.
DEFAULT_UPDATE_DELAY
,
AbstractStatisticsCollector.Options#PERFORMANCE_COUNTERS_SAMPLE_INTERVAL
static final String DEFAULT_UPDATE_DELAY
UPDATE_DELAY
.static final String HISTORY_MINUTES
LoadBalancerService.UpdateTask
updates the HostScore
s and the
ServiceScore
s (default "5").ThreadPoolExecutorStatisticsTask
static final String DEFAULT_HISTORY_MINUTES
static final String TRANSIENT
true
the load balancer will not record any state on
the disk (neither events nor counters). The default is
false
. This option is used by some unit tests to
simplify cleanup.static final String DEFAULT_TRANSIENT
static final String LOG_DIR
LoadBalancerService.UpdateTask
. It will also log Event
s received from
other services here. By default, the load balancer will use the
directory in which it was started. You may specify an alternative
directory using this property.static final String DEFAULT_LOG_DIR
static final String LOG_DELAY
CounterSet
on
a log file (default is "3600000", which is
equivalent to one hour).static final String DEFAULT_LOG_DELAY
static final String LOG_MAX_FILES
LOG_DELAY
equivalent to one hour).static final String DEFAULT_LOG_MAX_FILES
static final String SERVICE_JOIN_TIMEOUT
static final String DEFAULT_SERVICE_JOIN_TIMEOUT
static final String EVENT_HISTORY_MILLIS
Event
that will be keep "on the books".
Events older than this are purged. An error is logged if an event is
purged before its end() event arrives. This generally indicates a
code path where Event.end()
is not getting called but could
also indicate a disconnected client or service.EventReceiver
static final String DEFAULT_EVENT_HISTORY_MILLIS
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.