Package org.opends.server.loggers
Interface RotatableLogFile
public interface RotatableLogFile
Represents a file that can be rotated based on size or on time.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Retrieves the number of bytes written to the file.Retrieves the last time the file was rotated.
-
Method Details
-
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.
-