- All Implemented Interfaces:
public class TimeBasedLogSink
- extends StatefulTaskProgressSink
This TaskProgressSink will output progress to the Logger if either the percentage progress changes or its been more than
n milliseconds since the last log entry.
This method can be called to indicate that progress is being made by a
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TimeBasedLogSink(org.apache.log4j.Logger log,
public void makeProgress(long taskProgress,
- Description copied from class:
- This method can be called to indicate that progress is being made by a
- Specified by:
makeProgress in interface
makeProgress in class
taskProgress - the current status of the task. This value will be clamped
between the minimum and maximum progress specified when the object is constructed.
currentSubTask - the name of the current sub task or null if there isn't one
message - an optional message about the progress or null
Copyright © 2002-2012 Atlassian. All Rights Reserved.