1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 import com.caucho.jmx.Units; 34 35 44 @Description("The protocol listening to an IP address.") 45 public interface PortMXBean extends ManagedObjectMXBean { 46 49 @Description("The configured protocol for the port") 50 public String getProtocolName(); 51 52 55 @Description("The configured ip address or host name used to bind the port") 56 public String getAddress(); 57 58 61 @Description("The configured port number used to bind the port") 62 public int getPort(); 63 64 67 @Description("The configured maximum number of current connections") 68 public int getConnectionMax(); 69 70 73 @Description("The configured maximum number of keepalive connections") 74 public int getKeepaliveMax(); 75 76 79 @Description("The configured timeout for keepalive connections") 80 public long getKeepaliveTimeout(); 81 82 @Description("True if the port is using SSL encryption") 83 public boolean isSSL(); 84 85 92 @Description("The configured timeout for socket reads when waiting for data from a client") 93 @Units("milliseconds") 94 public long getSocketTimeout(); 95 96 100 103 @Description("The current lifecycle state") 104 public String getState(); 105 106 110 113 @Description("The current number of threads used by the port") 114 public int getThreadCount(); 115 116 119 @Description("The current number of threads that are servicing requests") 120 public int getThreadActiveCount(); 121 122 126 @Description("The current number of threads that are" 127 + " idle and waiting to service requests") 128 public int getThreadIdleCount(); 129 130 134 @Description("The current number of connections that are" + 135 " in the keepalive state and are using" + 136 " a thread to maintain the connection") 137 public int getThreadKeepaliveCount(); 138 139 143 @Description("The current number of connections that are" + 144 " in the keepalive state and are using" + 145 " select to maintain the connection") 146 public int getSelectKeepaliveCount(); 147 148 152 @Description("The total number of requests serviced by the" 153 + " server since it started") 154 public long getRequestCountTotal(); 155 156 160 @Description("The total number of requests that have ended" 161 + " up in the keepalive state") 162 public long getKeepaliveCountTotal(); 163 164 168 @Description("The total number of connections that have" 169 + " terminated with a client disconnect") 170 public long getClientDisconnectCountTotal(); 171 172 176 @Description("The total duration in milliseconds that" 177 + " requests serviced by this service have taken") 178 @Units("milliseconds") 179 public long getRequestTimeTotal(); 180 181 185 @Description("The total number of bytes that requests" 186 + " serviced by this port have read") 187 @Units("milliseconds") 188 public long getReadBytesTotal(); 189 190 194 @Description("The total number of bytes that requests" 195 + " serviced by this port have written") 196 @Units("milliseconds") 197 public long getWriteBytesTotal(); 198 199 } 200 | Popular Tags |