public final class ScheduledArchiver extends Archiver.Abstract implements ServiceThread.Target
Archiver.Abstract.PointReference
Archiver.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, updateStats
public 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.Target
ServiceNotAvailableException
InterruptedException
public boolean setUp(@Nonnull StoreServiceAppImpl storeAppImpl)
setUp
in interface Archiver
setUp
in class Archiver.Abstract
storeAppImpl
- The calling store application implementation.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.