KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > common > jmx > notifications > SequoiaNotificationList


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.notifications;
25
26 /**
27  * This is the list of the Sequoia notification that can be sent from the mbean
28  * server on the controller.
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  * @version 1.0
34  */

35 public abstract class SequoiaNotificationList
36 {
37
38   /**
39    * Notification level, notification is not an error
40    */

41   public static final String JavaDoc NOTIFICATION_LEVEL_INFO = "info";
42
43   /**
44    * Notification level, notification is an error
45    */

46   public static final String JavaDoc NOTIFICATION_LEVEL_ERROR = "error";
47
48   /**
49    * Virtual Database Removed
50    */

51   public static final String JavaDoc CONTROLLER_VIRTUALDATABASE_REMOVED = "sequoia.controller.virtualdatabases.removed";
52
53   /**
54    * VirtualDatabase added
55    */

56   public static final String JavaDoc CONTROLLER_VIRTUALDATABASE_ADDED = "sequoia.controller.virtualdatabase.added";
57
58   /**
59    * New Dump List for virtual database
60    */

61   public static final String JavaDoc VIRTUALDATABASE_NEW_DUMP_LIST = "sequoia.virtualdatabase.dump.list";
62
63   /**
64    * Backend added
65    */

66   public static final String JavaDoc VIRTUALDATABASE_BACKEND_ADDED = "sequoia.virtualdatabase.backend.added";
67
68   /**
69    * Controller added for Distributed VirtualDatabase
70    */

71   public static final String JavaDoc DISTRIBUTED_CONTROLLER_ADDED = "sequoia.distributed.controller.added";
72
73   /**
74    * Controller removed from Distributed VirtualDatabase
75    */

76   public static final String JavaDoc DISTRIBUTED_CONTROLLER_REMOVED = "sequoia.distributed.controller.removed";
77
78   /**
79    * Backend has been disabled
80    */

81   public static final String JavaDoc VIRTUALDATABASE_BACKEND_DISABLED = "sequoia.virtualdatabase.backend.disabled";
82
83   /**
84    * Backend has been enabled
85    */

86   public static final String JavaDoc VIRTUALDATABASE_BACKEND_ENABLED = "sequoia.virtualdatabase.backend.enabled";
87
88   /**
89    * Backend is recovering
90    */

91   public static final String JavaDoc VIRTUALDATABASE_BACKEND_RECOVERING = "sequoia.virtualdatabase.backend.recovering";
92
93   /**
94    * Backend recovery has failed
95    */

96   public static final String JavaDoc VIRTUALDATABASE_BACKEND_RECOVERY_FAILED = "sequoia.virtualdatabase.backend.recovery.failed";
97
98   /**
99    * Backend replaying has failed
100    */

101   public static final String JavaDoc VIRTUALDATABASE_BACKEND_REPLAYING_FAILED = "sequoia.virtualdatabase.backend.replaying.failed";
102
103   /**
104    * Backend is backing up
105    */

106   public static final String JavaDoc VIRTUALDATABASE_BACKEND_BACKINGUP = "sequoia.virtualdatabase.backend.backingup";
107
108   /**
109    * Backend is write enabled
110    */

111   public static final String JavaDoc VIRTUALDATABASE_BACKEND_ENABLED_WRITE = "sequoia.virtualdatabase.backend.enable.write";
112
113   /**
114    * Backend has been removed
115    */

116   public static final String JavaDoc VIRTUALDATABASE_BACKEND_REMOVED = "sequoia.virtualdatabase.backend.removed";
117
118   /**
119    * Backend is being disabled
120    */

121   public static final String JavaDoc VIRTUALDATABASE_BACKEND_DISABLING = "sequoia.virtualdatabase.backend.disabling";
122
123   /**
124    * Backend has been killed by the load balancer. We don't know the state of
125    * the backend so we have to restore it
126    */

127   public static final String JavaDoc VIRTUALDATABASE_BACKEND_UNKNOWN = "sequoia.virtualdatabase.backend.unknown";
128
129   /**
130    * Replaying content of recovery log
131    */

132   public static final String JavaDoc VIRTUALDATABASE_BACKEND_REPLAYING = "sequoia.virtualdatabase.backend.replaying";
133
134   /** element that can be found in the data object */
135   public static final String JavaDoc DATA_DATABASE = "database";
136   /** element that can be found in the data object */
137   public static final String JavaDoc DATA_CHECKPOINT = "checkpoint";
138   /** element that can be found in the data object */
139   public static final String JavaDoc DATA_URL = "url";
140   /** element that can be found in the data object */
141   public static final String JavaDoc DATA_NAME = "name";
142   /** element that can be found in the data object */
143   public static final String JavaDoc DATA_DRIVER = "driver";
144
145 }
Popular Tags