public void updateTimestamp( boolean save, Date timestamp ) throws IOException { this.timestamp = timestamp; if ( save ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); } }
public void updateTimestamp( boolean save, Date timestamp ) throws IOException { this.timestamp = timestamp; if ( save ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); } }
public void updateTimestamp( boolean save, Date timestamp ) throws IOException { this.timestamp = timestamp; if ( save ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); } }
public synchronized void close( boolean deleteFiles ) throws IOException { if ( indexDirectory != null ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); closeReaders(); if ( deleteFiles ) { deleteIndexFiles( true ); } indexDirectory.close(); } indexDirectory = null; }
public synchronized void close( boolean deleteFiles ) throws IOException { if ( indexDirectory != null ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); closeReaders(); if ( deleteFiles ) { deleteIndexFiles( true ); } indexDirectory.close(); } indexDirectory = null; }
public synchronized void close( boolean deleteFiles ) throws IOException { if ( indexDirectory != null ) { IndexUtils.updateTimestamp( indexDirectory, getTimestamp() ); closeReaders(); if ( deleteFiles ) { deleteIndexFiles( true ); } indexDirectory.close(); } indexDirectory = null; }
Date mergedTimestamp = IndexUtils.getTimestamp( directory ); if ( getTimestamp() != null && mergedTimestamp != null && mergedTimestamp.after( getTimestamp() ) )
Date mergedTimestamp = IndexUtils.getTimestamp( directory ); if ( getTimestamp() != null && mergedTimestamp != null && mergedTimestamp.after( getTimestamp() ) )
Date mergedTimestamp = IndexUtils.getTimestamp( directory ); if ( getTimestamp() != null && mergedTimestamp != null && mergedTimestamp.after( getTimestamp() ) )