public final class ScheduledArchiver extends Archiver.Abstract implements ServiceThread.Target
Archiver.Abstract.PointReferenceArchiver.Abstract, Archiver.Attic| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCHEDULE
Default schedule.
|
static String |
SCHEDULE_PROPERTY
Schedule property.
|
ARCHIVER_PROPERTIES, ATTIC_IMPLEMENTATION_CLASS_PROPERTY, ATTIC_PROPERTIES, DEFAULT_ATTIC_IMPLEMENTATION_CLASS, DISABLED_PROPERTY, STORE_REMOVED_EVENT| Constructor and Description |
|---|
ScheduledArchiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Runs.
|
boolean |
setUp(StoreServiceAppImpl storeAppImpl)
Sets up this.
|
void |
start()
Starts.
|
void |
stop()
Stops.
|
archive, archive, commit, commitAttic, getAttic, getPointReference, getPointReferences, getProperties, getStoreAppImpl, getThisLogger, isDisabled, setUpAttic, setUpPoints, tearDown, updateStatspublic static final String DEFAULT_SCHEDULE
public static final String SCHEDULE_PROPERTY
public void run()
throws ServiceNotAvailableException,
InterruptedException
Similar to same in Runnable but may throw exceptions.
run in interface ServiceThread.TargetServiceNotAvailableExceptionInterruptedExceptionpublic boolean setUp(@Nonnull
StoreServiceAppImpl storeAppImpl)
setUp in interface ArchiversetUp in class Archiver.AbstractstoreAppImpl - The calling store application implementation.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.