org.csc.phynixx.watchdog.jmx
Class WatchdogManagement

java.lang.Object
  extended by org.csc.phynixx.watchdog.jmx.WatchdogManagement
All Implemented Interfaces:
WatchdogManagementMBean

public class WatchdogManagement
extends Object
implements WatchdogManagementMBean


Constructor Summary
WatchdogManagement()
           
 
Method Summary
 void activate(long id)
           
 void deactivate(long id)
           
 int getCountWatchDogs()
           
 String[] getWatchdogInfos()
           
 void restart()
           
 void restart(long id)
           
 String[] showWatchdogInfo(long id)
           
 String[][] showWatchdogInfos()
           
 void shutdown(long id)
           
 void stop()
           
 void stop(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchdogManagement

public WatchdogManagement()
Method Detail

getCountWatchDogs

public int getCountWatchDogs()
                      throws Exception
Specified by:
getCountWatchDogs in interface WatchdogManagementMBean
Throws:
Exception

restart

public void restart()
             throws Exception
Specified by:
restart in interface WatchdogManagementMBean
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface WatchdogManagementMBean
Throws:
Exception

getWatchdogInfos

public String[] getWatchdogInfos()
                          throws Exception
Specified by:
getWatchdogInfos in interface WatchdogManagementMBean
Throws:
Exception

showWatchdogInfos

public String[][] showWatchdogInfos()
Specified by:
showWatchdogInfos in interface WatchdogManagementMBean

showWatchdogInfo

public String[] showWatchdogInfo(long id)
                          throws Exception
Specified by:
showWatchdogInfo in interface WatchdogManagementMBean
Throws:
Exception

restart

public void restart(long id)
             throws Exception
Specified by:
restart in interface WatchdogManagementMBean
Throws:
Exception

stop

public void stop(long id)
          throws Exception
Specified by:
stop in interface WatchdogManagementMBean
Throws:
Exception

shutdown

public void shutdown(long id)
              throws Exception
Specified by:
shutdown in interface WatchdogManagementMBean
Throws:
Exception

activate

public void activate(long id)
              throws Exception
Specified by:
activate in interface WatchdogManagementMBean
Throws:
Exception

deactivate

public void deactivate(long id)
                throws Exception
Specified by:
deactivate in interface WatchdogManagementMBean
Throws:
Exception


Copyright © 2015. All rights reserved.