public class DiscoverySettings extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NO_MASTER_BLOCK |
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_TIMEOUT |
componentSettings, logger, settings
Constructor and Description |
---|
DiscoverySettings(Settings settings,
NodeSettingsService nodeSettingsService) |
Modifier and Type | Method and Description |
---|---|
ClusterBlock |
getNoMasterBlock() |
TimeValue |
getPublishTimeout()
Returns the current publish timeout
|
nodeName
public static final String PUBLISH_TIMEOUT
public static final String NO_MASTER_BLOCK
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 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()
Copyright © 2009–2015. All rights reserved.