Java Doc for ServerMXBean.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.ServerMXBean

All known Subclasses:   com.caucho.server.cluster.ServerAdmin,
ServerMXBean
public interface ServerMXBean extends ManagedObjectMXBean(Code)
Management interface for the server. Each server corresponds to a JVM instance running Resin.

Since exactly on ServerMBean is running at a time it has a unique mbean name,

 resin:type=Server
 




Method Summary
 longgetClientDisconnectCountTotal()
     The total number of connections that have terminated with com.caucho.vfs.ClientDisconnectException .
public  ClusterMXBeangetCluster()
    
public  PortMXBeangetClusterPort()
    
public  doublegetCpuLoadAvg()
     Returns the current CPU load average.
public  DategetCurrentTime()
     Returns the current time according to the server.
public  StringgetId()
     Returns the -server id.
public  longgetInvocationCacheHitCountTotal()
     Returns the invocation cache hit count.
public  longgetInvocationCacheMissCountTotal()
     Returns the invocation cache miss count.
public  longgetKeepaliveCountTotal()
     Returns the number of requests that have ended up in the keepalive state for this server in it's lifetime.
public  PortMXBean[]getPorts()
     Returns the array of ports.
public  longgetRequestCountTotal()
     Returns the total number of requests serviced by the server since it started.
 longgetRequestReadBytesTotal()
     Returns the total number of bytes that requests serviced by this server have read.
 longgetRequestTimeTotal()
     Returns the total duration in milliseconds that requests serviced by this server have taken.
 longgetRequestWriteBytesTotal()
     Returns the total number of bytes that requests serviced by this server have written.
public  longgetRuntimeMemory()
     Returns the current total amount of memory available for the JVM, in bytes.
public  longgetRuntimeMemoryFree()
     Returns the current free amount of memory available for the JVM, in bytes.
public  intgetSelectKeepaliveCount()
     Returns the current number of connections that are in the keepalive state and are using select to maintain the connection.
public  DategetStartTime()
     Returns the last start time.
public  StringgetState()
     The current lifecycle state.
public  intgetThreadActiveCount()
     Returns the current number of threads that are servicing requests.
public  intgetThreadKeepaliveCount()
     Returns the current number of connections that are in the keepalive state and are using a thread to maintain the connection.
public  ThreadPoolMXBeangetThreadPool()
    
public  booleanisDetailedStatistics()
     Returns true if detailed statistics are being kept.
public  booleanisSelectManagerEnabled()
    
public  voidrestart()
     Restart this Resin server.



Method Detail
getClientDisconnectCountTotal
long getClientDisconnectCountTotal()(Code)
The total number of connections that have terminated with com.caucho.vfs.ClientDisconnectException .



getCluster
public ClusterMXBean getCluster()(Code)
Returns the cluster owning this server



getClusterPort
public PortMXBean getClusterPort()(Code)
Returns the cluster port



getCpuLoadAvg
public double getCpuLoadAvg()(Code)
Returns the current CPU load average.



getCurrentTime
public Date getCurrentTime()(Code)
Returns the current time according to the server.



getId
public String getId()(Code)
Returns the -server id.



getInvocationCacheHitCountTotal
public long getInvocationCacheHitCountTotal()(Code)
Returns the invocation cache hit count.



getInvocationCacheMissCountTotal
public long getInvocationCacheMissCountTotal()(Code)
Returns the invocation cache miss count.



getKeepaliveCountTotal
public long getKeepaliveCountTotal()(Code)
Returns the number of requests that have ended up in the keepalive state for this server in it's lifetime.



getPorts
public PortMXBean[] getPorts()(Code)
Returns the array of ports.



getRequestCountTotal
public long getRequestCountTotal()(Code)
Returns the total number of requests serviced by the server since it started.



getRequestReadBytesTotal
long getRequestReadBytesTotal()(Code)
Returns the total number of bytes that requests serviced by this server have read.



getRequestTimeTotal
long getRequestTimeTotal()(Code)
Returns the total duration in milliseconds that requests serviced by this server have taken.



getRequestWriteBytesTotal
long getRequestWriteBytesTotal()(Code)
Returns the total number of bytes that requests serviced by this server have written.



getRuntimeMemory
public long getRuntimeMemory()(Code)
Returns the current total amount of memory available for the JVM, in bytes.



getRuntimeMemoryFree
public long getRuntimeMemoryFree()(Code)
Returns the current free amount of memory available for the JVM, in bytes.



getSelectKeepaliveCount
public int getSelectKeepaliveCount()(Code)
Returns the current number of connections that are in the keepalive state and are using select to maintain the connection.



getStartTime
public Date getStartTime()(Code)
Returns the last start time.



getState
public String getState()(Code)
The current lifecycle state.



getThreadActiveCount
public int getThreadActiveCount()(Code)
Returns the current number of threads that are servicing requests.



getThreadKeepaliveCount
public int getThreadKeepaliveCount()(Code)
Returns the current number of connections that are in the keepalive state and are using a thread to maintain the connection.



getThreadPool
public ThreadPoolMXBean getThreadPool()(Code)
Returns the server's thread pool administration



isDetailedStatistics
public boolean isDetailedStatistics()(Code)
Returns true if detailed statistics are being kept.



isSelectManagerEnabled
public boolean isSelectManagerEnabled()(Code)
Returns true if a com.caucho.server.port.AbstractSelectManager is enabled and active



restart
public void restart()(Code)
Restart this Resin 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.