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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
done, onError
public void countUp()
public void done()
IOCallback
done
in interface IOCallback
public void waitCompletion() throws InterruptedException
InterruptedException
public void onError(int errorCode, String errorMessage)
IOCallback
onError
in interface IOCallback
public IOCallback getDelegateCompletion()
public void setDelegateCompletion(IOCallback delegateCompletion)
delegateCompletion
- the delegateCompletion to setpublic String getErrorMessage()
public int getErrorCode()
Copyright © 2020 JBoss by Red Hat. All rights reserved.