Java Doc for ServerConnectorMXBean.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » management » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.management.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.caucho.management.server.ServerConnectorMXBean

All known Subclasses:   com.caucho.server.cluster.ServerConnectorAdmin,
ServerConnectorMXBean
public interface ServerConnectorMXBean extends ManagedObjectMXBean(Code)
A client-view of a cluster's server. The load balancer and persistent store will use the ClusterClient to communicate to other servers in the cluster. The JMX name looks like:
 resin:type=ServerConnectorn,name=web-a
 




Method Summary
public  voidenableSessionOnly()
     Enables connections to the target server.
public  StringgetAddress()
     Returns the ip address or host name of the server.
public  ClusterMXBeangetCluster()
     The containing cluster.
public  intgetClusterIndex()
     The cluster index of the server.
public  longgetConnectTimeout()
     The timeout in milliseconds for connecting to the server.
public  intgetConnectionActiveCount()
     Returns the number of connections actively being used to communicate with the target server.
public  longgetConnectionBusyCountTotal()
     Returns the number of connections which resulted in a busy response.
public  longgetConnectionFailCountTotal()
     Returns the number of connections which could not connect to the target server.
public  intgetConnectionIdleCount()
     Returns the number of open but currently unused connections to the target server.
public  longgetConnectionKeepaliveCountTotal()
     Returns the number of connections that have been made to the target server.
public  longgetConnectionNewCountTotal()
     Returns the number of connections that have been made to the target server.
public  longgetIdleTime()
     Returns the timeout for an idle socket that is connected to the target server.
public  DategetLastBusyTime()
     Returns the last time of the busy response.
public  DategetLastFailTime()
     Returns the time of the last failure.
public  doublegetLatencyFactor()
    
public  intgetPort()
     Returns the resin/admin port number of the server.
public  longgetRecoverTime()
     Returns the timeout for assuming a target server remains unavailable once a connection attempt fails.
public  doublegetServerCpuLoadAvg()
     Returns the server's load average.
public  longgetSocketTimeout()
     Returns the timeout to use for reads when communicating with the target server.
public  StringgetState()
     Returns the lifecycle state.
public  longgetWarmupTime()
     Returns the warmup time in milliseconds.
public  intgetWeight()
     Returns the load-balancer weight, defaulting to 100.
public  booleanping()
     Returns true if a connection can be made to the target server.
public  voidstart()
     Enables connections to the target server.
public  voidstop()
     Disables connections to the target server.



Method Detail
enableSessionOnly
public void enableSessionOnly()(Code)
Enables connections to the target server.



getAddress
public String getAddress()(Code)
Returns the ip address or host name of the server.



getCluster
public ClusterMXBean getCluster()(Code)
The containing cluster.



getClusterIndex
public int getClusterIndex()(Code)
The cluster index of the server.



getConnectTimeout
public long getConnectTimeout()(Code)
The timeout in milliseconds for connecting to the server.



getConnectionActiveCount
public int getConnectionActiveCount()(Code)
Returns the number of connections actively being used to communicate with the target server.



getConnectionBusyCountTotal
public long getConnectionBusyCountTotal()(Code)
Returns the number of connections which resulted in a busy response.



getConnectionFailCountTotal
public long getConnectionFailCountTotal()(Code)
Returns the number of connections which could not connect to the target server.



getConnectionIdleCount
public int getConnectionIdleCount()(Code)
Returns the number of open but currently unused connections to the target server.



getConnectionKeepaliveCountTotal
public long getConnectionKeepaliveCountTotal()(Code)
Returns the number of connections that have been made to the target server.



getConnectionNewCountTotal
public long getConnectionNewCountTotal()(Code)
Returns the number of connections that have been made to the target server.



getIdleTime
public long getIdleTime()(Code)
Returns the timeout for an idle socket that is connected to the target server. If the socket is not used within the timeout period the idle connection is closed.



getLastBusyTime
public Date getLastBusyTime()(Code)
Returns the last time of the busy response.



getLastFailTime
public Date getLastFailTime()(Code)
Returns the time of the last failure.



getLatencyFactor
public double getLatencyFactor()(Code)
Returns the server's latency factory



getPort
public int getPort()(Code)
Returns the resin/admin port number of the server.



getRecoverTime
public long getRecoverTime()(Code)
Returns the timeout for assuming a target server remains unavailable once a connection attempt fails. When the timeout period elapses another attempt is made to connect to the target server



getServerCpuLoadAvg
public double getServerCpuLoadAvg()(Code)
Returns the server's load average.



getSocketTimeout
public long getSocketTimeout()(Code)
Returns the timeout to use for reads when communicating with the target server.



getState
public String getState()(Code)
Returns the lifecycle state.



getWarmupTime
public long getWarmupTime()(Code)
Returns the warmup time in milliseconds.



getWeight
public int getWeight()(Code)
Returns the load-balancer weight, defaulting to 100.



ping
public boolean ping()(Code)
Returns true if a connection can be made to the target server.



start
public void start()(Code)
Enables connections to the target server.



stop
public void stop()(Code)
Disables connections to the target server.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.