Package org.opends.server.loggers
Interface RotatableLogFile
- 
public interface RotatableLogFileRepresents a file that can be rotated based on size or on time. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBytesWritten()Retrieves the number of bytes written to the file.CalendargetLastRotationTime()Retrieves the last time the file was rotated. 
 - 
 
- 
- 
Method Detail
- 
getBytesWritten
long getBytesWritten()
Retrieves the number of bytes written to the file.- Returns:
 - The number of bytes written to the file.
 
 
- 
getLastRotationTime
Calendar getLastRotationTime()
Retrieves the last time the file was rotated. If a file rotation never occurred, this value will be the time the server started.- Returns:
 - The last time file rotation occurred.
 
 
 - 
 
 -