1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 import com.caucho.jmx.Units; 34 35 42 @Description("The web-app management interface") 43 public interface WebAppMXBean extends DeployControllerMXBean { 44 48 51 @Description("The web-app's host") 52 public HostMXBean getHost(); 53 54 57 @Description("The web-app's session manager") 58 public SessionManagerMXBean getSessionManager(); 59 60 64 67 @Description("The configured filesystem directory for the web-app") 68 public String getRootDirectory(); 69 70 73 @Description("The configured context path that identifies the web-app in a url") 74 public String getContextPath(); 75 76 80 83 @Description("The current number of requests served by the web-app") 84 public int getRequestCount(); 85 86 90 @Description("The total number of requests served by the web-app since starting") 91 public long getRequestCountTotal(); 92 93 97 @Description("The total real (wall-clock) time in milliseconds taken by requests served by the web-app") 98 @Units("milliseconds") 99 public long getRequestTimeTotal(); 100 101 105 @Description("The total number of bytes received in client requests") 106 @Units("bytes") 107 public long getRequestReadBytesTotal(); 108 109 113 @Description("The total number of bytes sent to clients") 114 @Units("bytes") 115 public long getRequestWriteBytesTotal(); 116 117 121 @Description("The total number of times a client has disconnected before a request completed") 122 public long getClientDisconnectCountTotal(); 123 } 124 | Popular Tags |