com.sleepycat.je.rep.monitor
Class MonitorService
java.lang.Object
com.sleepycat.je.rep.utilint.ServiceDispatcher.ExecutingService
com.sleepycat.je.rep.monitor.MonitorService
public class MonitorService
- extends ServiceDispatcher.ExecutingService
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
MonitorService
public MonitorService(Monitor monitor,
ServiceDispatcher dispatcher)
process
public TextProtocol.ResponseMessage process(Protocol.GroupChange groupChange)
- Notify the monitor about the group change (add/remove a node) event.
process
public TextProtocol.ResponseMessage process(Protocol.JoinGroup joinGroup)
- Notify the monitor about a node has joined the group.
process
public TextProtocol.ResponseMessage process(Protocol.LeaveGroup leaveGroup)
- Notify the monitor about a node has left the group.
getRunnable
public Runnable getRunnable(SocketChannel socketChannel)
- Specified by:
getRunnable
in class ServiceDispatcher.ExecutingService
Copyright (c) 2004-2010 Oracle. All rights reserved.