Package org.graylog2.indexer
Class IndexSetValidator
java.lang.Object
org.graylog2.indexer.IndexSetValidator
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionIndexSetValidator
(IndexSetRegistry indexSetRegistry, ElasticsearchConfiguration elasticsearchConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvalidate
(IndexSetConfig newConfig) validateRefreshInterval
(org.joda.time.Duration readableDuration) validateRetentionConfig
(RetentionStrategyConfig retentionStrategyConfig) validateRetentionPeriod
(RotationStrategyConfig rotationStrategyConfig, RetentionStrategyConfig retentionStrategyConfig) validateRotation
(RotationStrategyConfig rotationStrategyConfig)
-
Constructor Details
-
IndexSetValidator
@Inject public IndexSetValidator(IndexSetRegistry indexSetRegistry, ElasticsearchConfiguration elasticsearchConfiguration)
-
-
Method Details
-
validate
-
validateRefreshInterval
@Nullable public IndexSetValidator.Violation validateRefreshInterval(org.joda.time.Duration readableDuration) -
validateRotation
@Nullable public IndexSetValidator.Violation validateRotation(RotationStrategyConfig rotationStrategyConfig) -
validateRetentionPeriod
@Nullable public IndexSetValidator.Violation validateRetentionPeriod(RotationStrategyConfig rotationStrategyConfig, RetentionStrategyConfig retentionStrategyConfig) -
validateRetentionConfig
@Nullable public IndexSetValidator.Violation validateRetentionConfig(RetentionStrategyConfig retentionStrategyConfig)
-