public abstract class AbstractRotationStrategy extends Object implements RotationStrategy
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractRotationStrategy.Result |
| Modifier and Type | Field and Description |
|---|---|
protected ElasticsearchConfiguration |
elasticsearchConfiguration |
| Constructor and Description |
|---|
AbstractRotationStrategy(AuditEventSender auditEventSender,
NodeId nodeId,
ElasticsearchConfiguration elasticsearchConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
rotate(IndexSet indexSet) |
protected abstract AbstractRotationStrategy.Result |
shouldRotate(String indexName,
IndexSet indexSet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurationClass, defaultConfiguration, getStrategyNameprotected final ElasticsearchConfiguration elasticsearchConfiguration
public AbstractRotationStrategy(AuditEventSender auditEventSender, NodeId nodeId, ElasticsearchConfiguration elasticsearchConfiguration)
@Nullable protected abstract AbstractRotationStrategy.Result shouldRotate(String indexName, IndexSet indexSet)
public void rotate(IndexSet indexSet)
rotate in interface RotationStrategyCopyright © 2012–2021 Graylog, Inc.. All rights reserved.