</a>&lt;org.apache.kafka.common.MetricName,&#8203;? extends org.apache.kafka.common.Metric&gt;&nbsp;metrics()</pre>
<div class="block">Gets all the current <code>Metric</code>s for this <code>KafkaStreams</code> instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a map of <code>Metric</code>.</dd>
</dl>
</li>
</ul>
<a id="close()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;close()</pre>
<div class="