protected BioReplicationTask getReplicationThread() { BioReplicationTask result = new BioReplicationTask(this); result.setOptions(getWorkerThreadOptions()); result.setUseBufferPool(this.getUseBufferPool()); return result; }
@Override public synchronized void disconnect() { try {close(); }catch (Exception x){/* Ignore */} setConnected(false); }
/** * Connect other cluster member receiver * @see org.apache.catalina.tribes.transport.DataSender#connect() */ @Override public void connect() throws IOException { openSocket(); }
@Override public void connect() throws IOException { //do nothing, we connect on demand setConnected(true); }
/** * getNewDataSender * * @return DataSender * @todo Implement this org.apache.catalina.tribes.transport.PooledSender * method */ public DataSender getNewDataSender() { MultipointBioSender sender = new MultipointBioSender(); sender.transferProperties(this,sender); return sender; }
@Override public void finalize() { try {disconnect(); }catch ( Exception e){/* Ignore */} }
@Override public AbstractRxTask createRxTask() { return getReplicationThread(); }
protected BioReplicationTask getReplicationThread() { BioReplicationTask result = new BioReplicationTask(this); result.setOptions(getWorkerThreadOptions()); result.setUseBufferPool(this.getUseBufferPool()); return result; }
@Override public synchronized void disconnect() { try {close(); }catch (Exception x){/* Ignore */} setConnected(false); }
/** * Connect other cluster member receiver * @see org.apache.catalina.tribes.transport.DataSender#connect() */ @Override public void connect() throws IOException { openSocket(); }
@Override public void connect() throws IOException { //do nothing, we connect on demand setConnected(true); }
@Override public void finalize() { try {disconnect(); }catch ( Exception e){/* Ignore */} }
protected BioReplicationTask getReplicationThread() { BioReplicationTask result = new BioReplicationTask(this); result.setOptions(getWorkerThreadOptions()); result.setUseBufferPool(this.getUseBufferPool()); return result; }
@Override public synchronized void disconnect() { try { close(); } catch (Exception x) { // Ignore } setConnected(false); }
/** * Connect other cluster member receiver * @see org.apache.catalina.tribes.transport.IDataSender#connect() */ public void connect() throws IOException { openSocket(); }
@Override public void connect() throws IOException { //do nothing, we connect on demand setConnected(true); }
protected BioReplicationTask getReplicationThread() { BioReplicationTask result = new BioReplicationTask(this); result.setOptions(getWorkerThreadOptions()); result.setUseBufferPool(this.getUseBufferPool()); return result; }
public synchronized void disconnect() { try {close(); }catch (Exception x){} setConnected(false); }
/** * Connect other cluster member receiver * @see org.apache.catalina.tribes.transport.DataSender#connect() */ @Override public void connect() throws IOException { openSocket(); }
public void connect() throws IOException { //do nothing, we connect on demand setConnected(true); }