org.rhq.enterprise.server.measurement
Interface MeasurementCompressionManagerLocal

All Known Implementing Classes:
MeasurementCompressionManagerBean

public interface MeasurementCompressionManagerLocal

Author:
Greg Hinkle

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

Field Detail

TAB_DATA_1H

static final java.lang.String TAB_DATA_1H
See Also:
Constant Field Values

TAB_DATA_6H

static final java.lang.String TAB_DATA_6H
See Also:
Constant Field Values

TAB_DATA_1D

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

compressPurgeAndTruncate

void compressPurgeAndTruncate()
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

compressDataInterval

int compressDataInterval(java.lang.String fromTable,
                         java.lang.String toTable,
                         long begin,
                         long end)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

purgeMeasurementInterval

int purgeMeasurementInterval(java.lang.String tableName,
                             long purgeAfter,
                             long purgeBefore)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

truncateMeasurements

void truncateMeasurements(java.lang.String tableName)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException


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