Liferay 7.0-ce-b4

com.liferay.portal.kernel.nio.intraband
Class RecordCompletionHandler<A>

java.lang.Object
  extended by com.liferay.portal.kernel.nio.intraband.RecordCompletionHandler<A>
All Implemented Interfaces:
CompletionHandler<A>

public class RecordCompletionHandler<A>
extends Object
implements CompletionHandler<A>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.liferay.portal.kernel.nio.intraband.CompletionHandler
CompletionHandler.CompletionType
 
Constructor Summary
RecordCompletionHandler()
           
 
Method Summary
 void delivered(A attachment)
           
 void failed(A attachment, IOException ioe)
           
 A getAttachment()
           
 IOException getIOException()
           
 void replied(A attachment, Datagram datagram)
           
 void submitted(A attachment)
           
 void timedOut(A attachment)
           
 void waitUntilDelivered()
           
 void waitUntilFailed()
           
 void waitUntilReplied()
           
 void waitUntilSubmitted()
           
 void waitUntilTimeouted()
           
 void waitUntilTimeouted(Selector selector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordCompletionHandler

public RecordCompletionHandler()
Method Detail

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

Liferay 7.0-ce-b4