|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.core.journal.impl.SimpleWaitIOCallback
public class SimpleWaitIOCallback
A SimpleWaitIOCallback
Constructor Summary | |
---|---|
SimpleWaitIOCallback()
|
Method Summary | |
---|---|
void |
done()
Leave this method as soon as possible, or you would be blocking the whole notification thread |
static IOCallback |
getInstance()
|
void |
onError(int errorCode,
java.lang.String errorMessage)
Observation: The whole file will be probably failing if this happens. |
void |
waitCompletion()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleWaitIOCallback()
Method Detail |
---|
public static IOCallback getInstance()
public void done()
AIOCallback
done
in interface AIOCallback
public void onError(int errorCode, java.lang.String errorMessage)
AIOCallback
onError
in interface AIOCallback
public void waitCompletion() throws java.lang.Exception
waitCompletion
in interface IOCallback
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |