private void closeTransientFields() { // Close the socket if (this._socket != null && !this._socket.isClosed()) { try { this._socket.close(); getCacheClientNotifier().getAcceptorStats().decCurrentQueueConnections(); } catch (IOException e) {/*ignore*/} } // Null out comm buffer, host address, ports and proxy id. All will be // replaced when the client reconnects. this._commBuffer = null; this._remoteHostAddress = null; try { this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); } catch (CacheClosedException e) { // ignore if cache is shutting down } // Commented to fix bug 40259 //this.clientVersion = null; closeNonDurableCqs(); }
this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.durableInterestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.durableInterestListIndex].clearClientInterestList();
this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.durableInterestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); this.cils[RegisterInterestTracker.durableInterestListIndex].clearClientInterestList();
private void closeTransientFields() { closeSocket(); // Null out comm buffer, host address, ports and proxy id. All will be // replaced when the client reconnects. releaseCommBuffer(); { String remoteHostAddress = this._remoteHostAddress; if (remoteHostAddress != null) { this._cacheClientNotifier.getSocketCloser().releaseResourcesForAddress(remoteHostAddress); this._remoteHostAddress = null; } } try { this.cils[RegisterInterestTracker.interestListIndex].clearClientInterestList(); } catch (CacheClosedException e) { // ignore if cache is shutting down } // Commented to fix bug 40259 //this.clientVersion = null; closeNonDurableCqs(); }