1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_30) on Tue Nov 19 11:16:55 CET 2013 -->
6 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
8 BlockLocks (Solr 4.6.0 API)
11 <META NAME="date" CONTENT="2013-11-19">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="BlockLocks (Solr 4.6.0 API)";
28 <BODY BGCOLOR="white" onload="windowTitle();">
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BlockLocks.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../../../org/apache/solr/store/blockcache/BlockDirectoryCache.html" title="class in org.apache.solr.store.blockcache"><B>PREV CLASS</B></A>
59 <A HREF="../../../../../org/apache/solr/store/blockcache/BufferStore.html" title="class in org.apache.solr.store.blockcache"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../../index.html?org/apache/solr/store/blockcache/BlockLocks.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="BlockLocks.html" target="_top"><B>NO FRAMES</B></A>
63 <SCRIPT type="text/javascript">
66 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
88 <!-- ======== START OF CLASS DATA ======== -->
91 org.apache.solr.store.blockcache</FONT>
95 <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.store.blockcache.BlockLocks</B>
100 <DT><PRE>public class <B>BlockLocks</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
108 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
116 <TR BGCOLOR="white" CLASS="TableRowColor">
117 <TD><CODE><B><A HREF="../../../../../org/apache/solr/store/blockcache/BlockLocks.html#BlockLocks(long)">BlockLocks</A></B>(long numBits)</CODE>
120 </TD>
124 <!-- ========== METHOD SUMMARY =========== -->
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>
132 <TR BGCOLOR="white" CLASS="TableRowColor">
133 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134 <CODE> void</CODE></FONT></TD>
135 <TD><CODE><B><A HREF="../../../../../org/apache/solr/store/blockcache/BlockLocks.html#clear(int)">clear</A></B>(int index)</CODE>
138 </TD>
140 <TR BGCOLOR="white" CLASS="TableRowColor">
141 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142 <CODE> int</CODE></FONT></TD>
143 <TD><CODE><B><A HREF="../../../../../org/apache/solr/store/blockcache/BlockLocks.html#nextClearBit(int)">nextClearBit</A></B>(int index)</CODE>
146 Find the next clear bit in the bit set.</TD>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150 <CODE> boolean</CODE></FONT></TD>
151 <TD><CODE><B><A HREF="../../../../../org/apache/solr/store/blockcache/BlockLocks.html#set(int)">set</A></B>(int index)</CODE>
154 Thread safe set operation that will set the bit if and only if the bit was
155 not previously set.</TD>
158 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
159 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
161 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
170 <!-- ========= CONSTRUCTOR DETAIL ======== -->
172 <A NAME="constructor_detail"><!-- --></A>
173 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
174 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
175 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
176 <B>Constructor Detail</B></FONT></TH>
180 <A NAME="BlockLocks(long)"><!-- --></A><H3>
183 public <B>BlockLocks</B>(long numBits)</PRE>
187 <!-- ============ METHOD DETAIL ========== -->
189 <A NAME="method_detail"><!-- --></A>
190 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
191 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
192 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
193 <B>Method Detail</B></FONT></TH>
197 <A NAME="nextClearBit(int)"><!-- --></A><H3>
200 public int <B>nextClearBit</B>(int index)</PRE>
202 <DD>Find the next clear bit in the bit set.
205 <DT><B>Parameters:</B><DD><CODE>index</CODE> - index
206 <DT><B>Returns:</B><DD>next next bit</DL>
211 <A NAME="set(int)"><!-- --></A><H3>
214 public boolean <B>set</B>(int index)</PRE>
216 <DD>Thread safe set operation that will set the bit if and only if the bit was
220 <DT><B>Parameters:</B><DD><CODE>index</CODE> - the index position to set.
221 <DT><B>Returns:</B><DD>returns true if the bit was set and false if it was already set.</DL>
226 <A NAME="clear(int)"><!-- --></A><H3>
229 public void <B>clear</B>(int index)</PRE>
235 <!-- ========= END OF CLASS DATA ========= -->
239 <!-- ======= START OF BOTTOM NAVBAR ====== -->
240 <A NAME="navbar_bottom"><!-- --></A>
241 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
242 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
244 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
245 <A NAME="navbar_bottom_firstrow"><!-- --></A>
246 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
247 <TR ALIGN="center" VALIGN="top">
248 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
249 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
250 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
251 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BlockLocks.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
252 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
253 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
258 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
264 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
265 <A HREF="../../../../../org/apache/solr/store/blockcache/BlockDirectoryCache.html" title="class in org.apache.solr.store.blockcache"><B>PREV CLASS</B></A>
266 <A HREF="../../../../../org/apache/solr/store/blockcache/BufferStore.html" title="class in org.apache.solr.store.blockcache"><B>NEXT CLASS</B></A></FONT></TD>
267 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
268 <A HREF="../../../../../index.html?org/apache/solr/store/blockcache/BlockLocks.html" target="_top"><B>FRAMES</B></A>
269 <A HREF="BlockLocks.html" target="_top"><B>NO FRAMES</B></A>
270 <SCRIPT type="text/javascript">
273 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
278 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
285 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
286 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
287 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
288 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
291 <A NAME="skip-navbar_bottom"></A>
292 <!-- ======== END OF BOTTOM NAVBAR ======= -->
296 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
297 <script src='../../../../../prettify.js' type='text/javascript'></script>
298 <script type='text/javascript'>
300 var oldonload = window.onload;
301 if (typeof oldonload != 'function') {
302 window.onload = prettyPrint;
304 window.onload = function() {