/** * Unregisters an existing client from this server. * * @param memberId * Uniquely identifies the client * * */ public void unregisterClient(ClientProxyMembershipID memberId, boolean normalShutdown) { if (logger.isDebugEnabled()) { logger.debug("CacheClientNotifier: Unregistering all clients with member id: {}", memberId); } CacheClientProxy proxy = getClientProxy(memberId); if (proxy != null) { final boolean isTraceEnabled = logger.isTraceEnabled(); if (isTraceEnabled) { logger.trace("CacheClientNotifier: Potential client: {}", proxy); } // If the proxy's member id is the same as the input member id, add // it to the set of dead proxies. if (!proxy.startRemoval()) { if (isTraceEnabled) { logger.trace("CacheClientNotifier: Potential client: {} matches {}", proxy, memberId); } closeDeadProxies(Collections.singletonList(proxy), normalShutdown); } } }
/** * Unregisters an existing client from this server. * * @param memberId * Uniquely identifies the client * * */ public void unregisterClient(ClientProxyMembershipID memberId, boolean normalShutdown) { if (_logger.fineEnabled()) { _logger .fine("CacheClientNotifier: Unregistering all clients with member id: " + memberId); } CacheClientProxy proxy = getClientProxy(memberId); if (proxy != null) { if (_logger.finerEnabled()) _logger.finer("CacheClientNotifier: Potential client: " + proxy); // If the proxy's member id is the same as the input member id, add // it to the set of dead proxies. if (!proxy.startRemoval()) { if (_logger.finerEnabled()) _logger.finer("CacheClientNotifier: Potential client: " + proxy + " matches " + memberId); closeDeadProxies(Collections.singletonList(proxy), normalShutdown); } } }
logger.debug("CacheClientNotifier: A proxy exists for this non-durable client. It must be closed."); if (staleClientProxy.startRemoval()) { staleClientProxy.waitRemoval();
.fine("CacheClientNotifier: A proxy exists for this non-durable client. It must be closed."); if (staleClientProxy.startRemoval()) { staleClientProxy.waitRemoval();