@Test public void testRetry_ResetPolicy() throws Exception { ChecksumValidator validator = newValidator( SHA1 ); validator.retry(); policy.assertCallbacks( "retry()" ); }
public void retry() { checksumPolicy.onTransferRetry(); checksumFiles.clear(); clearTempFiles(); }
ChecksumValidator { public void retry() { checksumPolicy.onTransferRetry(); checksumFiles.clear(); clearTempFiles(); } }
ChecksumValidator { public void retry() { checksumPolicy.onTransferRetry(); checksumFiles.clear(); clearTempFiles(); } ChecksumValidator( Logger logger, File dataFile, FileProcessor fileProcessor,
                              ChecksumFetcher checksumFetcher, ChecksumPolicy checksumPolicy,
                              Collection<Checksum> checksums ); }
ChecksumValidator { public void retry() { checksumPolicy.onTransferRetry(); checksumFiles.clear(); clearTempFiles(); } ChecksumValidator( Logger logger, File dataFile, FileProcessor fileProcessor,
                              ChecksumFetcher checksumFetcher, ChecksumPolicy checksumPolicy,
                              Collection<Checksum> checksums ); ChecksumCalculator newChecksumCalculator( File targetFile ); void validate( Map<String, ?> actualChecksums, Map<String, ?> inlinedChecksums ); void retry(); boolean handle( ChecksumFailureException exception ); void commit(); void close(); }
ChecksumValidator { public void retry() { checksumPolicy.onTransferRetry(); checksumFiles.clear(); clearTempFiles(); } ChecksumValidator( Logger logger, File dataFile, FileProcessor fileProcessor,
                              ChecksumFetcher checksumFetcher, ChecksumPolicy checksumPolicy,
                              Collection<Checksum> checksums ); ChecksumCalculator newChecksumCalculator( File targetFile ); void validate( Map<String, ?> actualChecksums, Map<String, ?> inlinedChecksums ); void retry(); boolean handle( ChecksumFailureException exception ); void commit(); void close();  }