public interface Archiver
Modifier and Type | Interface and Description |
---|---|
static class |
Archiver.Abstract
Abstract.
|
static interface |
Archiver.Attic
Attic.
|
Modifier and Type | Field and Description |
---|---|
static String |
ARCHIVER_PROPERTIES
Archiver properties.
|
static String |
ATTIC_IMPLEMENTATION_CLASS_PROPERTY
Attic implementation class property.
|
static String |
ATTIC_PROPERTIES
Attic properties.
|
static ClassDef |
DEFAULT_ATTIC_IMPLEMENTATION_CLASS
Default attic implementation class.
|
static String |
DISABLED_PROPERTY
Disables the attic.
|
static String |
STORE_REMOVED_EVENT
Store removed event.
|
Modifier and Type | Method and Description |
---|---|
void |
archive(Point point)
Archives a point.
|
void |
commit()
Commits.
|
Optional<Archiver.Attic> |
getAttic()
Gets the attic.
|
boolean |
setUp(StoreServiceAppImpl storeAppImpl)
Sets up this.
|
boolean |
setUpPoints()
Sets up points.
|
void |
start()
Starts.
|
void |
stop()
Stops.
|
static boolean |
supports(StoreServer storeServer)
Asks if the archiver supports a store server.
|
void |
tearDown()
Tears down what has been set up.
|
static final String ARCHIVER_PROPERTIES
static final String ATTIC_IMPLEMENTATION_CLASS_PROPERTY
static final String ATTIC_PROPERTIES
static final ClassDef DEFAULT_ATTIC_IMPLEMENTATION_CLASS
static final String DISABLED_PROPERTY
static final String STORE_REMOVED_EVENT
@CheckReturnValue static boolean supports(@Nonnull StoreServer storeServer)
storeServer
- The store server.void archive(Point point) throws ServiceNotAvailableException
point
- The point.ServiceNotAvailableException
- When service not available.void commit()
@Nonnull @CheckReturnValue Optional<Archiver.Attic> getAttic()
@CheckReturnValue boolean setUp(@Nonnull StoreServiceAppImpl storeAppImpl)
storeAppImpl
- The calling store application implementation.@CheckReturnValue boolean setUpPoints()
void start()
void stop()
void tearDown()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.