synchronized public ICommitRecord findNext(final long timestamp){
  if (timestamp == ITx.UNISOLATED) {
    throw new IllegalArgumentException("Can not specify 'UNISOLATED' as timestamp");
  }
  if (timestamp == ITx.READ_COMMITTED) {
    throw new IllegalArgumentException("Can not specify 'READ_COMMITTED' as timestamp");
  }
  final long index=findIndexOf(Math.abs(timestamp)) + 1;
  if (index == nentries) {
    return null;
  }
  return valueAtIndex(index);
}

synchronized public ICommitRecord findNext ( final long timestamp ) { if ( timestamp == ITx . UNISOLATED ) { throw new IllegalArgumentException ( "Can not specify 'UNISOLATED' as timestamp" ) ; } if ( timestamp == ITx . READ_COMMITTED ) { throw new IllegalArgumentException ( "Can not specify 'READ_COMMITTED' as timestamp" ) ; } final long index = findIndexOf ( Math . abs ( timestamp ) ) + 1 ; if ( index == nentries ) { return null ; } return valueAtIndex ( index ) ; }
find the first commit record strictly greater than the timestamp .
