FileDocCategorySizeDatePackage
LogRotationTimerTask.javaAPI DocGlassfish v2 API2594Fri May 04 22:35:44 BST 2007com.sun.enterprise.server.logging

LogRotationTimerTask

public class LogRotationTimerTask extends TimerTask

Fields Summary
private long
timerValue
Constructors Summary
public LogRotationTimerTask(long timeInMinutes)

        timerValue = timeInMinutes * 60 * 1000;
    
Methods Summary
public longgetRotationTimerValue()

        return timerValue;
    
public longgetRotationTimerValueInMinutes()

        // We are just converting the value from milliseconds back to 
        // minutes
        return timerValue/60000;
    
public voidrun()

        FileandSyslogHandler.getInstance( ).requestRotation( );