1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 34 import java.util.Date ; 35 36 43 @Description("The Watchdog for a Server") 44 public interface ResinWatchdogMXBean { 45 49 52 @Description("The server id used when starting this instance" 53 + " of Resin, the value of `--server'") 54 public String getId(); 55 56 60 63 @Description("The current lifecycle state") 64 public String getState(); 65 66 69 @Description("The time that the watchdog was started") 70 public Date getInitialStartTime(); 71 72 75 @Description("The time that this instance was last started or restarted") 76 public Date getStartTime(); 77 78 82 85 @Description("The number of times the server has been restarted") 86 public int getStartCount(); 87 } 88 | Popular Tags |