com.caucho.management.server
Interface TcpConnectionMXBean

All Superinterfaces:
ManagedObjectMXBean

public interface TcpConnectionMXBean
extends ManagedObjectMXBean

Represents a tcp-connection

 resin:type=TcpConnection,name=foo.com-80-237
 


Method Summary
 long getRequestActiveTime()
          Returns the time this request has spent in the active state.
 java.lang.String getState()
          Returns the connection state.
 long getThreadId()
          Returns the thread-id.
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getThreadId

long getThreadId()
Returns the thread-id. Management applications will use the thread-id in conjunction with the JDK's ThreadMXBean to get more Thread information.


getState

java.lang.String getState()
Returns the connection state.


getRequestActiveTime

@Units(value="milliseconds")
long getRequestActiveTime()
Returns the time this request has spent in the active state.