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 (1.8.0_162) on Tue Jan 23 20:22:16 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>SerializerCache (jackson-databind 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="SerializerCache (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/SerializerCache.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/SerializerCache.html" target="_top">Frames</a></li>
58<li><a href="SerializerCache.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.ser</div>
97<h2 title="Class SerializerCache" class="title">Class SerializerCache</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<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>
102<li>
103<ul class="inheritance">
104<li>com.fasterxml.jackson.databind.ser.SerializerCache</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<hr>
112<br>
113<pre>public final class <span class="typeNameLabel">SerializerCache</span>
114extends <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>
115<div class="block">Simple cache object that allows for doing 2-level lookups: first level is
116 by "local" read-only lookup Map (used without locking)
117 and second backup level is by a shared modifiable HashMap.
118 The idea is that after a while, most serializers are found from the
119 local Map (to optimize performance, reduce lock contention),
120 but that during buildup we can use a shared map to reduce both
121 number of distinct read-only maps constructed, and number of
122 serializers constructed.
123<p>
124 Cache contains three kinds of entries,
125 based on combination of class pair key. First class in key is for the
126 type to serialize, and second one is type used for determining how
127 to resolve value type. One (but not both) of entries can be null.</div>
128</li>
129</ul>
130</div>
131<div class="summary">
132<ul class="blockList">
133<li class="blockList">
134<!-- ======== CONSTRUCTOR SUMMARY ======== -->
135<ul class="blockList">
136<li class="blockList"><a name="constructor.summary">
137<!--   -->
138</a>
139<h3>Constructor Summary</h3>
140<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
141<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
142<tr>
143<th class="colOne" scope="col">Constructor and Description</th>
144</tr>
145<tr class="altColor">
146<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#SerializerCache--">SerializerCache</a></span>()</code>&nbsp;</td>
147</tr>
148</table>
149</li>
150</ul>
151<!-- ========== METHOD SUMMARY =========== -->
152<ul class="blockList">
153<li class="blockList"><a name="method.summary">
154<!--   -->
155</a>
156<h3>Method Summary</h3>
157<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
158<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
159<tr>
160<th class="colFirst" scope="col">Modifier and Type</th>
161<th class="colLast" scope="col">Method and Description</th>
162</tr>
163<tr id="i0" class="altColor">
164<td class="colFirst"><code>void</code></td>
165<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addAndResolveNonTypedSerializer-java.lang.Class-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.SerializerProvider-">addAndResolveNonTypedSerializer</a></span>(<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,
166                               <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;fullType,
167                               <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,
168                               <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
169<div class="block">Another alternative that will cover both access via raw type and matching
170 fully resolved type, in one fell swoop.</div>
171</td>
172</tr>
173<tr id="i1" class="rowColor">
174<td class="colFirst"><code>void</code></td>
175<td class="colLast"><code><span class="memberNameLink"><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></span>(<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,
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/7/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 id="i2" class="altColor">
180<td class="colFirst"><code>void</code></td>
181<td class="colLast"><code><span class="memberNameLink"><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></span>(<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/7/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 id="i3" class="rowColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">addTypedSerializer</a></span>(<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,
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/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>
189</tr>
190<tr id="i4" class="altColor">
191<td class="colFirst"><code>void</code></td>
192<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#addTypedSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-">addTypedSerializer</a></span>(<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/7/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 id="i5" class="rowColor">
199<td class="colFirst"><code>void</code></td>
200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#flush--">flush</a></span>()</code>
201<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
202 clear all cached serializers</div>
203</td>
204</tr>
205<tr id="i6" class="altColor">
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><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#getReadOnlyLookupMap--">getReadOnlyLookupMap</a></span>()</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 id="i7" class="rowColor">
213<td class="colFirst"><code>int</code></td>
214<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#size--">size</a></span>()</code>&nbsp;</td>
215</tr>
216<tr id="i8" class="altColor">
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/7/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><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#typedValueSerializer-java.lang.Class-">typedValueSerializer</a></span>(<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>
219</tr>
220<tr id="i9" class="rowColor">
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/7/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><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#typedValueSerializer-com.fasterxml.jackson.databind.JavaType-">typedValueSerializer</a></span>(<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 id="i10" class="altColor">
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/7/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><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#untypedValueSerializer-java.lang.Class-">untypedValueSerializer</a></span>(<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>
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 id="i11" class="rowColor">
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/7/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><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html#untypedValueSerializer-com.fasterxml.jackson.databind.JavaType-">untypedValueSerializer</a></span>(<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/7/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/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-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/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>
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/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>
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/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>
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/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>
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/7/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/7/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/7/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/7/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/7/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>
366<dt><span class="throwsLabel">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>
368</dl>
369</li>
370</ul>
371<a name="addAndResolveNonTypedSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.SerializerProvider-">
372<!--   -->
373</a>
374<ul class="blockList">
375<li class="blockList">
376<h4>addAndResolveNonTypedSerializer</h4>
377<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,
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<dl>
382<dt><span class="throwsLabel">Throws:</span></dt>
383<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
384</dl>
385</li>
386</ul>
387<a name="addAndResolveNonTypedSerializer-java.lang.Class-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.SerializerProvider-">
388<!--   -->
389</a>
390<ul class="blockList">
391<li class="blockList">
392<h4>addAndResolveNonTypedSerializer</h4>
393<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,
394                                            <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;fullType,
395                                            <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,
396                                            <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
397                                     throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
398<div class="block">Another alternative that will cover both access via raw type and matching
399 fully resolved type, in one fell swoop.</div>
400<dl>
401<dt><span class="throwsLabel">Throws:</span></dt>
402<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
403<dt><span class="simpleTagLabel">Since:</span></dt>
404<dd>2.7</dd>
405</dl>
406</li>
407</ul>
408<a name="flush--">
409<!--   -->
410</a>
411<ul class="blockListLast">
412<li class="blockList">
413<h4>flush</h4>
414<pre>public&nbsp;void&nbsp;flush()</pre>
415<div class="block">Method called by StdSerializerProvider#flushCachedSerializers() to
416 clear all cached serializers</div>
417</li>
418</ul>
419</li>
420</ul>
421</li>
422</ul>
423</div>
424</div>
425<!-- ========= END OF CLASS DATA ========= -->
426<!-- ======= START OF BOTTOM NAVBAR ====== -->
427<div class="bottomNav"><a name="navbar.bottom">
428<!--   -->
429</a>
430<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
431<a name="navbar.bottom.firstrow">
432<!--   -->
433</a>
434<ul class="navList" title="Navigation">
435<li><a href="../../../../../overview-summary.html">Overview</a></li>
436<li><a href="package-summary.html">Package</a></li>
437<li class="navBarCell1Rev">Class</li>
438<li><a href="class-use/SerializerCache.html">Use</a></li>
439<li><a href="package-tree.html">Tree</a></li>
440<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
441<li><a href="../../../../../index-all.html">Index</a></li>
442<li><a href="../../../../../help-doc.html">Help</a></li>
443</ul>
444</div>
445<div class="subNav">
446<ul class="navList">
447<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
448<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
449</ul>
450<ul class="navList">
451<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/SerializerCache.html" target="_top">Frames</a></li>
452<li><a href="SerializerCache.html" target="_top">No&nbsp;Frames</a></li>
453</ul>
454<ul class="navList" id="allclasses_navbar_bottom">
455<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
456</ul>
457<div>
458<script type="text/javascript"><!--
459  allClassesLink = document.getElementById("allclasses_navbar_bottom");
460  if(window==top) {
461    allClassesLink.style.display = "block";
462  }
463  else {
464    allClassesLink.style.display = "none";
465  }
466  //-->
467</script>
468</div>
469<div>
470<ul class="subNavList">
471<li>Summary:&nbsp;</li>
472<li>Nested&nbsp;|&nbsp;</li>
473<li>Field&nbsp;|&nbsp;</li>
474<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
475<li><a href="#method.summary">Method</a></li>
476</ul>
477<ul class="subNavList">
478<li>Detail:&nbsp;</li>
479<li>Field&nbsp;|&nbsp;</li>
480<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
481<li><a href="#method.detail">Method</a></li>
482</ul>
483</div>
484<a name="skip.navbar.bottom">
485<!--   -->
486</a></div>
487<!-- ======== END OF BOTTOM NAVBAR ======= -->
488<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
489</body>
490</html>
491