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 ioException) |
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 ioException)
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
InterruptedException
public void waitUntilFailed() throws InterruptedException
InterruptedException
public void waitUntilReplied() throws InterruptedException
InterruptedException
public void waitUntilSubmitted() throws InterruptedException
InterruptedException
public void waitUntilTimeouted() throws InterruptedException
InterruptedException
public void waitUntilTimeouted(Selector selector) throws InterruptedException
InterruptedException