com.liferay.portal.kernel.nio.intraband.blocking
Class ExecutorIntraband
java.lang.Object
com.liferay.portal.kernel.nio.intraband.BaseIntraband
com.liferay.portal.kernel.nio.intraband.blocking.ExecutorIntraband
- All Implemented Interfaces:
- Intraband
public class ExecutorIntraband
- extends BaseIntraband
- Author:
- Shuyang Zhou
| Methods inherited from class com.liferay.portal.kernel.nio.intraband.BaseIntraband |
addResponseWaitingDatagram, cleanUpTimeoutResponseWaitingDatagrams, doSendSyncDatagram, ensureOpen, generateSequenceId, getDatagramReceiveHandlers, handleReading, handleWriting, isOpen, registerDatagramReceiveHandler, removeResponseWaitingDatagram, sendDatagram, sendDatagram, sendDatagram, sendSyncDatagram, sendSyncDatagram, unregisterDatagramReceiveHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THREAD_FACTORY
protected static final java.util.concurrent.ThreadFactory THREAD_FACTORY
executorService
protected final java.util.concurrent.ExecutorService executorService
ExecutorIntraband
public ExecutorIntraband(long defaultTimeout)
close
public void close()
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
close in interface Intraband- Overrides:
close in class BaseIntraband
- Throws:
java.lang.InterruptedException
java.io.IOException
registerChannel
public RegistrationReference registerChannel(java.nio.channels.Channel channel)
registerChannel
public RegistrationReference registerChannel(java.nio.channels.ScatteringByteChannel scatteringByteChannel,
java.nio.channels.GatheringByteChannel gatheringByteChannel)
doRegisterChannel
protected RegistrationReference doRegisterChannel(java.nio.channels.ScatteringByteChannel scatteringByteChannel,
java.nio.channels.GatheringByteChannel gatheringByteChannel)
doSendDatagram
protected void doSendDatagram(RegistrationReference registrationReference,
Datagram datagram)
- Specified by:
doSendDatagram in class BaseIntraband