public class NoRolloverStrategy extends AbstractRolloverStrategy
RolloverStrategy which simply never does a rollover.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
NoRolloverStrategy() |
| Modifier and Type | Method and Description |
|---|---|
NoRolloverStrategy |
createInstance()
Creates a new instance of
RolloverStrategy. |
boolean |
hasRolled()
Checks if strategy wants to rollover.
|
void |
reset()
Reset the strategy state.
|
getOrder, getPosition, setOrder, setWritePositionpublic boolean hasRolled()
RolloverStrategypublic void reset()
RolloverStrategypublic NoRolloverStrategy createInstance()
RolloverStrategyFactoryRolloverStrategy.createInstance in interface RolloverStrategyFactory<RolloverStrategy>createInstance in class AbstractRolloverStrategy