public class ServiceDispatcher.LazyQueuingService extends ServiceDispatcher.QueuingService
| Constructor and Description |
|---|
ServiceDispatcher.LazyQueuingService(java.lang.String serviceName,
java.util.concurrent.BlockingQueue<java.nio.channels.SocketChannel> queue,
java.lang.Thread serviceThread) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
cancel()
Cancel the service as part of the registration being canceled.
|
(package private) void |
requestDispatch(java.nio.channels.SocketChannel channel)
Informs the service of a new request.
|
takepublic ServiceDispatcher.LazyQueuingService(java.lang.String serviceName,
java.util.concurrent.BlockingQueue<java.nio.channels.SocketChannel> queue,
java.lang.Thread serviceThread)
void requestDispatch(java.nio.channels.SocketChannel channel)
requestDispatch in class ServiceDispatcher.QueuingServicechannel - the channel on which the request was madevoid cancel()
cancel in class ServiceDispatcher.QueuingServiceCopyright (c) 2004-2012 Oracle. All rights reserved.