Interface MetricRepo

All Known Implementing Classes:
JobMetricRepo, MetricRepoBase, NodeMetricRepo, TaskAttemptMetricRepo, TaskMetricRepo

public interface MetricRepo
Interface to perform all DB operations to insert/update data in DB
  • Method Details

    • prepareTransactions

      List<com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.Counters> prepareTransactions()
    • prepareEvents

      List<com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.Pair> prepareEvents()
    • getMetricAttributes

      com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.MetricAttributes getMetricAttributes()
    • getMetricType

      MetricRepo.MetricType getMetricType()
    • executeDBOperations

      void executeDBOperations(Connection dbConnection) throws SQLException
      Throws:
      SQLException
    • prepareMetricAttrs

      boolean prepareMetricAttrs(PreparedStatement insertStmt, long time) throws SQLException
      Throws:
      SQLException