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("A TCP connection") 43 public interface TcpConnectionMXBean extends ManagedObjectMXBean { 44 48 53 @Description("The connections thread id. If no thread is attached, returns -1") 54 public long getThreadId(); 55 56 59 @Description("The current lifecycle state") 60 public String getState(); 61 62 66 69 @Units("milliseconds") 70 @Description("The current time in milliseconds that the connection has been active for the request it is servicing") 71 public long getRequestActiveTime(); 72 } 73 | Popular Tags |