This is a simple directory reader which recursively scans all files from a specified directory and tries to parse audit-events from them.
43444546474849505152
@Before public void setUp() throws Exception { URL url = ConcurrentDirectoryReader.class.getResource( "/data-dir-3" ); log.info( "Creating test-reader from directory '{}'", url ); reader = new ConcurrentDirectoryReader( new File( url.toURI() ) ); totalFiles = reader.bytesAvailable(); log.info( "Found {} files.", totalFiles ); eventsRead = 0L; }