1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:58 PST 2015 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>SerializerCache (jackson-databind 2.5.0 API)</title>
8<meta name="date" content="2015-01-01">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="SerializerCache (jackson-databind 2.5.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/SerializerCache.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.TypeKey.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/SerializerCache.html" target="_top">Frames</a></li>
45<li><a href="SerializerCache.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.ser</div>
84<h2 title="Class SerializerCache" class="title">Class SerializerCache</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li>com.fasterxml.jackson.databind.ser.SerializerCache</li>
92</ul>
93</li>
94</ul>
95<div class="description">
96<ul class="blockList">
97<li class="blockList">
98<hr>
99<br>
100<pre>public final class <span class="strong">SerializerCache</span>
101extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
102<div class="block">Simple cache object that allows for doing 2-level lookups: first level is
103 by "local" read-only lookup Map (used without locking)
104 and second backup level is by a shared modifiable HashMap.
105 The idea is that after a while, most serializers are found from the
106 local Map (to optimize performance, reduce lock contention),
107 but that during buildup we can use a shared map to reduce both
108 number of distinct read-only maps constructed, and number of
109 serializers constructed.
110<p>
111 Since version 1.5 cache will actually contain three kinds of entries,
112 based on combination of class pair key. First class in key is for the
113 type to serialize, and second one is type used for determining how
114 to resolve value type. One (but not both) of entries can be null.</div>
115</li>
116</ul>
117</div>
118<div class="summary">
119<ul class="blockList">
120<li class="blockList">
121<!-- ======== NESTED CLASS SUMMARY ======== -->
122<ul class="blockList">
123<li class="blockList"><a name="nested_class_summary">
124<!--   -->
125</a>
126<h3>Nested Class Summary</h3>
127<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
128<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
129<tr>
130<th class="colFirst" scope="col">Modifier and Type</th>
131<th class="colLast" scope="col">Class and Description</th>
132</tr>
133<tr class="altColor">
134<td class="colFirst"><code>static class&nbsp;</code></td>
135<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.TypeKey.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache.TypeKey</a></strong></code>
136<div class="block">Key that offers two "modes"; one with raw class, as used for
137 cases were raw class type is available (for example, when using
138 runtime type); and one with full generics-including.</div>
139</td>
140</tr>
141</table>
142</li>
143</ul>
144<!-- ======== CONSTRUCTOR SUMMARY ======== -->
145<ul class="blockList">
146<li class="blockList"><a name="constructor_summary">
147<!--   -->
148</a>
149<h3>Constructor Summary</h3>
150<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
151<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
152<tr>
153<th class="colOne" scope="col">Constructor and Description</th>
154</tr>
155<tr class="altColor">
156<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#SerializerCache()">SerializerCache</a></strong>()</code>&nbsp;</td>
157</tr>
158</table>
159</li>
160</ul>
161<!-- ========== METHOD SUMMARY =========== -->
162<ul class="blockList">
163<li class="blockList"><a name="method_summary">
164<!--   -->
165</a>
166<h3>Method Summary</h3>
167<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
168<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
169<tr>
170<th class="colFirst" scope="col">Modifier and Type</th>
171<th class="colLast" scope="col">Method and Description</th>
172</tr>
173<tr class="altColor">
174<td class="colFirst"><code>void</code></td>
175<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">addAndResolveNonTypedSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
176                               <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
177                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>&nbsp;</td>
178</tr>
179<tr class="rowColor">
180<td class="colFirst"><code>void</code></td>
181<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">addAndResolveNonTypedSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
182                               <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
183                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>&nbsp;</td>
184</tr>
185<tr class="altColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)">addTypedSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
188                  <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</code>&nbsp;</td>
189</tr>
190<tr class="rowColor">
191<td class="colFirst"><code>void</code></td>
192<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">addTypedSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
193                  <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</code>
194<div class="block">Method called if none of lookups succeeded, and caller had to construct
195 a serializer.</div>
196</td>
197</tr>
198<tr class="altColor">
199<td class="colFirst"><code>void</code></td>
200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#flush()">flush</a></strong>()</code>
201<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
202 clear all cached serializers</div>
203</td>
204</tr>
205<tr class="rowColor">
206<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a></code></td>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#getReadOnlyLookupMap()">getReadOnlyLookupMap</a></strong>()</code>
208<div class="block">Method that can be called to get a read-only instance populated from the
209 most recent version of the shared lookup Map.</div>
210</td>
211</tr>
212<tr class="altColor">
213<td class="colFirst"><code>int</code></td>
214<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#size()">size</a></strong>()</code>&nbsp;</td>
215</tr>
216<tr class="rowColor">
217<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#typedValueSerializer(java.lang.Class)">typedValueSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>&nbsp;</td>
219</tr>
220<tr class="altColor">
221<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
222<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#typedValueSerializer(com.fasterxml.jackson.databind.JavaType)">typedValueSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type)</code>&nbsp;</td>
223</tr>
224<tr class="rowColor">
225<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
226<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#untypedValueSerializer(java.lang.Class)">untypedValueSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>
227<div class="block">Method that checks if the shared (and hence, synchronized) lookup Map might have
228 untyped serializer for given type.</div>
229</td>
230</tr>
231<tr class="altColor">
232<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
233<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#untypedValueSerializer(com.fasterxml.jackson.databind.JavaType)">untypedValueSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type)</code>&nbsp;</td>
234</tr>
235</table>
236<ul class="blockList">
237<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
238<!--   -->
239</a>
240<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
241<code><a href="http://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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://docs.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></li>
242</ul>
243</li>
244</ul>
245</li>
246</ul>
247</div>
248<div class="details">
249<ul class="blockList">
250<li class="blockList">
251<!-- ========= CONSTRUCTOR DETAIL ======== -->
252<ul class="blockList">
253<li class="blockList"><a name="constructor_detail">
254<!--   -->
255</a>
256<h3>Constructor Detail</h3>
257<a name="SerializerCache()">
258<!--   -->
259</a>
260<ul class="blockListLast">
261<li class="blockList">
262<h4>SerializerCache</h4>
263<pre>public&nbsp;SerializerCache()</pre>
264</li>
265</ul>
266</li>
267</ul>
268<!-- ============ METHOD DETAIL ========== -->
269<ul class="blockList">
270<li class="blockList"><a name="method_detail">
271<!--   -->
272</a>
273<h3>Method Detail</h3>
274<a name="getReadOnlyLookupMap()">
275<!--   -->
276</a>
277<ul class="blockList">
278<li class="blockList">
279<h4>getReadOnlyLookupMap</h4>
280<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a>&nbsp;getReadOnlyLookupMap()</pre>
281<div class="block">Method that can be called to get a read-only instance populated from the
282 most recent version of the shared lookup Map.</div>
283</li>
284</ul>
285<a name="size()">
286<!--   -->
287</a>
288<ul class="blockList">
289<li class="blockList">
290<h4>size</h4>
291<pre>public&nbsp;int&nbsp;size()</pre>
292</li>
293</ul>
294<a name="untypedValueSerializer(java.lang.Class)">
295<!--   -->
296</a>
297<ul class="blockList">
298<li class="blockList">
299<h4>untypedValueSerializer</h4>
300<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;untypedValueSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
301<div class="block">Method that checks if the shared (and hence, synchronized) lookup Map might have
302 untyped serializer for given type.</div>
303</li>
304</ul>
305<a name="untypedValueSerializer(com.fasterxml.jackson.databind.JavaType)">
306<!--   -->
307</a>
308<ul class="blockList">
309<li class="blockList">
310<h4>untypedValueSerializer</h4>
311<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;untypedValueSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type)</pre>
312</li>
313</ul>
314<a name="typedValueSerializer(com.fasterxml.jackson.databind.JavaType)">
315<!--   -->
316</a>
317<ul class="blockList">
318<li class="blockList">
319<h4>typedValueSerializer</h4>
320<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;typedValueSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type)</pre>
321</li>
322</ul>
323<a name="typedValueSerializer(java.lang.Class)">
324<!--   -->
325</a>
326<ul class="blockList">
327<li class="blockList">
328<h4>typedValueSerializer</h4>
329<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;typedValueSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
330</li>
331</ul>
332<a name="addTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">
333<!--   -->
334</a>
335<ul class="blockList">
336<li class="blockList">
337<h4>addTypedSerializer</h4>
338<pre>public&nbsp;void&nbsp;addTypedSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
339                      <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</pre>
340<div class="block">Method called if none of lookups succeeded, and caller had to construct
341 a serializer. If so, we will update the shared lookup map so that it
342 can be resolved via it next time.</div>
343</li>
344</ul>
345<a name="addTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)">
346<!--   -->
347</a>
348<ul class="blockList">
349<li class="blockList">
350<h4>addTypedSerializer</h4>
351<pre>public&nbsp;void&nbsp;addTypedSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
352                      <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</pre>
353</li>
354</ul>
355<a name="addAndResolveNonTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">
356<!--   -->
357</a>
358<ul class="blockList">
359<li class="blockList">
360<h4>addAndResolveNonTypedSerializer</h4>
361<pre>public&nbsp;void&nbsp;addAndResolveNonTypedSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
362                                   <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
363                                   <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
364                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
365<dl><dt><span class="strong">Throws:</span></dt>
366<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
367</li>
368</ul>
369<a name="addAndResolveNonTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">
370<!--   -->
371</a>
372<ul class="blockList">
373<li class="blockList">
374<h4>addAndResolveNonTypedSerializer</h4>
375<pre>public&nbsp;void&nbsp;addAndResolveNonTypedSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
376                                   <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
377                                   <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
378                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
379<dl><dt><span class="strong">Throws:</span></dt>
380<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
381</li>
382</ul>
383<a name="flush()">
384<!--   -->
385</a>
386<ul class="blockListLast">
387<li class="blockList">
388<h4>flush</h4>
389<pre>public&nbsp;void&nbsp;flush()</pre>
390<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
391 clear all cached serializers</div>
392</li>
393</ul>
394</li>
395</ul>
396</li>
397</ul>
398</div>
399</div>
400<!-- ========= END OF CLASS DATA ========= -->
401<!-- ======= START OF BOTTOM NAVBAR ====== -->
402<div class="bottomNav"><a name="navbar_bottom">
403<!--   -->
404</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
405<!--   -->
406</a>
407<ul class="navList" title="Navigation">
408<li><a href="../../../../../overview-summary.html">Overview</a></li>
409<li><a href="package-summary.html">Package</a></li>
410<li class="navBarCell1Rev">Class</li>
411<li><a href="class-use/SerializerCache.html">Use</a></li>
412<li><a href="package-tree.html">Tree</a></li>
413<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
414<li><a href="../../../../../index-all.html">Index</a></li>
415<li><a href="../../../../../help-doc.html">Help</a></li>
416</ul>
417</div>
418<div class="subNav">
419<ul class="navList">
420<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
421<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.TypeKey.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
422</ul>
423<ul class="navList">
424<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/SerializerCache.html" target="_top">Frames</a></li>
425<li><a href="SerializerCache.html" target="_top">No Frames</a></li>
426</ul>
427<ul class="navList" id="allclasses_navbar_bottom">
428<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
429</ul>
430<div>
431<script type="text/javascript"><!--
432  allClassesLink = document.getElementById("allclasses_navbar_bottom");
433  if(window==top) {
434    allClassesLink.style.display = "block";
435  }
436  else {
437    allClassesLink.style.display = "none";
438  }
439  //-->
440</script>
441</div>
442<div>
443<ul class="subNavList">
444<li>Summary:&nbsp;</li>
445<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
446<li>Field&nbsp;|&nbsp;</li>
447<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
448<li><a href="#method_summary">Method</a></li>
449</ul>
450<ul class="subNavList">
451<li>Detail:&nbsp;</li>
452<li>Field&nbsp;|&nbsp;</li>
453<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
454<li><a href="#method_detail">Method</a></li>
455</ul>
456</div>
457<a name="skip-navbar_bottom">
458<!--   -->
459</a></div>
460<!-- ======== END OF BOTTOM NAVBAR ======= -->
461<p class="legalCopy"><small>Copyright &#169; 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
462</body>
463</html>
464