protected abstract class FailoverProvider.CreateConnectionRequest extends FailoverProvider.FailoverRequest
activeProvider, id| Constructor and Description |
|---|
CreateConnectionRequest(AsyncResult watcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(ProviderException 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() |
createOfflineFailureException, createTimedOutException, doTask, failureWhenOffline, isExpired, run, succeedsWhenOfflinegetWrappedRequest, isCompletepublic CreateConnectionRequest(AsyncResult watcher)
public void onSuccess()
AsyncResultonSuccess in interface AsyncResultonSuccess in class FailoverProvider.FailoverRequestpublic void onFailure(ProviderException result)
AsyncResultonFailure in interface AsyncResultonFailure in class FailoverProvider.FailoverRequestresult - The error that resulted in this asynchronous operation failing.public void signalConnected()
Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.