public abstract class AbstractRolloverStrategy extends java.lang.Object implements RolloverStrategy, org.springframework.core.Ordered
RolloverStrategy implementations. This class also implements Ordered interface to be
 useful with ChainedFileRolloverStrategy and OrderedComposite.| Constructor and Description | 
|---|
| AbstractRolloverStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract RolloverStrategy | createInstance()Creates a new instance of  RolloverStrategy. | 
| int | getOrder()Implementation should override this method to define a chaining order. | 
| long | getPosition() | 
| void | setOrder(int order)Sets the order. | 
| void | setWritePosition(long position)Sets the write position. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasRolled, resetpublic int getOrder()
getOrder in interface org.springframework.core.OrderedOrdered.getOrder()public void setWritePosition(long position)
RolloverStrategysetWritePosition in interface RolloverStrategyposition - the new write positionpublic abstract RolloverStrategy createInstance()
RolloverStrategyFactoryRolloverStrategy.createInstance in interface RolloverStrategyFactory<RolloverStrategy>public void setOrder(int order)
order - the new orderOrderedpublic long getPosition()