public void autoCommitIfCluster(){
  if (autoCommit && cluster) {
    for (int i=0, count=0; i < transferList.size(); i++) {
      Transfer transfer=transferList.get(i);
      try {
        traceOperation("COMMAND_COMMIT",0);
        transfer.writeInt(SessionRemote.COMMAND_COMMIT);
        done(transfer);
      }
 catch (      IOException e) {
        removeServer(e,i--,++count);
      }
    }
  }
}

public void autoCommitIfCluster ( ) { if ( autoCommit && cluster ) { for ( int i = 0 , count = 0 ; i < transferList . size ( ) ; i ++ ) { Transfer transfer = transferList . get ( i ) ; try { traceOperation ( "COMMAND_COMMIT" , 0 ) ; transfer . writeInt ( SessionRemote . COMMAND_COMMIT ) ; done ( transfer ) ; } catch ( IOException e ) { removeServer ( e , i -- , ++ count ) ; } } } }
calls commit if the session is in cluster mode .
