KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > cjdbc > common > jmx > mbeans > RequestManagerMBean


1 /**
2  * C-JDBC: Clustered JDBC.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Contact: c-jdbc@objectweb.org
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or any later
10  * version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20  *
21  * Initial developer(s): Nicolas Modrzyk.
22  * Contributor(s): ______________________.
23  */

24
25 package org.objectweb.cjdbc.common.jmx.mbeans;
26
27 /**
28  * This class defines a RequestManagerMBean
29  *
30  * @author <a HREF="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk</a>
31  * @version 1.0
32  */

33 public interface RequestManagerMBean
34 {
35   /**
36    * Sets the parsing case sensitivity. If true the request are parsed in a case
37    * sensitive way (table/column name must match exactly the case of the names
38    * fetched from the database or enforced by a static schema).
39    *
40    * @param isCaseSensitiveParsing true if parsing is case sensitive
41    */

42   void setCaseSensitiveParsing(boolean isCaseSensitiveParsing);
43
44   /**
45    * Returns the beginTimeout value.
46    *
47    * @return Returns the beginTimeout.
48    */

49   long getBeginTimeout();
50
51   /**
52    * Sets the beginTimeout value.
53    *
54    * @param beginTimeout The beginTimeout to set.
55    */

56   void setBeginTimeout(long beginTimeout);
57
58   /**
59    * Returns the cacheParsingranularity value.
60    *
61    * @return Returns the cacheParsingranularity.
62    */

63   int getCacheParsingranularity();
64
65   /**
66    * Sets the cacheParsingranularity value.
67    *
68    * @param cacheParsingranularity The cacheParsingranularity to set.
69    */

70   void setCacheParsingranularity(int cacheParsingranularity);
71
72   /**
73    * Returns the commitTimeout value.
74    *
75    * @return Returns the commitTimeout.
76    */

77   long getCommitTimeout();
78
79   /**
80    * Sets the commitTimeout value.
81    *
82    * @param commitTimeout The commitTimeout to set.
83    */

84   void setCommitTimeout(long commitTimeout);
85
86   /**
87    * Returns the loadBalancerParsingranularity value.
88    *
89    * @return Returns the loadBalancerParsingranularity.
90    */

91   int getLoadBalancerParsingranularity();
92
93   /**
94    * Sets the loadBalancerParsingranularity value.
95    *
96    * @param loadBalancerParsingranularity The loadBalancerParsingranularity to
97    * set.
98    */

99   void setLoadBalancerParsingranularity(int loadBalancerParsingranularity);
100
101   /**
102    * Returns the requiredParsingGranularity value.
103    *
104    * @return Returns the requiredParsingGranularity.
105    */

106   int getRequiredParsingGranularity();
107
108   /**
109    * Sets the requiredParsingGranularity value.
110    *
111    * @param requiredGranularity The required ParsingGranularity to set.
112    */

113   void setRequiredParsingGranularity(int requiredGranularity);
114
115   /**
116    * Returns the rollbackTimeout value.
117    *
118    * @return Returns the rollbackTimeout.
119    */

120   long getRollbackTimeout();
121
122   /**
123    * Sets the rollbackTimeout value.
124    *
125    * @param rollbackTimeout The rollbackTimeout to set.
126    */

127   void setRollbackTimeout(long rollbackTimeout);
128
129   /**
130    * Returns the schedulerParsingranularity value.
131    *
132    * @return Returns the schedulerParsingranularity.
133    */

134   int getSchedulerParsingranularity();
135
136   /**
137    * Sets the schedulerParsingranularity value.
138    *
139    * @param schedulerParsingranularity The schedulerParsingranularity to set.
140    */

141   void setSchedulerParsingranularity(int schedulerParsingranularity);
142
143   /**
144    * Returns the schemaIsStatic value.
145    *
146    * @return Returns the schemaIsStatic.
147    */

148   boolean isSchemaIsStatic();
149
150   /**
151    * Sets the schemaIsStatic value.
152    *
153    * @param schemaIsStatic The schemaIsStatic to set.
154    */

155   void setSchemaIsStatic(boolean schemaIsStatic);
156
157   /**
158    * Returns the isCaseSensitiveParsing value.
159    *
160    * @return Returns the isCaseSensitiveParsing.
161    */

162   boolean isCaseSensitiveParsing();
163 }
Popular Tags