/** * Returns the current number of CQS the client installed. * * @return int the current count of CQs for this client */ public int getCqCount() { synchronized (this) { return this._statistics.getCqCount(); } }
/** * Returns the current number of CQS the client installed. * * @return int the current count of CQs for this client */ public int getCqCount() { synchronized (this) { return this._statistics.getCqCount(); } }
/** * Returns true if the client has one CQ * * @return true if the client has one CQ */ public boolean hasOneCq() { synchronized (this) { return this._statistics.getCqCount() == 1; } }
/** * Returns true if the client has one CQ * * @return true if the client has one CQ */ public boolean hasOneCq() { synchronized (this) { return this._statistics.getCqCount() == 1; } }
/** * Returns true if the client has no CQs * * @return true if the client has no CQs */ public boolean hasNoCq() { synchronized (this) { return this._statistics.getCqCount() == 0; } }
/** * Returns true if the client has no CQs * * @return true if the client has no CQs */ public boolean hasNoCq() { synchronized (this) { return this._statistics.getCqCount() == 0; } }