Liferay 7.0-ga1 portal-test

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:
com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>

public class RecordCompletionHandler<A>
extends Object
implements com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.liferay.portal.kernel.nio.intraband.CompletionHandler
com.liferay.portal.kernel.nio.intraband.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, 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)
           
 
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 com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>

failed

public void failed(A attachment,
                   IOException ioe)
Specified by:
failed in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>

getAttachment

public A getAttachment()

getIOException

public IOException getIOException()

replied

public void replied(A attachment,
                    com.liferay.portal.kernel.nio.intraband.Datagram datagram)
Specified by:
replied in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>

submitted

public void submitted(A attachment)
Specified by:
submitted in interface com.liferay.portal.kernel.nio.intraband.CompletionHandler<A>

timedOut

public void timedOut(A attachment)
Specified by:
timedOut in interface com.liferay.portal.kernel.nio.intraband.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-ga1 portal-test