private void updateLastIndexed ( GeoPackageMetadataDb db , long geoPackageId ) { long indexedTime = ( new Date ( ) ) . getTime ( ) ; TableMetadataDataSource ds = new TableMetadataDataSource ( db ) ; if ( ! ds . updateLastIndexed ( geoPackageId , featureDao . getTableName ( ) , indexedTime ) ) { throw new GeoPackageException ( "Failed to update last indexed time. Table: GeoPackage Id: " + geoPackageId + ", Table: " + featureDao . getTableName ( ) + ", Last Indexed: " + indexedTime ) ; } }
Update the least indexed time