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
 java.lang.String getDisplayState()
          Returns the connection state.
 java.lang.String getRemoteAddress()
          Returns the remote address of the connection
 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.
 java.lang.String getUrl()
          Returns the current url being processed
 
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.


getUrl

java.lang.String getUrl()
Returns the current url being processed


getRemoteAddress

java.lang.String getRemoteAddress()
Returns the remote address of the connection


getDisplayState

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


getRequestActiveTime

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