diff --git a/priam/src/main/java/com/netflix/priam/PriamServer.java b/priam/src/main/java/com/netflix/priam/PriamServer.java index 529770da5..031ffe84e 100644 --- a/priam/src/main/java/com/netflix/priam/PriamServer.java +++ b/priam/src/main/java/com/netflix/priam/PriamServer.java @@ -24,7 +24,6 @@ import com.netflix.priam.aws.UpdateCleanupPolicy; import com.netflix.priam.aws.UpdateSecuritySettings; import com.netflix.priam.backup.CommitLogBackupTask; -import com.netflix.priam.backup.IIncrementalBackup; import com.netflix.priam.backup.IncrementalBackup; import com.netflix.priam.backup.Restore; import com.netflix.priam.backup.SnapshotBackup; @@ -51,20 +50,17 @@ public class PriamServer private final InstanceIdentity id; private final Sleeper sleeper; private final ICassandraProcess cassProcess; - private IIncrementalBackup incrementalBkup; private static final int CASSANDRA_MONITORING_INITIAL_DELAY = 10; private static final Logger logger = LoggerFactory.getLogger(PriamServer.class); @Inject - public PriamServer(IConfiguration config, PriamScheduler scheduler, InstanceIdentity id, Sleeper sleeper, ICassandraProcess cassProcess - , IIncrementalBackup incrementalBkup) + public PriamServer(IConfiguration config, PriamScheduler scheduler, InstanceIdentity id, Sleeper sleeper, ICassandraProcess cassProcess) { this.config = config; this.scheduler = scheduler; this.id = id; this.sleeper = sleeper; this.cassProcess = cassProcess; - this.incrementalBkup = incrementalBkup; } public void intialize() throws Exception @@ -168,7 +164,6 @@ else if (UpdateSecuritySettings.firstTimeUpdated) scheduler.addTask(IncrementalBackupProducer.JOBNAME, IncrementalBackupProducer.class, IncrementalBackupProducer.getTimer()); logger.info("Added incremental async-synchronous bkup, next fired time: " + IncrementalBackupProducer.getTimer().getTrigger().getNextFireTime()); } - } }