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

CjdbcNotificationList.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): Emmanuel Cecchet.
00023  */
00024 
00025 package org.objectweb.cjdbc.common.jmx.notifications;
00026 
00027 /**
00028  * This is the list of the C-JDBC notification that can be sent from the mbean
00029  * server on the controller.
00030  * 
00031  * @author <a href="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk </a>
00032  * @author <a href="mailto:emmanuel.cecchet@emicnetworks.com">Emmanuel Cecchet
00033  *         </a>
00034  * @version 1.0
00035  */
00036 public abstract class CjdbcNotificationList
00037 {
00038 
00039   /**
00040    * Notification level, notification is not an error
00041    */
00042   public static final String NOTIFICATION_LEVEL_INFO                  = "info";
00043 
00044   /**
00045    * Notification level, notification is an error
00046    */
00047   public static final String NOTIFICATION_LEVEL_ERROR                 = "error";
00048 
00049   /**
00050    * Virtual Database Removed
00051    */
00052   public static final String CONTROLLER_VIRTUALDATABASE_REMOVED       = "cjdbc.controller.virtualdatabases.removed";
00053 
00054   /**
00055    * VirtualDatabase added
00056    */
00057   public static final String CONTROLLER_VIRTUALDATABASE_ADDED         = "cjdbc.controller.virtualdatabase.added";
00058 
00059   /**
00060    * New Dump List for virtual database
00061    */
00062   public static final String VIRTUALDATABASE_NEW_DUMP_LIST            = "cjdbc.virtualdatabase.dump.list";
00063 
00064   /**
00065    * Backend added
00066    */
00067   public static final String VIRTUALDATABASE_BACKEND_ADDED            = "cjdbc.virtualdatabase.backend.added";
00068 
00069   /**
00070    * Distributed VirtualDatabase Added
00071    */
00072   public static final String DISTRIBUTED_CONTROLLER_ADDED             = "cjdbc.distributed.controller.added";
00073 
00074   /**
00075    * Backend has been disabled
00076    */
00077   public static final String VIRTUALDATABASE_BACKEND_DISABLED         = "cjdbc.virtualdatabase.backend.disabled";
00078 
00079   /**
00080    * Backend has been enabled
00081    */
00082   public static final String VIRTUALDATABASE_BACKEND_ENABLED          = "cjdbc.virtualdatabase.backend.enabled";
00083 
00084   /**
00085    * Backend is recovering
00086    */
00087   public static final String VIRTUALDATABASE_BACKEND_RECOVERING       = "cjdbc.virtualdatabase.backend.recovering";
00088 
00089   /**
00090    * Backend recovery has failed
00091    */
00092   public static final String VIRTUALDATABASE_BACKEND_RECOVERY_FAILED  = "cjdbc.virtualdatabase.backend.recovery.failed";
00093 
00094   /**
00095    * Backend replaying has failed
00096    */
00097   public static final String VIRTUALDATABASE_BACKEND_REPLAYING_FAILED = "cjdbc.virtualdatabase.backend.replaying.failed";
00098 
00099   /**
00100    * Backend is backing up
00101    */
00102   public static final String VIRTUALDATABASE_BACKEND_BACKINGUP        = "cjdbc.virtualdatabase.backend.backingup";
00103 
00104   /**
00105    * Backend is write enabled
00106    */
00107   public static final String VIRTUALDATABASE_BACKEND_ENABLED_WRITE    = "cjdbc.virtualdatabase.backend.enable.write";
00108 
00109   /**
00110    * Backend has been removed
00111    */
00112   public static final String VIRTUALDATABASE_BACKEND_REMOVED          = "cjdbc.virtualdatabase.backend.removed";
00113 
00114   /**
00115    * Backend is being disabled
00116    */
00117   public static final String VIRTUALDATABASE_BACKEND_DISABLING        = "cjdbc.virtualdatabase.backend.disabling";
00118 
00119   /**
00120    * Backend has been killed by the load balancer. We don't know the state of
00121    * the backend so we have to restore it
00122    */
00123   public static final String VIRTUALDATABASE_BACKEND_UNKNOWN          = "cjdbc.virtualdatabase.backend.unknown";
00124 
00125   /**
00126    * Replaying content of recovery log
00127    */
00128   public static final String VIRTUALDATABASE_BACKEND_REPLAYING        = "cjdbc.virtualdatabase.backend.replaying";
00129 
00130   /** element that can be found in the data object */
00131   public static final String DATA_DATABASE                            = "database";
00132   /** element that can be found in the data object */
00133   public static final String DATA_CHECKPOINT                          = "checkpoint";
00134   /** element that can be found in the data object */
00135   public static final String DATA_URL                                 = "url";
00136   /** element that can be found in the data object */
00137   public static final String DATA_NAME                                = "name";
00138   /** element that can be found in the data object */
00139   public static final String DATA_DRIVER                              = "driver";
00140 
00141 }

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