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_24) on Mon Jun 25 15:26:26 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | SortedMapBackedCache (Solr 4.0.0-ALPHA API) |
---|
9 | </TITLE> |
---|
10 | |
---|
11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
12 | |
---|
13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
---|
14 | |
---|
15 | <SCRIPT type="text/javascript"> |
---|
16 | function windowTitle() |
---|
17 | { |
---|
18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
19 | parent.document.title="SortedMapBackedCache (Solr 4.0.0-ALPHA API)"; |
---|
20 | } |
---|
21 | } |
---|
22 | </SCRIPT> |
---|
23 | <NOSCRIPT> |
---|
24 | </NOSCRIPT> |
---|
25 | |
---|
26 | </HEAD> |
---|
27 | |
---|
28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
29 | <HR> |
---|
30 | |
---|
31 | |
---|
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=""> |
---|
36 | <TR> |
---|
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/SortedMapBackedCache.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> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../../org/apache/solr/handler/dataimport/SolrWriter.html" title="class in org.apache.solr.handler.dataimport"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/solr/handler/dataimport/SqlEntityProcessor.html" title="class in org.apache.solr.handler.dataimport"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/solr/handler/dataimport/SortedMapBackedCache.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="SortedMapBackedCache.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <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 | <TR> |
---|
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> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.handler.dataimport</FONT> |
---|
92 | <BR> |
---|
93 | Class SortedMapBackedCache</H2> |
---|
94 | <PRE> |
---|
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.handler.dataimport.SortedMapBackedCache</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>>>, <A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>SortedMapBackedCache</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><DT>implements <A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></DL> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | <HR> |
---|
108 | |
---|
109 | <P> |
---|
110 | |
---|
111 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
112 | |
---|
113 | <A NAME="constructor_summary"><!-- --></A> |
---|
114 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
115 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
116 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
117 | <B>Constructor Summary</B></FONT></TH> |
---|
118 | </TR> |
---|
119 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
120 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#SortedMapBackedCache()">SortedMapBackedCache</A></B>()</CODE> |
---|
121 | |
---|
122 | <BR> |
---|
123 | </TD> |
---|
124 | </TR> |
---|
125 | </TABLE> |
---|
126 | |
---|
127 | <!-- ========== METHOD SUMMARY =========== --> |
---|
128 | |
---|
129 | <A NAME="method_summary"><!-- --></A> |
---|
130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
131 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
132 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
133 | <B>Method Summary</B></FONT></TH> |
---|
134 | </TR> |
---|
135 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
136 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
137 | <CODE> void</CODE></FONT></TD> |
---|
138 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#add(java.util.Map)">add</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>> rec)</CODE> |
---|
139 | |
---|
140 | <BR> |
---|
141 | |
---|
142 | Adds a document.</TD> |
---|
143 | </TR> |
---|
144 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
146 | <CODE> void</CODE></FONT></TD> |
---|
147 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#close()">close</A></B>()</CODE> |
---|
148 | |
---|
149 | <BR> |
---|
150 | |
---|
151 | Releases resources used by this cache, if possible.</TD> |
---|
152 | </TR> |
---|
153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
154 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
155 | <CODE> void</CODE></FONT></TD> |
---|
156 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#delete(java.lang.Object)">delete</A></B>(<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> key)</CODE> |
---|
157 | |
---|
158 | <BR> |
---|
159 | |
---|
160 | Delete all documents associated with the given key</TD> |
---|
161 | </TR> |
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
164 | <CODE> void</CODE></FONT></TD> |
---|
165 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#deleteAll()">deleteAll</A></B>()</CODE> |
---|
166 | |
---|
167 | <BR> |
---|
168 | |
---|
169 | Delete all data from the cache,leaving the empty cache intact.</TD> |
---|
170 | </TR> |
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
173 | <CODE> void</CODE></FONT></TD> |
---|
174 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#destroy()">destroy</A></B>()</CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | |
---|
178 | Closes the cache, if open.</TD> |
---|
179 | </TR> |
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
182 | <CODE> void</CODE></FONT></TD> |
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#flush()">flush</A></B>()</CODE> |
---|
184 | |
---|
185 | <BR> |
---|
186 | |
---|
187 | Persists any pending data to the cache</TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>>></CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#iterator()">iterator</A></B>()</CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | |
---|
196 | Returns an iterator, allowing callers to iterate through the entire cache |
---|
197 | in key, then insertion, order.</TD> |
---|
198 | </TR> |
---|
199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
201 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>>></CODE></FONT></TD> |
---|
202 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#iterator(java.lang.Object)">iterator</A></B>(<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> key)</CODE> |
---|
203 | |
---|
204 | <BR> |
---|
205 | |
---|
206 | Returns an iterator, allowing callers to iterate through all documents that |
---|
207 | match the given key in insertion order.</TD> |
---|
208 | </TR> |
---|
209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
210 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
211 | <CODE> void</CODE></FONT></TD> |
---|
212 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/SortedMapBackedCache.html#open(org.apache.solr.handler.dataimport.Context)">open</A></B>(<A HREF="../../../../../org/apache/solr/handler/dataimport/Context.html" title="class in org.apache.solr.handler.dataimport">Context</A> context)</CODE> |
---|
213 | |
---|
214 | <BR> |
---|
215 | |
---|
216 | Opens the cache using the specified properties.</TD> |
---|
217 | </TR> |
---|
218 | </TABLE> |
---|
219 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
220 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
221 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
222 | <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> |
---|
223 | </TR> |
---|
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
225 | <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> |
---|
226 | </TR> |
---|
227 | </TABLE> |
---|
228 | |
---|
229 | <P> |
---|
230 | |
---|
231 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
232 | |
---|
233 | <A NAME="constructor_detail"><!-- --></A> |
---|
234 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
235 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
236 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
237 | <B>Constructor Detail</B></FONT></TH> |
---|
238 | </TR> |
---|
239 | </TABLE> |
---|
240 | |
---|
241 | <A NAME="SortedMapBackedCache()"><!-- --></A><H3> |
---|
242 | SortedMapBackedCache</H3> |
---|
243 | <PRE> |
---|
244 | public <B>SortedMapBackedCache</B>()</PRE> |
---|
245 | <DL> |
---|
246 | </DL> |
---|
247 | |
---|
248 | <!-- ============ METHOD DETAIL ========== --> |
---|
249 | |
---|
250 | <A NAME="method_detail"><!-- --></A> |
---|
251 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
252 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
253 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
254 | <B>Method Detail</B></FONT></TH> |
---|
255 | </TR> |
---|
256 | </TABLE> |
---|
257 | |
---|
258 | <A NAME="add(java.util.Map)"><!-- --></A><H3> |
---|
259 | add</H3> |
---|
260 | <PRE> |
---|
261 | public void <B>add</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>> rec)</PRE> |
---|
262 | <DL> |
---|
263 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#add(java.util.Map)">DIHCache</A></CODE></B></DD> |
---|
264 | <DD><p> |
---|
265 | Adds a document. If a document already exists with the same key, both |
---|
266 | documents will exist in the cache, as the cache allows duplicate keys. To |
---|
267 | update a key's documents, first call delete(Object key). |
---|
268 | </p> |
---|
269 | <P> |
---|
270 | <DD><DL> |
---|
271 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#add(java.util.Map)">add</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
272 | </DD> |
---|
273 | <DD><DL> |
---|
274 | </DL> |
---|
275 | </DD> |
---|
276 | </DL> |
---|
277 | <HR> |
---|
278 | |
---|
279 | <A NAME="close()"><!-- --></A><H3> |
---|
280 | close</H3> |
---|
281 | <PRE> |
---|
282 | public void <B>close</B>()</PRE> |
---|
283 | <DL> |
---|
284 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#close()">DIHCache</A></CODE></B></DD> |
---|
285 | <DD><p> |
---|
286 | Releases resources used by this cache, if possible. The cache is flushed |
---|
287 | but not destroyed. |
---|
288 | </p> |
---|
289 | <P> |
---|
290 | <DD><DL> |
---|
291 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
292 | </DD> |
---|
293 | <DD><DL> |
---|
294 | </DL> |
---|
295 | </DD> |
---|
296 | </DL> |
---|
297 | <HR> |
---|
298 | |
---|
299 | <A NAME="delete(java.lang.Object)"><!-- --></A><H3> |
---|
300 | delete</H3> |
---|
301 | <PRE> |
---|
302 | public void <B>delete</B>(<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> key)</PRE> |
---|
303 | <DL> |
---|
304 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#delete(java.lang.Object)">DIHCache</A></CODE></B></DD> |
---|
305 | <DD><p> |
---|
306 | Delete all documents associated with the given key |
---|
307 | </p> |
---|
308 | <P> |
---|
309 | <DD><DL> |
---|
310 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#delete(java.lang.Object)">delete</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
311 | </DD> |
---|
312 | <DD><DL> |
---|
313 | </DL> |
---|
314 | </DD> |
---|
315 | </DL> |
---|
316 | <HR> |
---|
317 | |
---|
318 | <A NAME="deleteAll()"><!-- --></A><H3> |
---|
319 | deleteAll</H3> |
---|
320 | <PRE> |
---|
321 | public void <B>deleteAll</B>()</PRE> |
---|
322 | <DL> |
---|
323 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#deleteAll()">DIHCache</A></CODE></B></DD> |
---|
324 | <DD><p> |
---|
325 | Delete all data from the cache,leaving the empty cache intact. |
---|
326 | </p> |
---|
327 | <P> |
---|
328 | <DD><DL> |
---|
329 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#deleteAll()">deleteAll</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
330 | </DD> |
---|
331 | <DD><DL> |
---|
332 | </DL> |
---|
333 | </DD> |
---|
334 | </DL> |
---|
335 | <HR> |
---|
336 | |
---|
337 | <A NAME="destroy()"><!-- --></A><H3> |
---|
338 | destroy</H3> |
---|
339 | <PRE> |
---|
340 | public void <B>destroy</B>()</PRE> |
---|
341 | <DL> |
---|
342 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#destroy()">DIHCache</A></CODE></B></DD> |
---|
343 | <DD><p> |
---|
344 | Closes the cache, if open. Then removes all data, possibly removing the |
---|
345 | cache entirely from persistent storage. |
---|
346 | </p> |
---|
347 | <P> |
---|
348 | <DD><DL> |
---|
349 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
350 | </DD> |
---|
351 | <DD><DL> |
---|
352 | </DL> |
---|
353 | </DD> |
---|
354 | </DL> |
---|
355 | <HR> |
---|
356 | |
---|
357 | <A NAME="flush()"><!-- --></A><H3> |
---|
358 | flush</H3> |
---|
359 | <PRE> |
---|
360 | public void <B>flush</B>()</PRE> |
---|
361 | <DL> |
---|
362 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#flush()">DIHCache</A></CODE></B></DD> |
---|
363 | <DD><p> |
---|
364 | Persists any pending data to the cache |
---|
365 | </p> |
---|
366 | <P> |
---|
367 | <DD><DL> |
---|
368 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#flush()">flush</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
369 | </DD> |
---|
370 | <DD><DL> |
---|
371 | </DL> |
---|
372 | </DD> |
---|
373 | </DL> |
---|
374 | <HR> |
---|
375 | |
---|
376 | <A NAME="iterator(java.lang.Object)"><!-- --></A><H3> |
---|
377 | iterator</H3> |
---|
378 | <PRE> |
---|
379 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>iterator</B>(<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> key)</PRE> |
---|
380 | <DL> |
---|
381 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#iterator(java.lang.Object)">DIHCache</A></CODE></B></DD> |
---|
382 | <DD><p> |
---|
383 | Returns an iterator, allowing callers to iterate through all documents that |
---|
384 | match the given key in insertion order. |
---|
385 | </p> |
---|
386 | <P> |
---|
387 | <DD><DL> |
---|
388 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#iterator(java.lang.Object)">iterator</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
389 | </DD> |
---|
390 | <DD><DL> |
---|
391 | </DL> |
---|
392 | </DD> |
---|
393 | </DL> |
---|
394 | <HR> |
---|
395 | |
---|
396 | <A NAME="iterator()"><!-- --></A><H3> |
---|
397 | iterator</H3> |
---|
398 | <PRE> |
---|
399 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>iterator</B>()</PRE> |
---|
400 | <DL> |
---|
401 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#iterator()">DIHCache</A></CODE></B></DD> |
---|
402 | <DD><p> |
---|
403 | Returns an iterator, allowing callers to iterate through the entire cache |
---|
404 | in key, then insertion, order. |
---|
405 | </p> |
---|
406 | <P> |
---|
407 | <DD><DL> |
---|
408 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#iterator()">iterator</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
409 | </DD> |
---|
410 | <DD><DL> |
---|
411 | </DL> |
---|
412 | </DD> |
---|
413 | </DL> |
---|
414 | <HR> |
---|
415 | |
---|
416 | <A NAME="open(org.apache.solr.handler.dataimport.Context)"><!-- --></A><H3> |
---|
417 | open</H3> |
---|
418 | <PRE> |
---|
419 | public void <B>open</B>(<A HREF="../../../../../org/apache/solr/handler/dataimport/Context.html" title="class in org.apache.solr.handler.dataimport">Context</A> context)</PRE> |
---|
420 | <DL> |
---|
421 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#open(org.apache.solr.handler.dataimport.Context)">DIHCache</A></CODE></B></DD> |
---|
422 | <DD><p> |
---|
423 | Opens the cache using the specified properties. The <A HREF="../../../../../org/apache/solr/handler/dataimport/Context.html" title="class in org.apache.solr.handler.dataimport"><CODE>Context</CODE></A> |
---|
424 | includes any parameters needed by the cache impl. This must be called |
---|
425 | before any read/write operations are permitted. |
---|
426 | <p> |
---|
427 | <P> |
---|
428 | <DD><DL> |
---|
429 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html#open(org.apache.solr.handler.dataimport.Context)">open</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/DIHCache.html" title="interface in org.apache.solr.handler.dataimport">DIHCache</A></CODE></DL> |
---|
430 | </DD> |
---|
431 | <DD><DL> |
---|
432 | </DL> |
---|
433 | </DD> |
---|
434 | </DL> |
---|
435 | <!-- ========= END OF CLASS DATA ========= --> |
---|
436 | <HR> |
---|
437 | |
---|
438 | |
---|
439 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
440 | <A NAME="navbar_bottom"><!-- --></A> |
---|
441 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
442 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
443 | <TR> |
---|
444 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
445 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
446 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
447 | <TR ALIGN="center" VALIGN="top"> |
---|
448 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
449 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
450 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
451 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SortedMapBackedCache.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
452 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
453 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
454 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
455 | </TR> |
---|
456 | </TABLE> |
---|
457 | </TD> |
---|
458 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
459 | </EM> |
---|
460 | </TD> |
---|
461 | </TR> |
---|
462 | |
---|
463 | <TR> |
---|
464 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
465 | <A HREF="../../../../../org/apache/solr/handler/dataimport/SolrWriter.html" title="class in org.apache.solr.handler.dataimport"><B>PREV CLASS</B></A> |
---|
466 | <A HREF="../../../../../org/apache/solr/handler/dataimport/SqlEntityProcessor.html" title="class in org.apache.solr.handler.dataimport"><B>NEXT CLASS</B></A></FONT></TD> |
---|
467 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
468 | <A HREF="../../../../../index.html?org/apache/solr/handler/dataimport/SortedMapBackedCache.html" target="_top"><B>FRAMES</B></A> |
---|
469 | <A HREF="SortedMapBackedCache.html" target="_top"><B>NO FRAMES</B></A> |
---|
470 | <SCRIPT type="text/javascript"> |
---|
471 | <!-- |
---|
472 | if(window==top) { |
---|
473 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
474 | } |
---|
475 | //--> |
---|
476 | </SCRIPT> |
---|
477 | <NOSCRIPT> |
---|
478 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
479 | </NOSCRIPT> |
---|
480 | |
---|
481 | |
---|
482 | </FONT></TD> |
---|
483 | </TR> |
---|
484 | <TR> |
---|
485 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
486 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
487 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
488 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
489 | </TR> |
---|
490 | </TABLE> |
---|
491 | <A NAME="skip-navbar_bottom"></A> |
---|
492 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
493 | |
---|
494 | <HR> |
---|
495 | |
---|
496 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
497 | <script src='../../../../../prettify.js' type='text/javascript'></script> |
---|
498 | <script type='text/javascript'> |
---|
499 | (function(){ |
---|
500 | var oldonload = window.onload; |
---|
501 | if (typeof oldonload != 'function') { |
---|
502 | window.onload = prettyPrint; |
---|
503 | } else { |
---|
504 | window.onload = function() { |
---|
505 | oldonload(); |
---|
506 | prettyPrint(); |
---|
507 | } |
---|
508 | } |
---|
509 | })(); |
---|
510 | </script> |
---|
511 | |
---|
512 | </BODY> |
---|
513 | </HTML> |
---|