public class NodeStateService extends ServiceDispatcher.ExecutingService
Modifier and Type | Class and Description |
---|---|
(package private) class |
NodeStateService.NodeStateServiceRunnable |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME |
Constructor and Description |
---|
NodeStateService(ServiceDispatcher dispatcher,
RepNode repNode) |
Modifier and Type | Method and Description |
---|---|
java.lang.Runnable |
getRunnable(java.nio.channels.SocketChannel socketChannel) |
TextProtocol.ResponseMessage |
process(NodeStateProtocol.NodeStateRequest stateRequest)
Process a node state querying request.
|
cancel
public static final java.lang.String SERVICE_NAME
public NodeStateService(ServiceDispatcher dispatcher, RepNode repNode)
public TextProtocol.ResponseMessage process(NodeStateProtocol.NodeStateRequest stateRequest)
public java.lang.Runnable getRunnable(java.nio.channels.SocketChannel socketChannel)
getRunnable
in class ServiceDispatcher.ExecutingService
Copyright (c) 2004-2012 Oracle. All rights reserved.