@Override public void batchSize(int size){
  A.ensure(size > 0," Batch size can't be less then 0: " + size);
  lock.lock();
  try {
    batchSize=size;
  }
  finally {
    lock.unlock();
  }
}

@ Override public void batchSize ( int size ) { A . ensure ( size > 0 , " Batch size can't be less then 0: " + size ) ; lock . lock ( ) ; try { batchSize = size ; } finally { lock . unlock ( ) ; } }
set local batch size for this sequences .
