public synchronized XEvent get ( int eventIndex ) throws IOException , IndexOutOfBoundsException { // check for index sanity if ( eventIndex < 0 || eventIndex >= size ) { throw new IndexOutOfBoundsException ( ) ; } // determine and set appropriate file pointer position navigateToIndex ( eventIndex ) ; // read and return requested audit trail entry return read ( ) ; }
Retrieves the event recorded at the specified position