• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/docs/java/com/sleepycat/db/
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.5.0) on Thu May 15 17:17:30 EDT 2008 -->
6<TITLE>
7CursorConfig (Oracle - Berkeley DB Java API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="com.sleepycat.db.CursorConfig class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    parent.document.title="CursorConfig (Oracle - Berkeley DB Java API)";
18}
19</SCRIPT>
20<NOSCRIPT>
21</NOSCRIPT>
22
23</HEAD>
24
25<BODY BGCOLOR="white" onload="windowTitle();">
26
27
28<!-- ========= START OF TOP NAVBAR ======= -->
29<A NAME="navbar_top"><!-- --></A>
30<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32<TR>
33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34<A NAME="navbar_top_firstrow"><!-- --></A>
35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36  <TR ALIGN="center" VALIGN="top">
37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CursorConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
45  </TR>
46</TABLE>
47</TD>
48<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
49<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM>
50</TD>
51</TR>
52
53<TR>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55&nbsp;<A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
56&nbsp;<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58  <A HREF="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top"><B>FRAMES</B></A>  &nbsp;
59&nbsp;<A HREF="CursorConfig.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
60&nbsp;<SCRIPT type="text/javascript">
61  <!--
62  if(window==top) {
63    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
64  }
65  //-->
66</SCRIPT>
67<NOSCRIPT>
68  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
69</NOSCRIPT>
70
71
72</FONT></TD>
73</TR>
74<TR>
75<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
76  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
79</TR>
80</TABLE>
81<A NAME="skip-navbar_top"></A>
82<!-- ========= END OF TOP NAVBAR ========= -->
83
84<HR>
85<!-- ======== START OF CLASS DATA ======== -->
86<H2>
87<FONT SIZE="-1">
88com.sleepycat.db</FONT>
89<BR>
90Class CursorConfig</H2>
91<PRE>
92<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
93  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.CursorConfig</B>
94</PRE>
95<DL>
96<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A></DD>
97</DL>
98<HR>
99<DL>
100<DT><PRE>public class <B>CursorConfig</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A></DL>
101</PRE>
102
103<P>
104Specify the attributes of database cursor.  An instance created with the
105default constructor is initialized with the system's default settings.
106<P>
107
108<P>
109<HR>
110
111<P>
112<!-- =========== FIELD SUMMARY =========== -->
113
114<A NAME="field_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118<B>Field Summary</B></FONT></TH>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DEFAULT">DEFAULT</A></B></CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default configuration used if null is passed to methods that create a
127    cursor.</TD>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DEGREE_2">DEGREE_2</A></B></CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED"><CODE>READ_COMMITTED</CODE></A> to conform to ANSI
136    database isolation terminology.</I></TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DIRTY_READ">DIRTY_READ</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><CODE>READ_UNCOMMITTED</CODE></A> to conform to ANSI
145    database isolation terminology.</I></TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
150<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED">READ_COMMITTED</A></B></CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience instance to configure a cursor for read committed isolation.</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED">READ_UNCOMMITTED</A></B></CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience instance to configure read operations performed by the
162    cursor to return modified but not yet committed data.</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#WRITECURSOR">WRITECURSOR</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience instance to specify the Concurrent Data Store environment
171    cursor will be used to update the database.</TD>
172</TR>
173</TABLE>
174&nbsp;
175<!-- ======== CONSTRUCTOR SUMMARY ======== -->
176
177<A NAME="constructor_summary"><!-- --></A>
178<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
181<B>Constructor Summary</B></FONT></TH>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#CursorConfig()">CursorConfig</A></B>()</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An instance created using the default constructor is initialized with
188    the system's default settings.</TD>
189</TR>
190</TABLE>
191&nbsp;
192<!-- ========== METHOD SUMMARY =========== -->
193
194<A NAME="method_summary"><!-- --></A>
195<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
196<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
197<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
198<B>Method Summary</B></FONT></TH>
199</TR>
200<TR BGCOLOR="white" CLASS="TableRowColor">
201<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202<CODE>&nbsp;boolean</CODE></FONT></TD>
203<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getDegree2()">getDegree2</A></B>()</CODE>
204
205<BR>
206&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><CODE>getReadCommitted()</CODE></A> to conform to ANSI
207    database isolation terminology.</I></TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>&nbsp;boolean</CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getDirtyRead()">getDirtyRead</A></B>()</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><CODE>getReadUncommitted()</CODE></A> to conform to ANSI
216    database isolation terminology.</I></TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>&nbsp;boolean</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()">getReadCommitted</A></B>()</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the cursor is configured for read committed isolation.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>&nbsp;boolean</CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()">getReadUncommitted</A></B>()</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if read operations performed by the cursor are configured to
233    return modified but not yet committed data.</TD>
234</TR>
235<TR BGCOLOR="white" CLASS="TableRowColor">
236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237<CODE>&nbsp;boolean</CODE></FONT></TD>
238<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getWriteCursor()">getWriteCursor</A></B>()</CODE>
239
240<BR>
241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the Concurrent Data Store environment cursor will be used to
242    update the database.</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246<CODE>&nbsp;void</CODE></FONT></TD>
247<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setDegree2(boolean)">setDegree2</A></B>(boolean&nbsp;degree2)</CODE>
248
249<BR>
250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><CODE>setReadCommitted(boolean)</CODE></A> to conform to ANSI
251    database isolation terminology.</I></TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;void</CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setDirtyRead(boolean)">setDirtyRead</A></B>(boolean&nbsp;dirtyRead)</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><CODE>setReadUncommitted(boolean)</CODE></A> to conform to ANSI
260    database isolation terminology.</I></TD>
261</TR>
262<TR BGCOLOR="white" CLASS="TableRowColor">
263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264<CODE>&nbsp;void</CODE></FONT></TD>
265<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)">setReadCommitted</A></B>(boolean&nbsp;readCommitted)</CODE>
266
267<BR>
268&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the cursor for read committed isolation.</TD>
269</TR>
270<TR BGCOLOR="white" CLASS="TableRowColor">
271<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272<CODE>&nbsp;void</CODE></FONT></TD>
273<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)">setReadUncommitted</A></B>(boolean&nbsp;readUncommitted)</CODE>
274
275<BR>
276&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure read operations performed by the cursor to return modified
277    but not yet committed data.</TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281<CODE>&nbsp;void</CODE></FONT></TD>
282<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setWriteCursor(boolean)">setWriteCursor</A></B>(boolean&nbsp;writeCursor)</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the Concurrent Data Store environment cursor will be used to
286    update the database.</TD>
287</TR>
288</TABLE>
289&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
290<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
291<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
292<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
293</TR>
294<TR BGCOLOR="white" CLASS="TableRowColor">
295<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
296</TR>
297</TABLE>
298&nbsp;
299<P>
300
301<!-- ============ FIELD DETAIL =========== -->
302
303<A NAME="field_detail"><!-- --></A>
304<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
305<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
306<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
307<B>Field Detail</B></FONT></TH>
308</TR>
309</TABLE>
310
311<A NAME="DEFAULT"><!-- --></A><H3>
312DEFAULT</H3>
313<PRE>
314public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DEFAULT</B></PRE>
315<DL>
316<DD>Default configuration used if null is passed to methods that create a
317    cursor.
318<P>
319<DL>
320</DL>
321</DL>
322<HR>
323
324<A NAME="READ_UNCOMMITTED"><!-- --></A><H3>
325READ_UNCOMMITTED</H3>
326<PRE>
327public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>READ_UNCOMMITTED</B></PRE>
328<DL>
329<DD>A convenience instance to configure read operations performed by the
330    cursor to return modified but not yet committed data.
331<P>
332<DL>
333</DL>
334</DL>
335<HR>
336
337<A NAME="READ_COMMITTED"><!-- --></A><H3>
338READ_COMMITTED</H3>
339<PRE>
340public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>READ_COMMITTED</B></PRE>
341<DL>
342<DD>A convenience instance to configure a cursor for read committed isolation.
343    <p>
344    This ensures the stability of the current data item read by the
345    cursor but permits data read by this cursor to be modified or
346    deleted prior to the commit of the transaction.
347<P>
348<DL>
349</DL>
350</DL>
351<HR>
352
353<A NAME="WRITECURSOR"><!-- --></A><H3>
354WRITECURSOR</H3>
355<PRE>
356public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>WRITECURSOR</B></PRE>
357<DL>
358<DD>A convenience instance to specify the Concurrent Data Store environment
359    cursor will be used to update the database.
360    <p>
361    The underlying Berkeley DB database environment must have been
362    configured as a Concurrent Data Store environment.
363<P>
364<DL>
365</DL>
366</DL>
367<HR>
368
369<A NAME="DIRTY_READ"><!-- --></A><H3>
370DIRTY_READ</H3>
371<PRE>
372public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DIRTY_READ</B></PRE>
373<DL>
374<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><CODE>READ_UNCOMMITTED</CODE></A> to conform to ANSI
375    database isolation terminology.</I><DD>A convenience instance to configure read operations performed by the
376    cursor to return modified but not yet committed data.
377        <p>
378<P>
379<DL>
380</DL>
381</DL>
382<HR>
383
384<A NAME="DEGREE_2"><!-- --></A><H3>
385DEGREE_2</H3>
386<PRE>
387public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DEGREE_2</B></PRE>
388<DL>
389<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED"><CODE>READ_COMMITTED</CODE></A> to conform to ANSI
390    database isolation terminology.</I><DD>A convenience instance to configure a cursor for read committed isolation.
391    <p>
392    This ensures the stability of the current data item read by the
393    cursor but permits data read by this cursor to be modified or
394    deleted prior to the commit of the transaction.
395        <p>
396<P>
397<DL>
398</DL>
399</DL>
400
401<!-- ========= CONSTRUCTOR DETAIL ======== -->
402
403<A NAME="constructor_detail"><!-- --></A>
404<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
405<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
406<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
407<B>Constructor Detail</B></FONT></TH>
408</TR>
409</TABLE>
410
411<A NAME="CursorConfig()"><!-- --></A><H3>
412CursorConfig</H3>
413<PRE>
414public <B>CursorConfig</B>()</PRE>
415<DL>
416<DD>An instance created using the default constructor is initialized with
417    the system's default settings.
418<P>
419</DL>
420
421<!-- ============ METHOD DETAIL ========== -->
422
423<A NAME="method_detail"><!-- --></A>
424<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
425<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
426<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
427<B>Method Detail</B></FONT></TH>
428</TR>
429</TABLE>
430
431<A NAME="setReadCommitted(boolean)"><!-- --></A><H3>
432setReadCommitted</H3>
433<PRE>
434public void <B>setReadCommitted</B>(boolean&nbsp;readCommitted)</PRE>
435<DL>
436<DD>Configure the cursor for read committed isolation.
437    <p>
438    This ensures the stability of the current data item read by the
439    cursor but permits data read by this cursor to be modified or
440    deleted prior to the commit of the transaction.
441    <p>
442<P>
443<DD><DL>
444</DL>
445</DD>
446<DD><DL>
447<DT><B>Parameters:</B><DD><CODE>readCommitted</CODE> - If true, configure the cursor for read committed isolation.</DL>
448</DD>
449</DL>
450<HR>
451
452<A NAME="getReadCommitted()"><!-- --></A><H3>
453getReadCommitted</H3>
454<PRE>
455public boolean <B>getReadCommitted</B>()</PRE>
456<DL>
457<DD>Return if the cursor is configured for read committed isolation.
458    <p>
459<P>
460<DD><DL>
461</DL>
462</DD>
463<DD><DL>
464
465<DT><B>Returns:</B><DD>If the cursor is configured for read committed isolation.</DL>
466</DD>
467</DL>
468<HR>
469
470<A NAME="setDegree2(boolean)"><!-- --></A><H3>
471setDegree2</H3>
472<PRE>
473public void <B>setDegree2</B>(boolean&nbsp;degree2)</PRE>
474<DL>
475<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><CODE>setReadCommitted(boolean)</CODE></A> to conform to ANSI
476    database isolation terminology.</I>
477<P>
478<DD>Configure the cursor for read committed isolation.
479    <p>
480    This ensures the stability of the current data item read by the
481    cursor but permits data read by this cursor to be modified or
482    deleted prior to the commit of the transaction.
483    <p>
484<P>
485<DD><DL>
486</DL>
487</DD>
488<DD><DL>
489<DT><B>Parameters:</B><DD><CODE>degree2</CODE> - If true, configure the cursor for read committed isolation.
490        <p></DL>
491</DD>
492</DL>
493<HR>
494
495<A NAME="getDegree2()"><!-- --></A><H3>
496getDegree2</H3>
497<PRE>
498public boolean <B>getDegree2</B>()</PRE>
499<DL>
500<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><CODE>getReadCommitted()</CODE></A> to conform to ANSI
501    database isolation terminology.</I>
502<P>
503<DD>Return if the cursor is configured for read committed isolation.
504    <p>
505<P>
506<DD><DL>
507</DL>
508</DD>
509<DD><DL>
510
511<DT><B>Returns:</B><DD>If the cursor is configured for read committed isolation.
512        <p></DL>
513</DD>
514</DL>
515<HR>
516
517<A NAME="setReadUncommitted(boolean)"><!-- --></A><H3>
518setReadUncommitted</H3>
519<PRE>
520public void <B>setReadUncommitted</B>(boolean&nbsp;readUncommitted)</PRE>
521<DL>
522<DD>Configure read operations performed by the cursor to return modified
523    but not yet committed data.
524    <p>
525<P>
526<DD><DL>
527</DL>
528</DD>
529<DD><DL>
530<DT><B>Parameters:</B><DD><CODE>readUncommitted</CODE> - If true, configure read operations performed by the cursor to return
531    modified but not yet committed data.</DL>
532</DD>
533</DL>
534<HR>
535
536<A NAME="getReadUncommitted()"><!-- --></A><H3>
537getReadUncommitted</H3>
538<PRE>
539public boolean <B>getReadUncommitted</B>()</PRE>
540<DL>
541<DD>Return if read operations performed by the cursor are configured to
542    return modified but not yet committed data.
543    <p>
544<P>
545<DD><DL>
546</DL>
547</DD>
548<DD><DL>
549
550<DT><B>Returns:</B><DD>If read operations performed by the cursor are configured to return
551    modified but not yet committed data.</DL>
552</DD>
553</DL>
554<HR>
555
556<A NAME="setDirtyRead(boolean)"><!-- --></A><H3>
557setDirtyRead</H3>
558<PRE>
559public void <B>setDirtyRead</B>(boolean&nbsp;dirtyRead)</PRE>
560<DL>
561<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><CODE>setReadUncommitted(boolean)</CODE></A> to conform to ANSI
562    database isolation terminology.</I>
563<P>
564<DD>Configure read operations performed by the cursor to return modified
565    but not yet committed data.
566    <p>
567<P>
568<DD><DL>
569</DL>
570</DD>
571<DD><DL>
572<DT><B>Parameters:</B><DD><CODE>dirtyRead</CODE> - If true, configure read operations performed by the cursor to return
573    modified but not yet committed data.
574        <p></DL>
575</DD>
576</DL>
577<HR>
578
579<A NAME="getDirtyRead()"><!-- --></A><H3>
580getDirtyRead</H3>
581<PRE>
582public boolean <B>getDirtyRead</B>()</PRE>
583<DL>
584<DD><B>Deprecated.</B>&nbsp;<I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><CODE>getReadUncommitted()</CODE></A> to conform to ANSI
585    database isolation terminology.</I>
586<P>
587<DD>Return if read operations performed by the cursor are configured to
588    return modified but not yet committed data.
589    <p>
590<P>
591<DD><DL>
592</DL>
593</DD>
594<DD><DL>
595
596<DT><B>Returns:</B><DD>If read operations performed by the cursor are configured to return
597    modified but not yet committed data.
598        <p></DL>
599</DD>
600</DL>
601<HR>
602
603<A NAME="setWriteCursor(boolean)"><!-- --></A><H3>
604setWriteCursor</H3>
605<PRE>
606public void <B>setWriteCursor</B>(boolean&nbsp;writeCursor)</PRE>
607<DL>
608<DD>Specify the Concurrent Data Store environment cursor will be used to
609    update the database.
610    <p>
611<P>
612<DD><DL>
613</DL>
614</DD>
615<DD><DL>
616<DT><B>Parameters:</B><DD><CODE>writeCursor</CODE> - If true, specify the Concurrent Data Store environment cursor will be
617    used to update the database.</DL>
618</DD>
619</DL>
620<HR>
621
622<A NAME="getWriteCursor()"><!-- --></A><H3>
623getWriteCursor</H3>
624<PRE>
625public boolean <B>getWriteCursor</B>()</PRE>
626<DL>
627<DD>Return if the Concurrent Data Store environment cursor will be used to
628    update the database.
629    <p>
630<P>
631<DD><DL>
632</DL>
633</DD>
634<DD><DL>
635
636<DT><B>Returns:</B><DD>If the Concurrent Data Store environment cursor will be used to update
637    the database.</DL>
638</DD>
639</DL>
640<!-- ========= END OF CLASS DATA ========= -->
641<HR>
642
643
644<!-- ======= START OF BOTTOM NAVBAR ====== -->
645<A NAME="navbar_bottom"><!-- --></A>
646<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
647<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
648<TR>
649<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
650<A NAME="navbar_bottom_firstrow"><!-- --></A>
651<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
652  <TR ALIGN="center" VALIGN="top">
653  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
654  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
655  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
656  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CursorConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
657  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
658  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
659  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
660  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
661  </TR>
662</TABLE>
663</TD>
664<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
665<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM>
666</TD>
667</TR>
668
669<TR>
670<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
671&nbsp;<A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
672&nbsp;<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
673<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
674  <A HREF="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top"><B>FRAMES</B></A>  &nbsp;
675&nbsp;<A HREF="CursorConfig.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
676&nbsp;<SCRIPT type="text/javascript">
677  <!--
678  if(window==top) {
679    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
680  }
681  //-->
682</SCRIPT>
683<NOSCRIPT>
684  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
685</NOSCRIPT>
686
687
688</FONT></TD>
689</TR>
690<TR>
691<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
692  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
693<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
694DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
695</TR>
696</TABLE>
697<A NAME="skip-navbar_bottom"></A>
698<!-- ======== END OF BOTTOM NAVBAR ======= -->
699
700<HR>
701<font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
702</BODY>
703</HTML>
704