public class DiscoverySettings extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NO_MASTER_BLOCK |
static boolean |
DEFAULT_PUBLISH_DIFF_ENABLE |
static TimeValue |
DEFAULT_PUBLISH_TIMEOUT |
static String |
NO_MASTER_BLOCK |
static ClusterBlock |
NO_MASTER_BLOCK_ALL |
static int |
NO_MASTER_BLOCK_ID |
static ClusterBlock |
NO_MASTER_BLOCK_WRITES |
static String |
PUBLISH_DIFF_ENABLE |
static String |
PUBLISH_TIMEOUT |
deprecationLogger, logger, settings
Constructor and Description |
---|
DiscoverySettings(Settings settings,
NodeSettingsService nodeSettingsService) |
Modifier and Type | Method and Description |
---|---|
ClusterBlock |
getNoMasterBlock() |
boolean |
getPublishDiff() |
TimeValue |
getPublishTimeout()
Returns the current publish timeout
|
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String PUBLISH_TIMEOUT
public static final String NO_MASTER_BLOCK
public static final String PUBLISH_DIFF_ENABLE
public static final TimeValue DEFAULT_PUBLISH_TIMEOUT
public static final String DEFAULT_NO_MASTER_BLOCK
public static final int NO_MASTER_BLOCK_ID
public static final boolean DEFAULT_PUBLISH_DIFF_ENABLE
public static final ClusterBlock NO_MASTER_BLOCK_ALL
public static final ClusterBlock NO_MASTER_BLOCK_WRITES
@Inject public DiscoverySettings(Settings settings, NodeSettingsService nodeSettingsService)
public TimeValue getPublishTimeout()
public ClusterBlock getNoMasterBlock()
public boolean getPublishDiff()
Copyright © 2009–2016. All rights reserved.