Class MessageCountRotationStrategy
java.lang.Object
org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy
- All Implemented Interfaces:
RotationStrategy
-
Field Summary
Fields inherited from class org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
elasticsearchConfiguration
-
Constructor Summary
ConstructorDescriptionMessageCountRotationStrategy
(Indices indices, NodeId nodeId, AuditEventSender auditEventSender, ElasticsearchConfiguration elasticsearchConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends RotationStrategyConfig>
protected org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy.Result
shouldRotate
(String index, IndexSet indexSet) Methods inherited from class org.graylog2.indexer.rotation.strategies.AbstractRotationStrategy
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
@Nullable protected org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy.Result shouldRotate(String index, IndexSet indexSet) - Specified by:
shouldRotate
in classAbstractRotationStrategy
-
getStrategyName
-