com.sleepycat.je.rep.impl
Class NodeStateService
java.lang.Object
com.sleepycat.je.rep.utilint.ServiceDispatcher.ExecutingService
com.sleepycat.je.rep.impl.NodeStateService
public class NodeStateService
- extends ServiceDispatcher.ExecutingService
The service registered by a RepNode to answer the state request from
another node. It can also be extended to be used by "Ping" command.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
NodeStateService
public NodeStateService(ServiceDispatcher dispatcher,
RepNode repNode)
process
public TextProtocol.ResponseMessage process(NodeStateProtocol.NodeStateRequest stateRequest)
- Process a node state querying request.
getRunnable
public Runnable getRunnable(SocketChannel socketChannel)
- Specified by:
getRunnable
in class ServiceDispatcher.ExecutingService
Copyright (c) 2004-2010 Oracle. All rights reserved.