org.rhq.enterprise.server.measurement
Interface MeasurementCompressionManagerLocal

All Known Implementing Classes:
MeasurementCompressionManagerBean

public interface MeasurementCompressionManagerLocal

Author:
Greg Hinkle

Field Summary
static String TAB_DATA_1D
           
static String TAB_DATA_1H
           
static String TAB_DATA_6H
           
 
Method Summary
 int compressDataInterval(String fromTable, String toTable, long begin, long end)
           
 void compressPurgeAndTruncate()
           
 int purgeMeasurementInterval(String tableName, long purgeAfter, long purgeBefore)
           
 void truncateMeasurements(String tableName)
           
 

Field Detail

TAB_DATA_1H

static final String TAB_DATA_1H
See Also:
Constant Field Values

TAB_DATA_6H

static final String TAB_DATA_6H
See Also:
Constant Field Values

TAB_DATA_1D

static final String TAB_DATA_1D
See Also:
Constant Field Values
Method Detail

compressPurgeAndTruncate

void compressPurgeAndTruncate()
                              throws SQLException
Throws:
SQLException

compressDataInterval

int compressDataInterval(String fromTable,
                         String toTable,
                         long begin,
                         long end)
                         throws SQLException
Throws:
SQLException

purgeMeasurementInterval

int purgeMeasurementInterval(String tableName,
                             long purgeAfter,
                             long purgeBefore)
                             throws SQLException
Throws:
SQLException

truncateMeasurements

void truncateMeasurements(String tableName)
                          throws SQLException
Throws:
SQLException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.