public interface IRSyncable extends IBinaryCapability
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRSyncable.LocalPeer |
static class |
IRSyncable.Peer |
static class |
IRSyncable.PodPeer |
IBinaryCapability.OpenShiftBinaryOptionOPENSHIFT_BINARY_LOCATION| Modifier and Type | Method and Description |
|---|---|
void |
await()
Blocks until the process is done.
|
int |
exitValue() |
boolean |
isDone()
Indicates if the
Process completed or not |
void |
stop()
Stop rsync'ing, forcibly if necessary.
|
InputStream |
sync(IRSyncable.Peer source,
IRSyncable.Peer destination,
IBinaryCapability.OpenShiftBinaryOption... options)
Synchronize the give
destination with the given source |
getName, isSupportedInputStream sync(IRSyncable.Peer source, IRSyncable.Peer destination, IBinaryCapability.OpenShiftBinaryOption... options)
destination with the given sourcesource - the source of the rsyncdestination - the destination of the rsyncoptions - the options to pass to the underlying oc rsync commandProcess streams to be displayed in a console.void stop()
boolean isDone()
Process completed or nottrue if the Process completed,
false otherwise.int exitValue()
Process exit value when it completed, -1 if
it's still runningvoid await()
throws InterruptedException
InterruptedException - if the current thread is interrupted while waitingCopyright © 2018 Red Hat, Inc. All Rights Reserved.