public class NoRolloverStrategy extends AbstractRolloverStrategy
RolloverStrategy
which simply never does a rollover.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, setWritePosition
public boolean hasRolled()
RolloverStrategy
public void reset()
RolloverStrategy
public NoRolloverStrategy createInstance()
RolloverStrategyFactory
RolloverStrategy
.createInstance
in interface RolloverStrategyFactory<RolloverStrategy>
createInstance
in class AbstractRolloverStrategy