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.
|
take
public 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.QueuingService
channel
- the channel on which the request was madevoid cancel()
cancel
in class ServiceDispatcher.QueuingService
Copyright (c) 2004-2012 Oracle. All rights reserved.