public class ClusterSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_RETENTION_PERIOD_IN_DAYS_SYSTEM_PROPERTY_KEY |
static java.time.Duration |
DEFAULT_RETENTION_PERIOD |
static String |
NOT_ALIVE_ACTIVE_NODES_RETENTION_PERIOD_IN_HOURS_SYSTEM_PROPERTY_KEY |
Modifier and Type | Method and Description |
---|---|
static java.time.Duration |
getClusterRetentionPeriod()
Returns retention period value for cluster services like
DefaultClusterServicesManager.IndexCleaningServiceHelper , DefaultClusterServicesManager.ClusterMessageCleaningServiceHelper ,
OfflineNodesScannerService , VersioningCleanupService |
static java.time.Duration |
getNotAliveNodeRetentionPeriod()
Returns retention period value for
NonAliveNodesScannerService service. |
public static final java.time.Duration DEFAULT_RETENTION_PERIOD
public static final String CLUSTER_RETENTION_PERIOD_IN_DAYS_SYSTEM_PROPERTY_KEY
public static final String NOT_ALIVE_ACTIVE_NODES_RETENTION_PERIOD_IN_HOURS_SYSTEM_PROPERTY_KEY
public static java.time.Duration getClusterRetentionPeriod()
DefaultClusterServicesManager.IndexCleaningServiceHelper
, DefaultClusterServicesManager.ClusterMessageCleaningServiceHelper
,
OfflineNodesScannerService
, VersioningCleanupService
CLUSTER_RETENTION_PERIOD_IN_DAYS_SYSTEM_PROPERTY_KEY
property, otherwise DEFAULT_RETENTION_PERIOD
public static java.time.Duration getNotAliveNodeRetentionPeriod()
NonAliveNodesScannerService
service.NOT_ALIVE_ACTIVE_NODES_RETENTION_PERIOD_IN_HOURS_SYSTEM_PROPERTY_KEY
property, otherwise value returned by getClusterRetentionPeriod()
Copyright © 2002-2023 Atlassian. All Rights Reserved.