public class TargetTrackerFileBackupService
extends com.google.common.util.concurrent.AbstractScheduledService
| Constructor and Description |
|---|
TargetTrackerFileBackupService(TargetTracker tracker,
Path backupFolder)
Creates a new backup service.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
runOneIteration() |
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler |
scheduler() |
protected void |
startUp() |
public TargetTrackerFileBackupService(TargetTracker tracker, Path backupFolder)
tracker - the target tracker that we are make backups and restoring frombackupFolder - the folder to backup and restore fromprotected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractScheduledServiceExceptionprotected void runOneIteration()
throws Exception
runOneIteration in class com.google.common.util.concurrent.AbstractScheduledServiceExceptionprotected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
scheduler in class com.google.common.util.concurrent.AbstractScheduledServiceCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.