public void release() throws ReplicatorException, InterruptedException {
  connectionManager.releaseAll();
  if (!readOnly)   writeLock.release();
  stopLogSyncTask();
}

public void release ( ) throws ReplicatorException , InterruptedException { connectionManager . releaseAll ( ) ; if ( ! readOnly ) writeLock . release ( ) ; stopLogSyncTask ( ) ; }
releases the log resources . this should be called after use to ensure log sync task termination .
