public class NoopRetentionStrategy extends AbstractIndexCountBasedRetentionStrategy
| Constructor and Description |
|---|
NoopRetentionStrategy(Deflector deflector,
Indices indices,
ActivityWriter activityWriter,
AuditLogger auditLogger) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends RetentionStrategyConfig> |
configurationClass() |
RetentionStrategyConfig |
defaultConfiguration() |
protected Optional<Integer> |
getMaxNumberOfIndices() |
protected void |
retain(String indexName) |
retain@Inject public NoopRetentionStrategy(Deflector deflector, Indices indices, ActivityWriter activityWriter, AuditLogger auditLogger)
protected Optional<Integer> getMaxNumberOfIndices()
getMaxNumberOfIndices in class AbstractIndexCountBasedRetentionStrategyprotected void retain(String indexName)
retain in class AbstractIndexCountBasedRetentionStrategypublic Class<? extends RetentionStrategyConfig> configurationClass()
public RetentionStrategyConfig defaultConfiguration()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.