@Test public void revalidateCallsRestoreOnBackupRunner() { invalidator.revalidateFromBackup(); verify(backupRunner, times(1)).restoreFromBackup(); }
@Override @Idempotent public void revalidateFromBackup() { backupRunner.ensureTimestampTableExists(); backupRunner.restoreFromBackup(); }
CassandraTimestampStoreInvalidator implements TimestampStoreInvalidator { @Override @Idempotent public void revalidateFromBackup() { backupRunner.ensureTimestampTableExists(); backupRunner.restoreFromBackup(); } }
CassandraTimestampStoreInvalidator implements TimestampStoreInvalidator { @Override @Idempotent public void revalidateFromBackup() { backupRunner.ensureTimestampTableExists(); backupRunner.restoreFromBackup(); } @VisibleForTesting  CassandraTimestampStoreInvalidator(CassandraTimestampBackupRunner backupRunner); }
CassandraTimestampStoreInvalidator implements TimestampStoreInvalidator { @Override @Idempotent public void revalidateFromBackup() { backupRunner.ensureTimestampTableExists(); backupRunner.restoreFromBackup(); } @VisibleForTesting  CassandraTimestampStoreInvalidator(CassandraTimestampBackupRunner backupRunner); static CassandraTimestampStoreInvalidator create(KeyValueService keyValueService); @Override @Idempotent long backupAndInvalidate(); @Override @Idempotent void revalidateFromBackup(); }
CassandraTimestampStoreInvalidator implements TimestampStoreInvalidator { @Override @Idempotent public void revalidateFromBackup() { backupRunner.ensureTimestampTableExists(); backupRunner.restoreFromBackup(); } @VisibleForTesting  CassandraTimestampStoreInvalidator(CassandraTimestampBackupRunner backupRunner); static CassandraTimestampStoreInvalidator create(KeyValueService keyValueService); @Override @Idempotent long backupAndInvalidate(); @Override @Idempotent void revalidateFromBackup();  }