| Package | Description |
|---|---|
| io.parallec.core.actor |
Actors to execute parallel task and return responses.
|
| io.parallec.core.actor.poll |
Classes for handling Async APIs with polling progress APIs
with success / failure criteria
|
| io.parallec.core.commander.workflow.ssh |
Work flow utilities on ssh.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseOnSingeRequest |
HttpWorker.onComplete(com.ning.http.client.Response response)
On complete.
|
| Modifier and Type | Method and Description |
|---|---|
Future<ResponseOnSingeRequest> |
SshWorker.getResponseFuture()
Gets the response future.
|
Future<ResponseOnSingeRequest> |
PingWorker.getResponseFuture()
Gets the response future.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SshWorker.onComplete(ResponseOnSingeRequest sshResponse)
On complete.
|
void |
PingWorker.onComplete(ResponseOnSingeRequest pingResponse)
On complete.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SshWorker.setResponseFuture(Future<ResponseOnSingeRequest> responseFuture)
Sets the response future.
|
void |
PingWorker.setResponseFuture(Future<ResponseOnSingeRequest> responseFuture)
Sets the response future.
|
| Modifier and Type | Method and Description |
|---|---|
double |
HttpPollerProcessor.getProgressFromResponse(ResponseOnSingeRequest myResponse)
Gets the progress from response.
|
String |
HttpPollerProcessor.getUuidFromResponse(ResponseOnSingeRequest myResponse)
Gets the uuid from response.
|
boolean |
HttpPollerProcessor.ifTaskCompletedSuccessOrFailureFromResponse(ResponseOnSingeRequest myResponse)
If task completed success or failure from response.
|
boolean |
HttpPollerProcessor.ifThereIsErrorInResponse(ResponseOnSingeRequest myResponse)
If there is error in response.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseOnSingeRequest |
SshProvider.executeAndGenResponse(com.jcraft.jsch.ChannelExec channel)
Seems there are bad naming in the library the sysout is in
channel.getInputStream(); the syserr is in
((ChannelExec)channel).setErrStream(os);
|
ResponseOnSingeRequest |
SshProvider.executeSshCommand()
finally: will close the connection.
|
ResponseOnSingeRequest |
SshProvider.genErrorResponse(Exception t)
Gen error response.
|
Copyright © 2015–2016 eBay. All rights reserved.