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