Package org.apache.spark.util.logging
Interface RollingPolicy
public interface RollingPolicy
Defines the policy based on which 
RollingFileAppender will
 generate rolling files.- 
Method SummaryModifier and TypeMethodDescriptionvoidbytesWritten(long bytes) Notify that bytes have been writtenGet the desired name of the rollover filevoidNotify that rollover has occurredbooleanshouldRollover(long bytesToBeWritten) Whether rollover should be initiated at this moment
- 
Method Details- 
bytesWrittenvoid bytesWritten(long bytes) Notify that bytes have been written
- 
generateRolledOverFileSuffixString generateRolledOverFileSuffix()Get the desired name of the rollover file
- 
rolledOvervoid rolledOver()Notify that rollover has occurred
- 
shouldRolloverboolean shouldRollover(long bytesToBeWritten) Whether rollover should be initiated at this moment
 
-