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:33 EDT 2008 -->
6<TITLE>
7TransactionWorker (Oracle - Berkeley DB Java API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="com.sleepycat.collections.TransactionWorker interface">
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="TransactionWorker (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/TransactionWorker.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/collections/TransactionRunner.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
56&nbsp;<A HREF="/com/sleepycat/collections/TupleSerialFactory.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58  <A HREF="/index.html?com/sleepycat/collections/TransactionWorker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
59&nbsp;<A HREF="TransactionWorker.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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.collections</FONT>
89<BR>
90Interface TransactionWorker</H2>
91<HR>
92<DL>
93<DT><PRE>public interface <B>TransactionWorker</B></DL>
94</PRE>
95
96<P>
97The interface implemented to perform the work within a transaction.
98 To run a transaction, an instance of this interface is passed to the
99 <A HREF="/com/sleepycat/collections/TransactionRunner.html#run(com.sleepycat.collections.TransactionWorker)"><CODE>TransactionRunner.run(com.sleepycat.collections.TransactionWorker)</CODE></A> method.
100<P>
101
102<P>
103<HR>
104
105<P>
106
107<!-- ========== METHOD SUMMARY =========== -->
108
109<A NAME="method_summary"><!-- --></A>
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113<B>Method Summary</B></FONT></TH>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117<CODE>&nbsp;void</CODE></FONT></TD>
118<TD><CODE><B><A HREF="/com/sleepycat/collections/TransactionWorker.html#doWork()">doWork</A></B>()</CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform the work for a single transaction.</TD>
122</TR>
123</TABLE>
124&nbsp;
125<P>
126
127<!-- ============ METHOD DETAIL ========== -->
128
129<A NAME="method_detail"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
133<B>Method Detail</B></FONT></TH>
134</TR>
135</TABLE>
136
137<A NAME="doWork()"><!-- --></A><H3>
138doWork</H3>
139<PRE>
140void <B>doWork</B>()
141            throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
142<DL>
143<DD>Perform the work for a single transaction.
144<P>
145<DD><DL>
146
147<DT><B>Throws:</B>
148<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE><DT><B>See Also:</B><DD><A HREF="/com/sleepycat/collections/TransactionRunner.html#run(com.sleepycat.collections.TransactionWorker)"><CODE>TransactionRunner.run(com.sleepycat.collections.TransactionWorker)</CODE></A></DL>
149</DD>
150</DL>
151<!-- ========= END OF CLASS DATA ========= -->
152<HR>
153
154
155<!-- ======= START OF BOTTOM NAVBAR ====== -->
156<A NAME="navbar_bottom"><!-- --></A>
157<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
158<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
159<TR>
160<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
161<A NAME="navbar_bottom_firstrow"><!-- --></A>
162<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
163  <TR ALIGN="center" VALIGN="top">
164  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
165  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
166  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
167  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TransactionWorker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
168  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
169  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
170  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
171  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
172  </TR>
173</TABLE>
174</TD>
175<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
176<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM>
177</TD>
178</TR>
179
180<TR>
181<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
182&nbsp;<A HREF="/com/sleepycat/collections/TransactionRunner.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
183&nbsp;<A HREF="/com/sleepycat/collections/TupleSerialFactory.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
184<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
185  <A HREF="/index.html?com/sleepycat/collections/TransactionWorker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
186&nbsp;<A HREF="TransactionWorker.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
187&nbsp;<SCRIPT type="text/javascript">
188  <!--
189  if(window==top) {
190    document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>');
191  }
192  //-->
193</SCRIPT>
194<NOSCRIPT>
195  <A HREF="/allclasses-noframe.html"><B>All Classes</B></A>
196</NOSCRIPT>
197
198
199</FONT></TD>
200</TR>
201<TR>
202<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
203  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
204<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
205DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
206</TR>
207</TABLE>
208<A NAME="skip-navbar_bottom"></A>
209<!-- ======== END OF BOTTOM NAVBAR ======= -->
210
211<HR>
212<font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
213</BODY>
214</HTML>
215