• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_79) on Wed Jul 20 08:39:13 PDT 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>SerializerCache (jackson-databind 2.8.0 API)</title>
8<meta name="date" content="2016-07-20">
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.8.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/SerializerFactory.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>Nested&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/7/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/7/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 Cache contains 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<!-- ======== CONSTRUCTOR SUMMARY ======== -->
122<ul class="blockList">
123<li class="blockList"><a name="constructor_summary">
124<!--   -->
125</a>
126<h3>Constructor Summary</h3>
127<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
128<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
129<tr>
130<th class="colOne" scope="col">Constructor and Description</th>
131</tr>
132<tr class="altColor">
133<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#SerializerCache()">SerializerCache</a></strong>()</code>&nbsp;</td>
134</tr>
135</table>
136</li>
137</ul>
138<!-- ========== METHOD SUMMARY =========== -->
139<ul class="blockList">
140<li class="blockList"><a name="method_summary">
141<!--   -->
142</a>
143<h3>Method Summary</h3>
144<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
145<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
146<tr>
147<th class="colFirst" scope="col">Modifier and Type</th>
148<th class="colLast" scope="col">Method and Description</th>
149</tr>
150<tr class="altColor">
151<td class="colFirst"><code>void</code></td>
152<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer(java.lang.Class,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.SerializerProvider)">addAndResolveNonTypedSerializer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rawType,
153                               <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;fullType,
154                               <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
155                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
156<div class="block">Another alternative that will cover both access via raw type and matching
157 fully resolved type, in one fell swoop.</div>
158</td>
159</tr>
160<tr class="rowColor">
161<td class="colFirst"><code>void</code></td>
162<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer(java.lang.Class,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.SerializerProvider)">addAndResolveNonTypedSerializer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
163                               <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
164                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>&nbsp;</td>
165</tr>
166<tr class="altColor">
167<td class="colFirst"><code>void</code></td>
168<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer(com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.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,
169                               <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
170                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>&nbsp;</td>
171</tr>
172<tr class="rowColor">
173<td class="colFirst"><code>void</code></td>
174<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer(java.lang.Class,%20com.fasterxml.jackson.databind.JsonSerializer)">addTypedSerializer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
175                  <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</code>&nbsp;</td>
176</tr>
177<tr class="altColor">
178<td class="colFirst"><code>void</code></td>
179<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer(com.fasterxml.jackson.databind.JavaType,%20com.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,
180                  <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</code>
181<div class="block">Method called if none of lookups succeeded, and caller had to construct
182 a serializer.</div>
183</td>
184</tr>
185<tr class="rowColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#flush()">flush</a></strong>()</code>
188<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
189 clear all cached serializers</div>
190</td>
191</tr>
192<tr class="altColor">
193<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>
194<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#getReadOnlyLookupMap()">getReadOnlyLookupMap</a></strong>()</code>
195<div class="block">Method that can be called to get a read-only instance populated from the
196 most recent version of the shared lookup Map.</div>
197</td>
198</tr>
199<tr class="rowColor">
200<td class="colFirst"><code>int</code></td>
201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#size()">size</a></strong>()</code>&nbsp;</td>
202</tr>
203<tr class="altColor">
204<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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
205<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/7/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>
206</tr>
207<tr class="rowColor">
208<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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
209<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>
210</tr>
211<tr class="altColor">
212<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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
213<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/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>
214<div class="block">Method that checks if the shared (and hence, synchronized) lookup Map might have
215 untyped serializer for given type.</div>
216</td>
217</tr>
218<tr class="rowColor">
219<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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
220<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>
221</tr>
222</table>
223<ul class="blockList">
224<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
225<!--   -->
226</a>
227<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
228<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
229</ul>
230</li>
231</ul>
232</li>
233</ul>
234</div>
235<div class="details">
236<ul class="blockList">
237<li class="blockList">
238<!-- ========= CONSTRUCTOR DETAIL ======== -->
239<ul class="blockList">
240<li class="blockList"><a name="constructor_detail">
241<!--   -->
242</a>
243<h3>Constructor Detail</h3>
244<a name="SerializerCache()">
245<!--   -->
246</a>
247<ul class="blockListLast">
248<li class="blockList">
249<h4>SerializerCache</h4>
250<pre>public&nbsp;SerializerCache()</pre>
251</li>
252</ul>
253</li>
254</ul>
255<!-- ============ METHOD DETAIL ========== -->
256<ul class="blockList">
257<li class="blockList"><a name="method_detail">
258<!--   -->
259</a>
260<h3>Method Detail</h3>
261<a name="getReadOnlyLookupMap()">
262<!--   -->
263</a>
264<ul class="blockList">
265<li class="blockList">
266<h4>getReadOnlyLookupMap</h4>
267<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>
268<div class="block">Method that can be called to get a read-only instance populated from the
269 most recent version of the shared lookup Map.</div>
270</li>
271</ul>
272<a name="size()">
273<!--   -->
274</a>
275<ul class="blockList">
276<li class="blockList">
277<h4>size</h4>
278<pre>public&nbsp;int&nbsp;size()</pre>
279</li>
280</ul>
281<a name="untypedValueSerializer(java.lang.Class)">
282<!--   -->
283</a>
284<ul class="blockList">
285<li class="blockList">
286<h4>untypedValueSerializer</h4>
287<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/7/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/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
288<div class="block">Method that checks if the shared (and hence, synchronized) lookup Map might have
289 untyped serializer for given type.</div>
290</li>
291</ul>
292<a name="untypedValueSerializer(com.fasterxml.jackson.databind.JavaType)">
293<!--   -->
294</a>
295<ul class="blockList">
296<li class="blockList">
297<h4>untypedValueSerializer</h4>
298<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/7/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>
299</li>
300</ul>
301<a name="typedValueSerializer(com.fasterxml.jackson.databind.JavaType)">
302<!--   -->
303</a>
304<ul class="blockList">
305<li class="blockList">
306<h4>typedValueSerializer</h4>
307<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/7/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>
308</li>
309</ul>
310<a name="typedValueSerializer(java.lang.Class)">
311<!--   -->
312</a>
313<ul class="blockList">
314<li class="blockList">
315<h4>typedValueSerializer</h4>
316<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/7/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/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
317</li>
318</ul>
319<a name="addTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">
320<!--   -->
321</a>
322<ul class="blockList">
323<li class="blockList">
324<h4>addTypedSerializer</h4>
325<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,
326                      <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</pre>
327<div class="block">Method called if none of lookups succeeded, and caller had to construct
328 a serializer. If so, we will update the shared lookup map so that it
329 can be resolved via it next time.</div>
330</li>
331</ul>
332<a name="addTypedSerializer(java.lang.Class, 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="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</pre>
340</li>
341</ul>
342<a name="addAndResolveNonTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">
343<!--   -->
344</a>
345<ul class="blockList">
346<li class="blockList">
347<h4>addAndResolveNonTypedSerializer</h4>
348<pre>public&nbsp;void&nbsp;addAndResolveNonTypedSerializer(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
349                                   <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
350                                   <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
351                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
352<dl><dt><span class="strong">Throws:</span></dt>
353<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
354</li>
355</ul>
356<a name="addAndResolveNonTypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">
357<!--   -->
358</a>
359<ul class="blockList">
360<li class="blockList">
361<h4>addAndResolveNonTypedSerializer</h4>
362<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,
363                                   <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
364                                   <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
365                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
366<dl><dt><span class="strong">Throws:</span></dt>
367<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
368</li>
369</ul>
370<a name="addAndResolveNonTypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.SerializerProvider)">
371<!--   -->
372</a>
373<ul class="blockList">
374<li class="blockList">
375<h4>addAndResolveNonTypedSerializer</h4>
376<pre>public&nbsp;void&nbsp;addAndResolveNonTypedSerializer(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rawType,
377                                   <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;fullType,
378                                   <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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser,
379                                   <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
380                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
381<div class="block">Another alternative that will cover both access via raw type and matching
382 fully resolved type, in one fell swoop.</div>
383<dl><dt><span class="strong">Throws:</span></dt>
384<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
385  <dd>2.7</dd></dl>
386</li>
387</ul>
388<a name="flush()">
389<!--   -->
390</a>
391<ul class="blockListLast">
392<li class="blockList">
393<h4>flush</h4>
394<pre>public&nbsp;void&nbsp;flush()</pre>
395<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
396 clear all cached serializers</div>
397</li>
398</ul>
399</li>
400</ul>
401</li>
402</ul>
403</div>
404</div>
405<!-- ========= END OF CLASS DATA ========= -->
406<!-- ======= START OF BOTTOM NAVBAR ====== -->
407<div class="bottomNav"><a name="navbar_bottom">
408<!--   -->
409</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
410<!--   -->
411</a>
412<ul class="navList" title="Navigation">
413<li><a href="../../../../../overview-summary.html">Overview</a></li>
414<li><a href="package-summary.html">Package</a></li>
415<li class="navBarCell1Rev">Class</li>
416<li><a href="class-use/SerializerCache.html">Use</a></li>
417<li><a href="package-tree.html">Tree</a></li>
418<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
419<li><a href="../../../../../index-all.html">Index</a></li>
420<li><a href="../../../../../help-doc.html">Help</a></li>
421</ul>
422</div>
423<div class="subNav">
424<ul class="navList">
425<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>
426<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
427</ul>
428<ul class="navList">
429<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/SerializerCache.html" target="_top">Frames</a></li>
430<li><a href="SerializerCache.html" target="_top">No Frames</a></li>
431</ul>
432<ul class="navList" id="allclasses_navbar_bottom">
433<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
434</ul>
435<div>
436<script type="text/javascript"><!--
437  allClassesLink = document.getElementById("allclasses_navbar_bottom");
438  if(window==top) {
439    allClassesLink.style.display = "block";
440  }
441  else {
442    allClassesLink.style.display = "none";
443  }
444  //-->
445</script>
446</div>
447<div>
448<ul class="subNavList">
449<li>Summary:&nbsp;</li>
450<li>Nested&nbsp;|&nbsp;</li>
451<li>Field&nbsp;|&nbsp;</li>
452<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
453<li><a href="#method_summary">Method</a></li>
454</ul>
455<ul class="subNavList">
456<li>Detail:&nbsp;</li>
457<li>Field&nbsp;|&nbsp;</li>
458<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
459<li><a href="#method_detail">Method</a></li>
460</ul>
461</div>
462<a name="skip-navbar_bottom">
463<!--   -->
464</a></div>
465<!-- ======== END OF BOTTOM NAVBAR ======= -->
466<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
467</body>
468</html>
469