com.liferay.portal.kernel.nio.intraband
Class RecordCompletionHandler<A>
java.lang.Object
com.liferay.portal.kernel.nio.intraband.RecordCompletionHandler<A>
- All Implemented Interfaces:
- CompletionHandler<A>
public class RecordCompletionHandler<A>
- extends Object
- implements CompletionHandler<A>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordCompletionHandler
public RecordCompletionHandler()
delivered
public void delivered(A attachment)
- Specified by:
delivered in interface CompletionHandler<A>
failed
public void failed(A attachment,
IOException ioe)
- Specified by:
failed in interface CompletionHandler<A>
getAttachment
public A getAttachment()
getIOException
public IOException getIOException()
replied
public void replied(A attachment,
Datagram datagram)
- Specified by:
replied in interface CompletionHandler<A>
submitted
public void submitted(A attachment)
- Specified by:
submitted in interface CompletionHandler<A>
timedOut
public void timedOut(A attachment)
- Specified by:
timedOut in interface CompletionHandler<A>
waitUntilDelivered
public void waitUntilDelivered()
throws InterruptedException
- Throws:
InterruptedException
waitUntilFailed
public void waitUntilFailed()
throws InterruptedException
- Throws:
InterruptedException
waitUntilReplied
public void waitUntilReplied()
throws InterruptedException
- Throws:
InterruptedException
waitUntilSubmitted
public void waitUntilSubmitted()
throws InterruptedException
- Throws:
InterruptedException
waitUntilTimeouted
public void waitUntilTimeouted()
throws InterruptedException
- Throws:
InterruptedException
waitUntilTimeouted
public void waitUntilTimeouted(Selector selector)
throws InterruptedException
- Throws:
InterruptedException