public class TransactionCallback extends Object implements IOCallback
| Constructor and Description |
|---|
TransactionCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
countUp() |
void |
done()
Method for sync notifications.
|
IOCallback |
getDelegateCompletion() |
int |
getErrorCode() |
String |
getErrorMessage() |
void |
onError(int errorCode,
String errorMessage)
Method for error notifications.
|
void |
setDelegateCompletion(IOCallback delegateCompletion) |
void |
waitCompletion() |
public void countUp()
public void done()
IOCallbackdone in interface IOCallbackpublic void waitCompletion()
throws InterruptedException
InterruptedExceptionpublic void onError(int errorCode,
String errorMessage)
IOCallbackonError in interface IOCallbackpublic IOCallback getDelegateCompletion()
public void setDelegateCompletion(IOCallback delegateCompletion)
delegateCompletion - the delegateCompletion to setpublic String getErrorMessage()
public int getErrorCode()
Copyright © 2018 JBoss by Red Hat. All rights reserved.