protected abstract class FailoverProvider.CreateConnectionRequest extends FailoverProvider.FailoverRequest
id
Constructor and Description |
---|
CreateConnectionRequest(AsyncResult watcher) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Throwable result)
If the operation fails this method is invoked with the Exception
that caused the failure.
|
void |
onSuccess()
If the operation succeeds the resulting value produced is set to null and
the waiting parties are signaled.
|
void |
signalConnected() |
createTimedOutException, doTask, failureWhenOffline, isExpired, run, succeedsWhenOffline
getWrappedRequest, isComplete
public CreateConnectionRequest(AsyncResult watcher)
public void onSuccess()
AsyncResult
onSuccess
in interface AsyncResult
onSuccess
in class FailoverProvider.FailoverRequest
public void onFailure(Throwable result)
AsyncResult
onFailure
in interface AsyncResult
onFailure
in class FailoverProvider.FailoverRequest
result
- The error that resulted in this asynchronous operation failing.public void signalConnected()
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.