source: branches/objectmq-1.0/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/utility/BlockingValueOrException.html

Last change on this file was 33, checked in by amoreno, 11 years ago

new release version

File size: 15.7 KB
Line 
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_18) on Tue Dec 11 11:47:09 GMT 2012 -->
6<TITLE>
7BlockingValueOrException
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="BlockingValueOrException";
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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../com/rabbitmq/utility/BlockingCell.html" title="class in com.rabbitmq.utility"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../com/rabbitmq/utility/IntAllocator.html" title="class in com.rabbitmq.utility"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../index.html?com/rabbitmq/utility/BlockingValueOrException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="BlockingValueOrException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.utility</FONT>
91<BR>
92Class BlockingValueOrException&lt;V,E extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;E&gt;&gt;</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/rabbitmq/utility/BlockingCell.html" title="class in com.rabbitmq.utility">com.rabbitmq.utility.BlockingCell</A>&lt;<A HREF="../../../com/rabbitmq/utility/ValueOrException.html" title="class in com.rabbitmq.utility">ValueOrException</A>&lt;V,E&gt;&gt;
96      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.utility.BlockingValueOrException&lt;V,E&gt;</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>BlockingValueOrException&lt;V,E extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;E&gt;&gt;</B><DT>extends <A HREF="../../../com/rabbitmq/utility/BlockingCell.html" title="class in com.rabbitmq.utility">BlockingCell</A>&lt;<A HREF="../../../com/rabbitmq/utility/ValueOrException.html" title="class in com.rabbitmq.utility">ValueOrException</A>&lt;V,E&gt;&gt;</DL>
101</PRE>
102
103<P>
104<HR>
105
106<P>
107
108<!-- ======== CONSTRUCTOR SUMMARY ======== -->
109
110<A NAME="constructor_summary"><!-- --></A>
111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
114<B>Constructor Summary</B></FONT></TH>
115</TR>
116<TR BGCOLOR="white" CLASS="TableRowColor">
117<TD><CODE><B><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html#BlockingValueOrException()">BlockingValueOrException</A></B>()</CODE>
118
119<BR>
120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
121</TR>
122</TABLE>
123&nbsp;
124<!-- ========== METHOD SUMMARY =========== -->
125
126<A NAME="method_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Method Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>&nbsp;void</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html#setException(E)">setException</A></B>(<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&nbsp;e)</CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>&nbsp;void</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html#setValue(V)">setValue</A></B>(<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A>&nbsp;v)</CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>&nbsp;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A></CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html#uninterruptibleGetValue()">uninterruptibleGetValue</A></B>()</CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>&nbsp;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A></CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html#uninterruptibleGetValue(int)">uninterruptibleGetValue</A></B>(int&nbsp;timeout)</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164</TABLE>
165&nbsp;<A NAME="methods_inherited_from_class_com.rabbitmq.utility.BlockingCell"><!-- --></A>
166<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
167<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
168<TH ALIGN="left"><B>Methods inherited from class com.rabbitmq.utility.<A HREF="../../../com/rabbitmq/utility/BlockingCell.html" title="class in com.rabbitmq.utility">BlockingCell</A></B></TH>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD><CODE><A HREF="../../../com/rabbitmq/utility/BlockingCell.html#get()">get</A>, <A HREF="../../../com/rabbitmq/utility/BlockingCell.html#get(long)">get</A>, <A HREF="../../../com/rabbitmq/utility/BlockingCell.html#set(T)">set</A>, <A HREF="../../../com/rabbitmq/utility/BlockingCell.html#setIfUnset(T)">setIfUnset</A>, <A HREF="../../../com/rabbitmq/utility/BlockingCell.html#uninterruptibleGet()">uninterruptibleGet</A>, <A HREF="../../../com/rabbitmq/utility/BlockingCell.html#uninterruptibleGet(int)">uninterruptibleGet</A></CODE></TD>
172</TR>
173</TABLE>
174&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
177<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
181</TR>
182</TABLE>
183&nbsp;
184<P>
185
186<!-- ========= CONSTRUCTOR DETAIL ======== -->
187
188<A NAME="constructor_detail"><!-- --></A>
189<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
190<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
191<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
192<B>Constructor Detail</B></FONT></TH>
193</TR>
194</TABLE>
195
196<A NAME="BlockingValueOrException()"><!-- --></A><H3>
197BlockingValueOrException</H3>
198<PRE>
199public <B>BlockingValueOrException</B>()</PRE>
200<DL>
201</DL>
202
203<!-- ============ METHOD DETAIL ========== -->
204
205<A NAME="method_detail"><!-- --></A>
206<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
207<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
208<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
209<B>Method Detail</B></FONT></TH>
210</TR>
211</TABLE>
212
213<A NAME="setValue(java.lang.Object)"><!-- --></A><A NAME="setValue(V)"><!-- --></A><H3>
214setValue</H3>
215<PRE>
216public void <B>setValue</B>(<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A>&nbsp;v)</PRE>
217<DL>
218<DD><DL>
219</DL>
220</DD>
221</DL>
222<HR>
223
224<A NAME="setException(java.lang.Throwable)"><!-- --></A><A NAME="setException(E)"><!-- --></A><H3>
225setException</H3>
226<PRE>
227public void <B>setException</B>(<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&nbsp;e)</PRE>
228<DL>
229<DD><DL>
230</DL>
231</DD>
232</DL>
233<HR>
234
235<A NAME="uninterruptibleGetValue()"><!-- --></A><H3>
236uninterruptibleGetValue</H3>
237<PRE>
238public <A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A> <B>uninterruptibleGetValue</B>()
239                          throws <A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A> extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&gt;</PRE>
240<DL>
241<DD><DL>
242
243<DT><B>Throws:</B>
244<DD><CODE><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A> extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&gt;</CODE></DL>
245</DD>
246</DL>
247<HR>
248
249<A NAME="uninterruptibleGetValue(int)"><!-- --></A><H3>
250uninterruptibleGetValue</H3>
251<PRE>
252public <A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">V</A> <B>uninterruptibleGetValue</B>(int&nbsp;timeout)
253                          throws <A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A> extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&gt;,
254                                 java.util.concurrent.TimeoutException</PRE>
255<DL>
256<DD><DL>
257
258<DT><B>Throws:</B>
259<DD><CODE><A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A> extends java.lang.Throwable & <A HREF="../../../com/rabbitmq/utility/SensibleClone.html" title="interface in com.rabbitmq.utility">SensibleClone</A>&lt;<A HREF="../../../com/rabbitmq/utility/BlockingValueOrException.html" title="type parameter in BlockingValueOrException">E</A>&gt;</CODE>
260<DD><CODE>java.util.concurrent.TimeoutException</CODE></DL>
261</DD>
262</DL>
263<!-- ========= END OF CLASS DATA ========= -->
264<HR>
265
266
267<!-- ======= START OF BOTTOM NAVBAR ====== -->
268<A NAME="navbar_bottom"><!-- --></A>
269<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
270<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
271<TR>
272<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
273<A NAME="navbar_bottom_firstrow"><!-- --></A>
274<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
275  <TR ALIGN="center" VALIGN="top">
276  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
277  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
278  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
279  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
280  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
281  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
282  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
283  </TR>
284</TABLE>
285</TD>
286<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
287</EM>
288</TD>
289</TR>
290
291<TR>
292<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
293&nbsp;<A HREF="../../../com/rabbitmq/utility/BlockingCell.html" title="class in com.rabbitmq.utility"><B>PREV CLASS</B></A>&nbsp;
294&nbsp;<A HREF="../../../com/rabbitmq/utility/IntAllocator.html" title="class in com.rabbitmq.utility"><B>NEXT CLASS</B></A></FONT></TD>
295<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
296  <A HREF="../../../index.html?com/rabbitmq/utility/BlockingValueOrException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
297&nbsp;<A HREF="BlockingValueOrException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
298&nbsp;<SCRIPT type="text/javascript">
299  <!--
300  if(window==top) {
301    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
302  }
303  //-->
304</SCRIPT>
305<NOSCRIPT>
306  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
307</NOSCRIPT>
308
309
310</FONT></TD>
311</TR>
312<TR>
313<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
314  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
315<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
316DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
317</TR>
318</TABLE>
319<A NAME="skip-navbar_bottom"></A>
320<!-- ======== END OF BOTTOM NAVBAR ======= -->
321
322<HR>
323
324</BODY>
325</HTML>
Note: See TracBrowser for help on using the repository browser.