blob: 76305e9376fdf726964e32e78bcf192260336abd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Sun Aug 28 20:43:10 EST 2016 -->
<title>Uses of Class net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg (Apache River v3.0.0 API Documentation (internals))</title>
<meta name="date" content="2016-08-28">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg (Apache River v3.0.0 API Documentation (internals))";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/jini/lookup/class-use/ServiceDiscoveryManager.ServiceItemReg.html" target="_top">Frames</a></li>
<li><a href="ServiceDiscoveryManager.ServiceItemReg.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg" class="title">Uses of Class<br>net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#net.jini.lookup">net.jini.lookup</a></td>
<td class="colLast">
<div class="block">Standard utility classes for managing the <i>join state</i> of a service
and the service discovery duties of a client or service.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="net.jini.lookup">
<!-- -->
</a>
<h3>Uses of <a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a> in <a href="../../../../net/jini/lookup/package-summary.html">net.jini.lookup</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../net/jini/lookup/package-summary.html">net.jini.lookup</a> with type parameters of type <a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent.ConcurrentMap.html?is-external=true" title="class or interface in java.util">java.util.concurrent.ConcurrentMap</a>&lt;<a href="../../../../net/jini/core/lookup/ServiceID.html" title="class in net.jini.core.lookup">ServiceID</a>,<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#serviceIdMap">serviceIdMap</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../net/jini/lookup/package-summary.html">net.jini.lookup</a> that return types with arguments of type <a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="../../../../net/jini/core/lookup/ServiceID.html" title="class in net.jini.core.lookup">ServiceID</a>,<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&gt;&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#getServiceIdMapEntrySetIterator--">getServiceIdMapEntrySetIterator</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../net/jini/lookup/package-summary.html">net.jini.lookup</a> with parameters of type <a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a></code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#addFilteredItemToMap-net.jini.core.lookup.ServiceItem-net.jini.core.lookup.ServiceItem-net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg-">addFilteredItemToMap</a></span>(<a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a>&nbsp;item,
<a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a>&nbsp;filteredItem,
<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&nbsp;itemReg)</code>
<div class="block">Convenience method called by <code>filterMaybeDiscard</code> that
finds the <code>ServiceItemReg</code> element in the
<code>serviceIdMap</code> that corresponds to the given
<code>ServiceItem</code> and, if such an element is found, replaces
the <code>item</code> field of that element with the given
<code>item</code> parameter; and sets the <code>filteredItem</code>
field of that element to the value contained in the
<code>filteredItem</code> parameter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#discardRetryLater-net.jini.core.lookup.ServiceItem-boolean-net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg-">discardRetryLater</a></span>(<a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a>&nbsp;item,
boolean&nbsp;sendEvent,
<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&nbsp;itemReg)</code>
<div class="block">Convenience method called by <code>filterMaybeDiscard</code> that
finds in the <code>serviceIdMap</code>, the
<code>ServiceItemReg</code> element corresponding to the given
<code>ServiceItem</code>, sets a service removed event, and queues a
<code>ServiceDiscardTimerTask</code> to retry the filter at a later
time.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a></code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#filterMaybeDiscard-net.jini.core.lookup.ServiceID-net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg-net.jini.core.lookup.ServiceItem-boolean-">filterMaybeDiscard</a></span>(<a href="../../../../net/jini/core/lookup/ServiceID.html" title="class in net.jini.core.lookup">ServiceID</a>&nbsp;srvcID,
<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&nbsp;itemReg,
<a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a>&nbsp;item,
boolean&nbsp;sendEvent)</code>
<div class="block">Applies the first-stage <code>filter</code> associated with the
current instance of <code>LookupCache</code> to the given
<code>item</code> and returns the resulting filtered item if the
<code>filter</code> is passed (or is <code>null</code>); otherwise,
returns <code>null</code> and sends a service removed event if the
<code>sendEvent</code> parameter is <code>true</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#itemMatchMatchChange-net.jini.core.lookup.ServiceID-net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg-net.jini.core.lookup.ServiceRegistrar-net.jini.core.lookup.ServiceItem-boolean-">itemMatchMatchChange</a></span>(<a href="../../../../net/jini/core/lookup/ServiceID.html" title="class in net.jini.core.lookup">ServiceID</a>&nbsp;srvcID,
<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&nbsp;itemReg,
<a href="../../../../net/jini/core/lookup/ServiceRegistrar.html" title="interface in net.jini.core.lookup">ServiceRegistrar</a>&nbsp;proxy,
<a href="../../../../net/jini/core/lookup/ServiceItem.html" title="class in net.jini.core.lookup">ServiceItem</a>&nbsp;newItem,
boolean&nbsp;matchMatchEvent)</code>
<div class="block">With respect to a given service (referenced by the parameter
newItem), if either an event has been received from the given lookup
service (referenced by the proxy parameter), or a snapshot of the
given lookup service's state has been retrieved, this method
determines whether the service's attributes have changed, or whether
a new version of the service has been registered.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><span class="typeNameLabel">ServiceDiscoveryManager.LookupCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html#removeServiceIdMapSendNoEvent-net.jini.core.lookup.ServiceID-net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg-">removeServiceIdMapSendNoEvent</a></span>(<a href="../../../../net/jini/core/lookup/ServiceID.html" title="class in net.jini.core.lookup">ServiceID</a>&nbsp;sid,
<a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a>&nbsp;itemReg)</code>
<div class="block">Removes an entry in the serviceIdMap, but sends no notification.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/jini/lookup/class-use/ServiceDiscoveryManager.ServiceItemReg.html" target="_top">Frames</a></li>
<li><a href="ServiceDiscoveryManager.ServiceItemReg.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright 2007-2013, multiple authors.<br>Licensed under the <a href=http://www.apache.org/licenses/LICENSE-2.0 target=child >Apache License, Version 2.0</a>, see the <a href=../../../../doc-files/NOTICE target=child >NOTICE</a> file for attributions.</small></p>
</body>
</html>