Package com.illumon.iris.db.util
Class RemoteCommandProgress
java.lang.Object
com.illumon.iris.db.util.RemoteCommandProgress
- All Implemented Interfaces:
StatusCallback
public class RemoteCommandProgress extends Object implements StatusCallback
-
Constructor Summary
Constructors Constructor Description RemoteCommandProgress(com.fishlib.net.api.CommandSender commandSender, long sessionId)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.util.progress.StatusCallback
finish, finish, getStepValue, remaining, remaining, subrange, update
-
Constructor Details
-
RemoteCommandProgress
public RemoteCommandProgress(com.fishlib.net.api.CommandSender commandSender, long sessionId)
-
-
Method Details
-
update
Description copied from interface:StatusCallback
Update the progress % and status message.- Specified by:
update
in interfaceStatusCallback
- Parameters:
progress
- percent complete (0-100)statusSupplier
- optional message supplier
-
getValue
public int getValue()Description copied from interface:StatusCallback
get the current value of the progress object.- Specified by:
getValue
in interfaceStatusCallback
- Returns:
- the % complete of the topmost ProcessStatus - a number between 1 and 100
-