if (clientCq != null && !clientCq.isEmpty()) { if (logger.isDebugEnabled()) { logger.debug("CCP clientCq size before processing auth {}", clientCq.size());
if (clientCq != null && !clientCq.isEmpty()) { if (_logger.fineEnabled()) { _logger.fine("CCP clientCq size before processing auth "
/** * Returns the cqs for the given client. * @return cqNames */ public String[] getCqs(ClientProxyMembershipID clientId) { String[] cqNames = null; if (this._clientCqs != null) { CqNameToOp cqs = this._clientCqs.get(clientId); if (cqs != null && !cqs.isEmpty()) { cqNames = cqs.getNames(); } } return cqNames; }
/** * Returns the cqs for the given client. * @return cqNames */ public String[] getCqs(ClientProxyMembershipID clientId) { String[] cqNames = null; if (this._clientCqs != null) { CqNameToOp cqs = this._clientCqs.get(clientId); if (cqs != null && !cqs.isEmpty()) { cqNames = cqs.getNames(); } } return cqNames; }
/** * @return boolean true if cq info is present for the given proxy. */ public boolean hasCqs(ClientProxyMembershipID clientId) { if (this._clientCqs != null) { CqNameToOp cqs = this._clientCqs.get(clientId); if (cqs != null && !cqs.isEmpty()) { return true; } } return false; }
public void removeClientCq(ClientProxyMembershipID clientId, CqQuery cqToClose) { CqNameToOp cqs = getClientCq(clientId); if (cqs != null) { cqs.delete(cqToClose.getName()); //remove clientId key if no more cqs exist for this clientId if (cqs.isEmpty()) { this._clientCqs.remove(clientId); } } }
/** * @return boolean true if cq info is present for the given proxy. */ public boolean hasCqs(ClientProxyMembershipID clientId) { if (this._clientCqs != null) { CqNameToOp cqs = this._clientCqs.get(clientId); if (cqs != null && !cqs.isEmpty()) { return true; } } return false; }
public void removeClientCq(ClientProxyMembershipID clientId, InternalCqQuery cqToClose) { CqNameToOp cqs = getClientCq(clientId); if (cqs != null) { cqs.delete(cqToClose.getName()); //remove clientId key if no more cqs exist for this clientId if (cqs.isEmpty()) { this._clientCqs.remove(clientId); } } }