Class MessageCountRotationStrategy
java.lang.Object
org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy
- All Implemented Interfaces:
RotationStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
AbstractRotationStrategy.Result
-
Field Summary
Fields inherited from class org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
elasticsearchConfiguration, indices
-
Constructor Summary
ConstructorDescriptionMessageCountRotationStrategy
(Indices indices, NodeId nodeId, AuditEventSender auditEventSender, ElasticsearchConfiguration elasticsearchConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends RotationStrategyConfig>
protected AbstractRotationStrategy.Result
shouldRotate
(String index, IndexSet indexSet) Methods inherited from class org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
createResult, rotate
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MessageCountRotationStrategy
@Inject public MessageCountRotationStrategy(Indices indices, NodeId nodeId, AuditEventSender auditEventSender, ElasticsearchConfiguration elasticsearchConfiguration)
-
-
Method Details
-
configurationClass
-
defaultConfiguration
-
shouldRotate
- Specified by:
shouldRotate
in classAbstractRotationStrategy
-
getStrategyName
-