public class CoordinatorDynamicConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CoordinatorDynamicConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_KEY |
Constructor and Description |
---|
CoordinatorDynamicConfig(long millisToWaitBeforeDeleting,
long mergeBytesLimit,
int mergeSegmentsLimit,
int maxSegmentsToMove,
int replicantLifetime,
int replicationThrottleLimit,
int balancerComputeThreads,
boolean emitBalancingStats) |
Modifier and Type | Method and Description |
---|---|
boolean |
emitBalancingStats() |
int |
getBalancerComputeThreads() |
int |
getMaxSegmentsToMove() |
long |
getMergeBytesLimit() |
int |
getMergeSegmentsLimit() |
long |
getMillisToWaitBeforeDeleting() |
int |
getReplicantLifetime() |
int |
getReplicationThrottleLimit() |
public static final String CONFIG_KEY
public CoordinatorDynamicConfig(long millisToWaitBeforeDeleting, long mergeBytesLimit, int mergeSegmentsLimit, int maxSegmentsToMove, int replicantLifetime, int replicationThrottleLimit, int balancerComputeThreads, boolean emitBalancingStats)
public long getMillisToWaitBeforeDeleting()
public long getMergeBytesLimit()
public boolean emitBalancingStats()
public int getMergeSegmentsLimit()
public int getMaxSegmentsToMove()
public int getReplicantLifetime()
public int getReplicationThrottleLimit()
public int getBalancerComputeThreads()
Copyright © 2011–2015. All rights reserved.