public boolean done() { iter_prox = ccn.getClientProxies().iterator(); if(iter_prox.hasNext()) { proxy = (CacheClientProxy)iter_prox.next(); return proxy._messageDispatcher.isAlive(); } else { return false; } } public String description() {
} else if (!this._messageDispatcher.isAlive()) { if (logger.isDebugEnabled()) { logger.debug("{}: Starting dispatcher", this);
if (this._messageDispatcher.isAlive()) { if (this._socket != null && !this._socket.isClosed()) { SocketCreator.asyncClose(this._socket, this.getLoggerI18n(), this._remoteHostAddress, null); alreadyDestroyed = true; this._messageDispatcher.interrupt(); if (this._messageDispatcher.isAlive()) { try { this._messageDispatcher.join(1000); if (this._messageDispatcher.isAlive()) {
CacheClientProxy proxy = (CacheClientProxy)iter_prox.next(); assertFalse("Dispatcher on secondary should not be alive", proxy._messageDispatcher.isAlive());
CacheClientProxy proxy = (CacheClientProxy)iter_prox.next(); assertFalse("Dispatcher on secondary should not be alive", proxy._messageDispatcher.isAlive());
CacheClientProxy proxy = (CacheClientProxy)iter_prox.next(); assertFalse("Dispatcher on secondary should not be alive", proxy._messageDispatcher.isAlive());
} else if (!this._messageDispatcher.isAlive()) { if (this._logger.fineEnabled()) { this._logger.fine(this + ": Starting dispatcher");
public boolean done() { if (proxy._messageDispatcher == null){ return false; } return proxy._messageDispatcher.isAlive(); } public String description() {
public boolean done() { return proxy._messageDispatcher.isAlive(); } public String description() {