Class IndexRotator
java.lang.Object
org.graylog2.indexer.rotation.common.IndexRotator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionIndexRotator(Indices indices, AuditEventSender auditEventSender, NodeId nodeId) -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexRotator.ResultcreateResult(boolean shouldRotate, String message, String rotatorClass) voidrotate(IndexSet indexSet, IndexRotator.RotationChecker rotationChecker)
-
Constructor Details
-
IndexRotator
-
-
Method Details
-
createResult
public static IndexRotator.Result createResult(boolean shouldRotate, String message, String rotatorClass) -
rotate
-