public class SOMAttic extends Object implements Archiver.Attic
Modifier and Type | Field and Description |
---|---|
static String |
COMPRESSED_PROPERTY
Compresses the attic.
|
static String |
DEFAULT_ATTIC_NAME
Default queue name.
|
static String |
DIRECTORY_PROPERTY
Directory property.
|
static String |
NAME_PROPERTY
Name property.
|
static String |
QUEUE_PROPERTIES
Queue properties.
|
Constructor and Description |
---|
SOMAttic() |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits.
|
void |
put(Collection<PointValue> archivedValues)
Puts archived point values into the attic.
|
boolean |
setUp(KeyedGroups atticProperties,
Config config,
File dataDir)
Sets up the attic.
|
void |
tearDown()
Tears down what has been set up.
|
public static final String COMPRESSED_PROPERTY
public static final String DEFAULT_ATTIC_NAME
public static final String DIRECTORY_PROPERTY
public static final String NAME_PROPERTY
public static final String QUEUE_PROPERTIES
public void commit()
commit
in interface Archiver.Attic
public void put(Collection<PointValue> archivedValues)
put
in interface Archiver.Attic
archivedValues
- The archived point values.public boolean setUp(KeyedGroups atticProperties, Config config, File dataDir)
setUp
in interface Archiver.Attic
atticProperties
- The attic properties.config
- The config.dataDir
- The data directory.public void tearDown()
tearDown
in interface Archiver.Attic
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.