Class MessageCountRotationStrategyConfig
java.lang.Object
org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategyConfig
- All Implemented Interfaces:
RotationStrategyConfig
public abstract class MessageCountRotationStrategyConfig
extends Object
implements RotationStrategyConfig
-
Field Summary
Fields inherited from interface org.graylog2.plugin.indexer.rotation.RotationStrategyConfig
TYPE_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(@javax.validation.constraints.Min(1L) int maxDocsPerIndex) abstract int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.plugin.indexer.rotation.RotationStrategyConfig
type
-
Constructor Details
-
MessageCountRotationStrategyConfig
public MessageCountRotationStrategyConfig()
-
-
Method Details
-
maxDocsPerIndex
public abstract int maxDocsPerIndex() -
create
public static MessageCountRotationStrategyConfig create(String type, @Min(1L) @javax.validation.constraints.Min(1L) int maxDocsPerIndex) -
create
public static MessageCountRotationStrategyConfig create(@Min(1L) @javax.validation.constraints.Min(1L) int maxDocsPerIndex) -
createDefault
-