Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

DataCollection.java

00001 /**
00002  * C-JDBC: Clustered JDBC.
00003  * Copyright (C) 2002-2004 French National Institute For Research In Computer
00004  * Science And Control (INRIA).
00005  * Contact: c-jdbc@objectweb.org
00006  * 
00007  * This library is free software; you can redistribute it and/or modify it
00008  * under the terms of the GNU Lesser General Public License as published by the
00009  * Free Software Foundation; either version 2.1 of the License, or any later
00010  * version.
00011  * 
00012  * This library is distributed in the hope that it will be useful, but WITHOUT
00013  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
00015  * for more details.
00016  * 
00017  * You should have received a copy of the GNU Lesser General Public License
00018  * along with this library; if not, write to the Free Software Foundation,
00019  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00020  *
00021  * Initial developer(s): Nicolas Modrzyk.
00022  * Contributor(s): 
00023  */
00024 package org.objectweb.cjdbc.common.monitor;
00025 
00026 /**
00027  * This interface is used as a reference to what kind of information can be 
00028  * collected and monitored with the mbean monitor.
00029  * @author <a href="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk</a>
00030  */
00031 public interface DataCollection
00032 { 
00033   /** Backend active transaction identifier */
00034   int BACKEND_ACTIVE_TRANSACTION       = 10;
00035   /** Backend pending request identifier */
00036   int BACKEND_PENDING_REQUESTS         = 11;
00037   /** Backend active connections identifier */
00038   int BACKEND_TOTAL_ACTIVE_CONNECTIONS = 12;
00039   /** Backend total request identifier */
00040   int BACKEND_TOTAL_REQUEST            = 13;
00041   /** Backend total read request */
00042   int BACKEND_TOTAL_READ_REQUEST            = 14;
00043   /** Backend total write request */
00044   int BACKEND_TOTAL_WRITE_REQUEST            = 15;
00045   /** Backend total transactions identifier */
00046   int BACKEND_TOTAL_TRANSACTIONS       = 16;
00047 
00048   /** Cache statistics count select identifier */
00049   int CACHE_STATS_COUNT_SELECT         = 20;
00050   /** Cache statistics count hits identifier */
00051   int CACHE_STATS_COUNT_HITS           = 21;
00052   /** Cache statistics count insert identifier */
00053   int CACHE_STATS_COUNT_INSERT         = 22;
00054   /** Cache statistics hit percentage identifier */
00055   int CACHE_STATS_HITS_PERCENTAGE      = 23;
00056   /** Cache statistics number of entries identifier */
00057   int CACHE_STATS_NUMBER_ENTRIES       = 24;
00058 
00059   /** Client bytes read identifier */
00060   int CLIENT_BYTES_READ                = 30;
00061   /** Client bytes written identifier */
00062   int CLIENT_BYTES_WRITTEN             = 31;
00063   /** Client time active identifier */
00064   int CLIENT_TIME_ACTIVE               = 32;
00065   /** Client reading speed identifier */
00066   int CLIENT_READING_SPEED             = 33;
00067   /** Client writing speed identifier */
00068   int CLIENT_WRITING_SPEED             = 34;
00069 
00070   /** Controller total memory identifier */
00071   int CONTROLLER_TOTAL_MEMORY          = 40;
00072   /** Controller used memory identifier */
00073   int CONTROLLER_USED_MEMORY           = 41;
00074   /** Controller thread number identifier */
00075   int CONTROLLER_THREADS_NUMBER        = 42;
00076   /** Controller worker pending queue identifier */
00077   int CONTROLLER_WORKER_PENDING_QUEUE  = 43;
00078   /** Controller idle worker threads identifier */
00079   int CONTROLLER_IDLE_WORKER_THREADS   = 44;
00080 
00081   /** Database active threads identifier */
00082   int DATABASES_ACTIVE_THREADS         = 50;
00083   /** Database pending connection identifier */
00084   int DATABASES_PENDING_CONNECTIONS    = 51;
00085   /** Database number threads identifier */
00086   int DATABASES_NUMBER_OF_THREADS      = 52;
00087 
00088   /** Scheduler number read identifier */
00089   int SCHEDULER_NUMBER_READ            = 60;
00090   /** Scheduler number writes identifier */
00091   int SCHEDULER_NUMBER_WRITES          = 61;
00092   /** Scheduler pending transactions identifier */
00093   int SCHEDULER_PENDING_TRANSACTIONS   = 62;
00094   /** Scheduler pending writes identifier */
00095   int SCHEDULER_PENDING_WRITES         = 63;
00096   /** Scheduler number requests identifier */
00097   int SCHEDULER_NUMBER_REQUESTS        = 64;
00098 }

Generated on Mon Apr 11 22:01:31 2005 for C-JDBC by  doxygen 1.3.9.1