Debian Codegraph @

docs/java/com/sleepycat/db/class-use/LockRequestMode.html

raw symbols SCIP
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.6.0_51) on Mon Sep 09 11:47:06 EDT 2013 -->
6 <TITLE>
7 Uses of Class com.sleepycat.db.LockRequestMode (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="Uses of Class com.sleepycat.db.LockRequestMode (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;PREV&nbsp;
59 &nbsp;NEXT</FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../index.html?com/sleepycat/db//class-useLockRequestMode.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="LockRequestMode.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <CENTER>
83 <H2>
84 <B>Uses of Class<br>com.sleepycat.db.LockRequestMode</B></H2>
85 </CENTER>
86
87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
88 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
89 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
90 Packages that use <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></FONT></TH>
91 </TR>
92 <TR BGCOLOR="white" CLASS="TableRowColor">
93 <TD><A HREF="#com.sleepycat.db"><B>com.sleepycat.db</B></A></TD>
94 <TD>Berkeley DB Java API<br>
95 <a href="../../../../../programmer_reference/index.html" target="_top">[reference guide]</a> <a href="../../../../../programmer_reference/java_program.html" target="_top">[Java programming notes]</a>.&nbsp;</TD>
96 </TR>
97 </TABLE>
98 &nbsp;
99 <P>
100 <A NAME="com.sleepycat.db"><!-- --></A>
101 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104 Uses of <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A> in <A HREF="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</A></FONT></TH>
105 </TR>
106 </TABLE>
107 &nbsp;
108 <P>
109
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
112 <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</A> declared as <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></FONT></TH>
113 </TR>
114 <TR BGCOLOR="white" CLASS="TableRowColor">
115 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
116 <CODE>static&nbsp;<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
117 <TD><CODE><B>LockRequestMode.</B><B><A HREF="../../../../com/sleepycat/db/LockRequestMode.html#IREAD">IREAD</A></B></CODE>
118
119 <BR>
120 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Intention to read (shared).</TD>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>static&nbsp;<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
125 <TD><CODE><B>LockRequestMode.</B><B><A HREF="../../../../com/sleepycat/db/LockRequestMode.html#IWR">IWR</A></B></CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Intention to read and write (shared).</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>static&nbsp;<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
133 <TD><CODE><B>LockRequestMode.</B><B><A HREF="../../../../com/sleepycat/db/LockRequestMode.html#IWRITE">IWRITE</A></B></CODE>
134
135 <BR>
136 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Intention to write (shared).</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/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
141 <TD><CODE><B>LockRequestMode.</B><B><A HREF="../../../../com/sleepycat/db/LockRequestMode.html#READ">READ</A></B></CODE>
142
143 <BR>
144 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read (shared).</TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148 <CODE>static&nbsp;<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
149 <TD><CODE><B>LockRequestMode.</B><B><A HREF="../../../../com/sleepycat/db/LockRequestMode.html#WRITE">WRITE</A></B></CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write (exclusive).</TD>
153 </TR>
154 </TABLE>
155 &nbsp;
156 <P>
157
158 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
160 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</A> that return <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></FONT></TH>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></CODE></FONT></TD>
165 <TD><CODE><B>LockRequest.</B><B><A HREF="../../../../com/sleepycat/db/LockRequest.html#getMode()">getMode</A></B>()</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the lock mode.</TD>
169 </TR>
170 </TABLE>
171 &nbsp;
172 <P>
173
174 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
176 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</A> with parameters of type <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></FONT></TH>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/db/Lock.html" title="class in com.sleepycat.db">Lock</A></CODE></FONT></TD>
181 <TD><CODE><B>Environment.</B><B><A HREF="../../../../com/sleepycat/db/Environment.html#getLock(int, boolean, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockRequestMode)">getLock</A></B>(int&nbsp;locker,
182 boolean&nbsp;noWait,
183 <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;object,
184 <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A>&nbsp;mode)</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acquire a lock from the lock table returning information about it in the Lock parameter.</TD>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191 <CODE>&nbsp;void</CODE></FONT></TD>
192 <TD><CODE><B>LockRequest.</B><B><A HREF="../../../../com/sleepycat/db/LockRequest.html#setMode(com.sleepycat.db.LockRequestMode)">setMode</A></B>(<A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A>&nbsp;mode)</CODE>
193
194 <BR>
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the lock mode.</TD>
196 </TR>
197 </TABLE>
198 &nbsp;
199 <P>
200
201 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
203 <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</A> with parameters of type <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></FONT></TH>
204 </TR>
205 <TR BGCOLOR="white" CLASS="TableRowColor">
206 <TD><CODE><B><A HREF="../../../../com/sleepycat/db/LockRequest.html#LockRequest(com.sleepycat.db.LockOperation, com.sleepycat.db.LockRequestMode, com.sleepycat.db.DatabaseEntry)">LockRequest</A></B>(<A HREF="../../../../com/sleepycat/db/LockOperation.html" title="class in com.sleepycat.db">LockOperation</A>&nbsp;op,
207 <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A>&nbsp;mode,
208 <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;obj)</CODE>
209
210 <BR>
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a LockRequest with the specified operation and mode for the
212 specified object.</TD>
213 </TR>
214 <TR BGCOLOR="white" CLASS="TableRowColor">
215 <TD><CODE><B><A HREF="../../../../com/sleepycat/db/LockRequest.html#LockRequest(com.sleepycat.db.LockOperation, com.sleepycat.db.LockRequestMode, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.Lock)">LockRequest</A></B>(<A HREF="../../../../com/sleepycat/db/LockOperation.html" title="class in com.sleepycat.db">LockOperation</A>&nbsp;op,
216 <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A>&nbsp;mode,
217 <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;obj,
218 <A HREF="../../../../com/sleepycat/db/Lock.html" title="class in com.sleepycat.db">Lock</A>&nbsp;lock)</CODE>
219
220 <BR>
221 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a LockRequest with the specified operation, mode and lock,
222 for the specified object.</TD>
223 </TR>
224 <TR BGCOLOR="white" CLASS="TableRowColor">
225 <TD><CODE><B><A HREF="../../../../com/sleepycat/db/LockRequest.html#LockRequest(com.sleepycat.db.LockOperation, com.sleepycat.db.LockRequestMode, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.Lock, int)">LockRequest</A></B>(<A HREF="../../../../com/sleepycat/db/LockOperation.html" title="class in com.sleepycat.db">LockOperation</A>&nbsp;op,
226 <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A>&nbsp;mode,
227 <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;obj,
228 <A HREF="../../../../com/sleepycat/db/Lock.html" title="class in com.sleepycat.db">Lock</A>&nbsp;lock,
229 int&nbsp;timeout)</CODE>
230
231 <BR>
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a LockRequest with the specified operation, mode, lock and
233 timeout for the specified object.</TD>
234 </TR>
235 </TABLE>
236 &nbsp;
237 <P>
238 <HR>
239
240
241 <!-- ======= START OF BOTTOM NAVBAR ====== -->
242 <A NAME="navbar_bottom"><!-- --></A>
243 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
244 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
245 <TR>
246 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
247 <A NAME="navbar_bottom_firstrow"><!-- --></A>
248 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
249 <TR ALIGN="center" VALIGN="top">
250 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
251 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
252 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
253 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
255 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
256 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
258 </TR>
259 </TABLE>
260 </TD>
261 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
262 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
263 </TD>
264 </TR>
265
266 <TR>
267 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
268 &nbsp;PREV&nbsp;
269 &nbsp;NEXT</FONT></TD>
270 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
271 <A HREF="../../../../index.html?com/sleepycat/db//class-useLockRequestMode.html" target="_top"><B>FRAMES</B></A> &nbsp;
272 &nbsp;<A HREF="LockRequestMode.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
273 &nbsp;<SCRIPT type="text/javascript">
274 <!--
275 if(window==top) {
276 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
277 }
278 //-->
279 </SCRIPT>
280 <NOSCRIPT>
281 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
282 </NOSCRIPT>
283
284
285 </FONT></TD>
286 </TR>
287 </TABLE>
288 <A NAME="skip-navbar_bottom"></A>
289 <!-- ======== END OF BOTTOM NAVBAR ======= -->
290
291 <HR>
292 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
293 </BODY>
294 </HTML>