Package com.mapr.baseutils.metric
Class TaskAttemptMetricRepo
java.lang.Object
com.mapr.baseutils.metric.MetricRepoBase
com.mapr.baseutils.metric.TaskAttemptMetricRepo
- All Implemented Interfaces:
MetricRepo
TaskAttempt related DB operations
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mapr.baseutils.metric.MetricRepo
MetricRepo.MetricType -
Field Summary
Fields inherited from class com.mapr.baseutils.metric.MetricRepoBase
clusterId -
Constructor Summary
ConstructorsConstructorDescriptionTaskAttemptMetricRepo(com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.TaskAttemptMetric taskAMetric) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteDBOperations(Connection dbConnection) com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.MetricAttributesList<com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.Pair>List<com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.Counters>Methods inherited from class com.mapr.baseutils.metric.MetricRepoBase
getClusterId, prepareMetricAttrsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mapr.baseutils.metric.MetricRepo
prepareMetricAttrs
-
Constructor Details
-
TaskAttemptMetricRepo
public TaskAttemptMetricRepo(com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.TaskAttemptMetric taskAMetric)
-
-
Method Details
-
prepareTransactions
- Specified by:
prepareTransactionsin interfaceMetricRepo
-
getMetricAttributes
public com.mapr.fs.proto.clustermetrics.ClusterMetricsProto.MetricAttributes getMetricAttributes()- Specified by:
getMetricAttributesin interfaceMetricRepo
-
getMetricType
- Specified by:
getMetricTypein interfaceMetricRepo
-
executeDBOperations
- Specified by:
executeDBOperationsin interfaceMetricRepo- Throws:
SQLException
-
prepareEvents
- Specified by:
prepareEventsin interfaceMetricRepo
-