KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > monitoring > MonitoringConstants


1 /*
2  * @(#)MonitoringConstants.java 1.7 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.spi.monitoring;
9
10 public interface MonitoringConstants
11 {
12     public static final String JavaDoc DEFAULT_MONITORING_ROOT = "orb";
13     public static final String JavaDoc DEFAULT_MONITORING_ROOT_DESCRIPTION =
14         "ORB Management and Monitoring Root";
15
16     //
17
// Connection Monitoring
18
//
19

20     public static final String JavaDoc CONNECTION_MONITORING_ROOT =
21     "Connections";
22     public static final String JavaDoc CONNECTION_MONITORING_ROOT_DESCRIPTION =
23     "Statistics on inbound/outbound connections";
24
25     public static final String JavaDoc INBOUND_CONNECTION_MONITORING_ROOT =
26     "Inbound";
27     public static final String JavaDoc INBOUND_CONNECTION_MONITORING_ROOT_DESCRIPTION=
28     "Statistics on inbound connections";
29
30     public static final String JavaDoc OUTBOUND_CONNECTION_MONITORING_ROOT =
31     "Outbound";
32     public static final String JavaDoc OUTBOUND_CONNECTION_MONITORING_ROOT_DESCRIPTION=
33     "Statistics on outbound connections";
34
35     public static final String JavaDoc CONNECTION_MONITORING_DESCRIPTION =
36     "Connection statistics";
37
38     public static final String JavaDoc CONNECTION_TOTAL_NUMBER_OF_CONNECTIONS =
39     "NumberOfConnections";
40     public static final String JavaDoc CONNECTION_TOTAL_NUMBER_OF_CONNECTIONS_DESCRIPTION =
41     "The total number of connections";
42     public static final String JavaDoc CONNECTION_NUMBER_OF_IDLE_CONNECTIONS =
43     "NumberOfIdleConnections";
44     public static final String JavaDoc CONNECTION_NUMBER_OF_IDLE_CONNECTIONS_DESCRIPTION =
45     "The number of idle connections";
46     public static final String JavaDoc CONNECTION_NUMBER_OF_BUSY_CONNECTIONS =
47     "NumberOfBusyConnections";
48     public static final String JavaDoc CONNECTION_NUMBER_OF_BUSY_CONNECTIONS_DESCRIPTION =
49     "The number of busy connections";
50  
51     //
52
// ThreadPool and WorkQueue monitoring constants
53
//
54

55     public static final String JavaDoc THREADPOOL_MONITORING_ROOT = "threadpool";
56     public static final String JavaDoc THREADPOOL_MONITORING_ROOT_DESCRIPTION =
57     "Monitoring for all ThreadPool instances";
58     public static final String JavaDoc THREADPOOL_MONITORING_DESCRIPTION =
59     "Monitoring for a ThreadPool";
60     public static final String JavaDoc THREADPOOL_CURRENT_NUMBER_OF_THREADS =
61     "currentNumberOfThreads";
62     public static final String JavaDoc THREADPOOL_CURRENT_NUMBER_OF_THREADS_DESCRIPTION =
63     "Current number of total threads in the ThreadPool";
64     public static final String JavaDoc THREADPOOL_NUMBER_OF_AVAILABLE_THREADS =
65     "numberOfAvailableThreads";
66     public static final String JavaDoc THREADPOOL_NUMBER_OF_AVAILABLE_THREADS_DESCRIPTION =
67     "Number of available threads in the ThreadPool";
68     public static final String JavaDoc THREADPOOL_NUMBER_OF_BUSY_THREADS =
69     "numberOfBusyThreads";
70     public static final String JavaDoc THREADPOOL_NUMBER_OF_BUSY_THREADS_DESCRIPTION =
71     "Number of busy threads in the ThreadPool";
72     public static final String JavaDoc THREADPOOL_AVERAGE_WORK_COMPLETION_TIME =
73     "averageWorkCompletionTime";
74     public static final String JavaDoc THREADPOOL_AVERAGE_WORK_COMPLETION_TIME_DESCRIPTION =
75     "Average elapsed time taken to complete a work item by the ThreadPool";
76     public static final String JavaDoc THREADPOOL_CURRENT_PROCESSED_COUNT =
77     "currentProcessedCount";
78     public static final String JavaDoc THREADPOOL_CURRENT_PROCESSED_COUNT_DESCRIPTION =
79     "Number of Work items processed by the ThreadPool";
80
81     public static final String JavaDoc WORKQUEUE_MONITORING_DESCRIPTION =
82     "Monitoring for a Work Queue";
83     public static final String JavaDoc WORKQUEUE_TOTAL_WORK_ITEMS_ADDED =
84     "totalWorkItemsAdded";
85     public static final String JavaDoc WORKQUEUE_TOTAL_WORK_ITEMS_ADDED_DESCRIPTION =
86     "Total number of Work items added to the Queue";
87     public static final String JavaDoc WORKQUEUE_WORK_ITEMS_IN_QUEUE =
88     "workItemsInQueue";
89     public static final String JavaDoc WORKQUEUE_WORK_ITEMS_IN_QUEUE_DESCRIPTION =
90     "Number of Work items in the Queue to be processed";
91     public static final String JavaDoc WORKQUEUE_AVERAGE_TIME_IN_QUEUE =
92     "averageTimeInQueue";
93     public static final String JavaDoc WORKQUEUE_AVERAGE_TIME_IN_QUEUE_DESCRIPTION =
94     "Average time a work item waits in the work queue";
95 }
96
97 // End of file.
98
Popular Tags