@Deprecated public class MeasurementCompressionManagerBean extends Object implements MeasurementCompressionManagerLocal
MetricsServerTAB_DATA_1D, TAB_DATA_1H, TAB_DATA_6H| Constructor and Description |
|---|
MeasurementCompressionManagerBean()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compressDataInterval(String fromTable,
String toTable,
long begin,
long end)
Deprecated.
|
void |
compressPurgeAndTruncate()
Deprecated.
|
int |
purgeMeasurementInterval(String tableName,
long purgeAfter,
long purgeBefore)
Deprecated.
Purge data older than a given time.
|
void |
truncateMeasurements(String tableName)
Deprecated.
|
public MeasurementCompressionManagerBean()
public void compressPurgeAndTruncate()
throws SQLException
compressPurgeAndTruncate in interface MeasurementCompressionManagerLocalSQLExceptionpublic int compressDataInterval(String fromTable, String toTable, long begin, long end) throws SQLException
compressDataInterval in interface MeasurementCompressionManagerLocalSQLExceptionpublic int purgeMeasurementInterval(String tableName, long purgeAfter, long purgeBefore) throws SQLException
purgeMeasurementInterval in interface MeasurementCompressionManagerLocalSQLExceptionpublic void truncateMeasurements(String tableName) throws SQLException
truncateMeasurements in interface MeasurementCompressionManagerLocalSQLExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.