Debian Codegraph @

lang/sql/jdbc/doc/SQLite/BusyHandler.html

raw
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.4.2_03) on Thu Feb 09 06:54:00 CET 2012 -->
6 <TITLE>
7 BusyHandler (SQLite Java Wrapper)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="SQLite.BusyHandler interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="BusyHandler (SQLite Java Wrapper)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 </TR>
40 </TABLE>
41 </TD>
42 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
43 </EM>
44 </TD>
45 </TR>
46
47 <TR>
48 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49 &nbsp;<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>PREV CLASS</B></A>&nbsp;
50 &nbsp;<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
53 &nbsp;<A HREF="BusyHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
54 &nbsp;<SCRIPT type="text/javascript">
55 <!--
56 if(window==top) {
57 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
58 }
59 //-->
60 </SCRIPT>
61 <NOSCRIPT>
62 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
63 </NOSCRIPT>
64
65 </FONT></TD>
66 </TR>
67 <TR>
68 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
69 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
70 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
71 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
72 </TR>
73 </TABLE>
74 <A NAME="skip-navbar_top"></A>
75 <!-- ========= END OF TOP NAVBAR ========= -->
76
77 <HR>
78 <!-- ======== START OF CLASS DATA ======== -->
79 <H2>
80 <FONT SIZE="-1">
81 SQLite</FONT>
82 <BR>
83 Interface BusyHandler</H2>
84 <HR>
85 <DL>
86 <DT>public interface <B>BusyHandler</B></DL>
87
88 <P>
89 Callback interface for SQLite's user defined busy handler.
90 <P>
91
92 <P>
93 <HR>
94
95 <P>
96 <!-- ======== NESTED CLASS SUMMARY ======== -->
97
98
99 <!-- =========== FIELD SUMMARY =========== -->
100
101
102 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
103
104
105 <!-- ========== METHOD SUMMARY =========== -->
106
107 <A NAME="method_summary"><!-- --></A>
108 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110 <TD COLSPAN=2><FONT SIZE="+2">
111 <B>Method Summary</B></FONT></TD>
112 </TR>
113 <TR BGCOLOR="white" CLASS="TableRowColor">
114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115 <CODE>&nbsp;boolean</CODE></FONT></TD>
116 <TD><CODE><B><A HREF="../SQLite/BusyHandler.html#busy(java.lang.String, int)">busy</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;table,
117 int&nbsp;count)</CODE>
118
119 <BR>
120 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked when a table is locked by another process
121 or thread.</TD>
122 </TR>
123 </TABLE>
124 &nbsp;
125 <P>
126
127 <!-- ============ FIELD DETAIL =========== -->
128
129
130 <!-- ========= CONSTRUCTOR DETAIL ======== -->
131
132
133 <!-- ============ METHOD DETAIL ========== -->
134
135 <A NAME="method_detail"><!-- --></A>
136 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138 <TD COLSPAN=1><FONT SIZE="+2">
139 <B>Method Detail</B></FONT></TD>
140 </TR>
141 </TABLE>
142
143 <A NAME="busy(java.lang.String, int)"><!-- --></A><H3>
144 busy</H3>
145 <PRE>
146 public boolean <B>busy</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;table,
147 int&nbsp;count)</PRE>
148 <DL>
149 <DD>Invoked when a table is locked by another process
150 or thread. The method should return true for waiting
151 until the table becomes unlocked, or false in order
152 to abandon the action.<BR><BR>
153 <P>
154 <DD><DL>
155 <DT><B>Parameters:</B><DD><CODE>table</CODE> - the name of the locked table<DD><CODE>count</CODE> - number of times the table was locked</DL>
156 </DD>
157 </DL>
158 <!-- ========= END OF CLASS DATA ========= -->
159 <HR>
160
161
162 <!-- ======= START OF BOTTOM NAVBAR ====== -->
163 <A NAME="navbar_bottom"><!-- --></A>
164 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
165 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
166 <TR>
167 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
168 <A NAME="navbar_bottom_firstrow"><!-- --></A>
169 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
170 <TR ALIGN="center" VALIGN="top">
171 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
172 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
173 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
174 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
175 </TR>
176 </TABLE>
177 </TD>
178 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
179 </EM>
180 </TD>
181 </TR>
182
183 <TR>
184 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
185 &nbsp;<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>PREV CLASS</B></A>&nbsp;
186 &nbsp;<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
187 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
188 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
189 &nbsp;<A HREF="BusyHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
190 &nbsp;<SCRIPT type="text/javascript">
191 <!--
192 if(window==top) {
193 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
194 }
195 //-->
196 </SCRIPT>
197 <NOSCRIPT>
198 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
199 </NOSCRIPT>
200
201 </FONT></TD>
202 </TR>
203 <TR>
204 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
205 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
206 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
207 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
208 </TR>
209 </TABLE>
210 <A NAME="skip-navbar_bottom"></A>
211 <!-- ======== END OF BOTTOM NAVBAR ======= -->
212
213 <HR>
214 <small>Contact: <a HREF="mailto:[email protected]">Christian Werner</a></small>
215 </BODY>
216 </HTML>