public static class Repack.MonitorProcessHandler extends java.lang.Object implements ProcessHandler
ProcessHandler.BlockingHandler, ProcessHandler.NoOutBlockingHandler| Constructor and Description |
|---|
MonitorProcessHandler(IServerTaskMonitor monitor,
net.bluemind.maintenance.postgresql.Repack.CompletionHandler completionHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(int exitCode) |
void |
log(java.lang.String message,
boolean cont) |
java.util.concurrent.CompletableFuture<java.lang.Integer> |
promise() |
void |
starting(java.lang.String taskRef) |
public MonitorProcessHandler(IServerTaskMonitor monitor, net.bluemind.maintenance.postgresql.Repack.CompletionHandler completionHandler)
public void log(java.lang.String message,
boolean cont)
log in interface ProcessHandlercont - is true when the line was longer than our max frame size.
The received line did not end with a line-feed in the
original outputpublic void completed(int exitCode)
completed in interface ProcessHandlerpublic void starting(java.lang.String taskRef)
starting in interface ProcessHandlerpublic java.util.concurrent.CompletableFuture<java.lang.Integer> promise()
Copyright © 2022. All Rights Reserved.