org.springframework.data.hadoop.store.strategy.rollover
Class NoRolloverStrategy
java.lang.Object
org.springframework.data.hadoop.store.strategy.rollover.AbstractRolloverStrategy
org.springframework.data.hadoop.store.strategy.rollover.NoRolloverStrategy
- All Implemented Interfaces:
- Ordered, RolloverStrategy
public class NoRolloverStrategy
- extends AbstractRolloverStrategy
A RolloverStrategy which simply never does a rollover.
- Author:
- Janne Valkealahti
|
Method Summary |
boolean |
hasRolled()
Checks if strategy wants to rollover. |
void |
reset()
Reset the strategy state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoRolloverStrategy
public NoRolloverStrategy()
hasRolled
public boolean hasRolled()
- Description copied from interface:
RolloverStrategy
- Checks if strategy wants to rollover.
- Returns:
- true, if rollover should happen
reset
public void reset()
- Description copied from interface:
RolloverStrategy
- Reset the strategy state.