Class SizeBasedRotationStrategyResponse
java.lang.Object
org.graylog2.rest.models.system.responses.SizeBasedRotationStrategyResponse
- All Implemented Interfaces:
DeflectorConfigResponse
public abstract class SizeBasedRotationStrategyResponse
extends Object
implements DeflectorConfigResponse
-
Field Summary
Fields inherited from interface org.graylog2.rest.models.system.responses.DeflectorConfigResponse
TYPE_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(int maxNumberOfIndices, long maxSizePerIndex) abstract long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.rest.models.system.responses.DeflectorConfigResponse
maxNumberOfIndices, type
-
Constructor Details
-
SizeBasedRotationStrategyResponse
public SizeBasedRotationStrategyResponse()
-
-
Method Details
-
maxSizePerIndex
public abstract long maxSizePerIndex() -
create
public static SizeBasedRotationStrategyResponse create(String type, int maxNumberOfIndices, long maxSizePerIndex) -
create
public static SizeBasedRotationStrategyResponse create(int maxNumberOfIndices, long maxSizePerIndex)
-