KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > common > jmx > monitoring > DataCollection


1 /**
2  * Sequoia: Database clustering technology.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Copyright (C) 2005 AmicoSoft, Inc. dba Emic Networks
6  * Contact: sequoia@continuent.org
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  * Initial developer(s): Nicolas Modrzyk.
21  * Contributor(s): Emmanuel Cecchet.
22  */

23
24 package org.continuent.sequoia.common.jmx.monitoring;
25
26 /**
27  * This public static final interface is used as a reference to what kind of
28  * information can be collected and monitored with the mbean monitor.
29  *
30  * @author <a HREF="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk </a>
31  * @author <a HREF="mailto:emmanuel.cecchet@emicnetworks.com">Emmanuel Cecchet
32  * </a>
33  */

34 public final class DataCollection
35 {
36   /** Backend active transaction identifier */
37   public static final int BACKEND_ACTIVE_TRANSACTION = 10;
38   /** Backend pending request identifier */
39   public static final int BACKEND_PENDING_REQUESTS = 11;
40   /** Backend active connections identifier */
41   public static final int BACKEND_TOTAL_ACTIVE_CONNECTIONS = 12;
42   /** Backend total request identifier */
43   public static final int BACKEND_TOTAL_REQUEST = 13;
44   /** Backend total read request */
45   public static final int BACKEND_TOTAL_READ_REQUEST = 14;
46   /** Backend total write request */
47   public static final int BACKEND_TOTAL_WRITE_REQUEST = 15;
48   /** Backend total transactions identifier */
49   public static final int BACKEND_TOTAL_TRANSACTIONS = 16;
50
51   /** Cache statistics count select identifier */
52   public static final int CACHE_STATS_COUNT_SELECT = 20;
53   /** Cache statistics count hits identifier */
54   public static final int CACHE_STATS_COUNT_HITS = 21;
55   /** Cache statistics count insert identifier */
56   public static final int CACHE_STATS_COUNT_INSERT = 22;
57   /** Cache statistics hit percentage identifier */
58   public static final int CACHE_STATS_HITS_PERCENTAGE = 23;
59   /** Cache statistics number of entries identifier */
60   public static final int CACHE_STATS_NUMBER_ENTRIES = 24;
61
62   /** Client time active identifier */
63   public static final int CLIENT_TIME_ACTIVE = 32;
64
65   /** Controller total memory identifier */
66   public static final int CONTROLLER_TOTAL_MEMORY = 40;
67   /** Controller used memory identifier */
68   public static final int CONTROLLER_USED_MEMORY = 41;
69   /** Controller thread number identifier */
70   public static final int CONTROLLER_THREADS_NUMBER = 42;
71   /** Controller worker pending queue identifier */
72   public static final int CONTROLLER_WORKER_PENDING_QUEUE = 43;
73   /** Controller idle worker threads identifier */
74   public static final int CONTROLLER_IDLE_WORKER_THREADS = 44;
75
76   /** Database active threads identifier */
77   public static final int DATABASES_ACTIVE_THREADS = 50;
78   /** Database pending connection identifier */
79   public static final int DATABASES_PENDING_CONNECTIONS = 51;
80   /** Database number threads identifier */
81   public static final int DATABASES_NUMBER_OF_THREADS = 52;
82
83   /** Scheduler number read identifier */
84   public static final int SCHEDULER_NUMBER_READ = 60;
85   /** Scheduler number writes identifier */
86   public static final int SCHEDULER_NUMBER_WRITES = 61;
87   /** Scheduler pending transactions identifier */
88   public static final int SCHEDULER_PENDING_TRANSACTIONS = 62;
89   /** Scheduler pending writes identifier */
90   public static final int SCHEDULER_PENDING_WRITES = 63;
91   /** Scheduler number requests identifier */
92   public static final int SCHEDULER_NUMBER_REQUESTS = 64;
93 }
94
Popular Tags