public static long reserveSequenceId(){
  ThreadAndSequenceIDWrapper wrapper=(ThreadAndSequenceIDWrapper)threadIDLocal.get();
  return wrapper.getAndIncrementSequenceID();
}

public static long reserveSequenceId ( ) { ThreadAndSequenceIDWrapper wrapper = ( ThreadAndSequenceIDWrapper ) threadIDLocal . get ( ) ; return wrapper . getAndIncrementSequenceID ( ) ; }
reserves and returns a sequence id for the calling thread to be used for an event id .
