public class RecordCompletionHandler<A>
extends Object
implements com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>
| Constructor and Description |
|---|
RecordCompletionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
delivered(A attachment) |
void |
failed(A attachment,
IOException ioe) |
A |
getAttachment() |
IOException |
getIOException() |
void |
replied(A attachment,
com.liferay.portal.kernel.nio.intraband.Datagram datagram) |
void |
submitted(A attachment) |
void |
timedOut(A attachment) |
void |
waitUntilDelivered() |
void |
waitUntilFailed() |
void |
waitUntilReplied() |
void |
waitUntilSubmitted() |
void |
waitUntilTimeouted() |
void |
waitUntilTimeouted(Selector selector) |
public void delivered(A attachment)
delivered in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>public void failed(A attachment, IOException ioe)
failed in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>public A getAttachment()
public IOException getIOException()
public void replied(A attachment, com.liferay.portal.kernel.nio.intraband.Datagram datagram)
replied in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>public void submitted(A attachment)
submitted in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>public void timedOut(A attachment)
timedOut in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>public void waitUntilDelivered()
throws InterruptedException
InterruptedExceptionpublic void waitUntilFailed()
throws InterruptedException
InterruptedExceptionpublic void waitUntilReplied()
throws InterruptedException
InterruptedExceptionpublic void waitUntilSubmitted()
throws InterruptedException
InterruptedExceptionpublic void waitUntilTimeouted()
throws InterruptedException
InterruptedExceptionpublic void waitUntilTimeouted(Selector selector)
throws InterruptedException
InterruptedException