01: /**
02: * Sequoia: Database clustering technology.
03: * Copyright (C) 2002-2004 French National Institute For Research In Computer
04: * Science And Control (INRIA).
05: * Copyright (C) 2005 AmicoSoft, Inc. dba Emic Networks
06: * Contact: sequoia@continuent.org
07: *
08: * Licensed under the Apache License, Version 2.0 (the "License");
09: * 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: */package org.continuent.sequoia.common.jmx.monitoring;
23:
24: /**
25: * This public static final interface is used as a reference to what kind of
26: * information can be collected and monitored with the mbean monitor.
27: *
28: * @author <a href="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk </a>
29: * @author <a href="mailto:emmanuel.cecchet@emicnetworks.com">Emmanuel Cecchet
30: * </a>
31: */
32: public final class DataCollection {
33: /** Backend active transaction identifier */
34: public static final int BACKEND_ACTIVE_TRANSACTION = 10;
35: /** Backend pending request identifier */
36: public static final int BACKEND_PENDING_REQUESTS = 11;
37: /** Backend active connections identifier */
38: public static final int BACKEND_TOTAL_ACTIVE_CONNECTIONS = 12;
39: /** Backend total request identifier */
40: public static final int BACKEND_TOTAL_REQUEST = 13;
41: /** Backend total read request */
42: public static final int BACKEND_TOTAL_READ_REQUEST = 14;
43: /** Backend total write request */
44: public static final int BACKEND_TOTAL_WRITE_REQUEST = 15;
45: /** Backend total transactions identifier */
46: public static final int BACKEND_TOTAL_TRANSACTIONS = 16;
47:
48: /** Cache statistics count select identifier */
49: public static final int CACHE_STATS_COUNT_SELECT = 20;
50: /** Cache statistics count hits identifier */
51: public static final int CACHE_STATS_COUNT_HITS = 21;
52: /** Cache statistics count insert identifier */
53: public static final int CACHE_STATS_COUNT_INSERT = 22;
54: /** Cache statistics hit percentage identifier */
55: public static final int CACHE_STATS_HITS_PERCENTAGE = 23;
56: /** Cache statistics number of entries identifier */
57: public static final int CACHE_STATS_NUMBER_ENTRIES = 24;
58:
59: /** Client time active identifier */
60: public static final int CLIENT_TIME_ACTIVE = 32;
61:
62: /** Controller total memory identifier */
63: public static final int CONTROLLER_TOTAL_MEMORY = 40;
64: /** Controller used memory identifier */
65: public static final int CONTROLLER_USED_MEMORY = 41;
66: /** Controller thread number identifier */
67: public static final int CONTROLLER_THREADS_NUMBER = 42;
68: /** Controller worker pending queue identifier */
69: public static final int CONTROLLER_WORKER_PENDING_QUEUE = 43;
70: /** Controller idle worker threads identifier */
71: public static final int CONTROLLER_IDLE_WORKER_THREADS = 44;
72:
73: /** Database active threads identifier */
74: public static final int DATABASES_ACTIVE_THREADS = 50;
75: /** Database pending connection identifier */
76: public static final int DATABASES_PENDING_CONNECTIONS = 51;
77: /** Database number threads identifier */
78: public static final int DATABASES_NUMBER_OF_THREADS = 52;
79:
80: /** Scheduler number read identifier */
81: public static final int SCHEDULER_NUMBER_READ = 60;
82: /** Scheduler number writes identifier */
83: public static final int SCHEDULER_NUMBER_WRITES = 61;
84: /** Scheduler pending transactions identifier */
85: public static final int SCHEDULER_PENDING_TRANSACTIONS = 62;
86: /** Scheduler pending writes identifier */
87: public static final int SCHEDULER_PENDING_WRITES = 63;
88: /** Scheduler number requests identifier */
89: public static final int SCHEDULER_NUMBER_REQUESTS = 64;
90: }
|