Package com.mapr.baseutils.metric
Class MetricRepoBase
java.lang.Object
com.mapr.baseutils.metric.MetricRepoBase
- All Implemented Interfaces:
MetricRepo
- Direct Known Subclasses:
JobMetricRepo,NodeMetricRepo,TaskAttemptMetricRepo,TaskMetricRepo
Base DB insertion class to consolidate common to all different metrics operations
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mapr.baseutils.metric.MetricRepo
MetricRepo.MetricType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprepareMetricAttrs(PreparedStatement insertStmt, long time) Methods 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
executeDBOperations, getMetricAttributes, getMetricType, prepareEvents, prepareTransactions
-
Field Details
-
clusterId
-
-
Constructor Details
-
MetricRepoBase
public MetricRepoBase()
-
-
Method Details
-
prepareMetricAttrs
- Specified by:
prepareMetricAttrsin interfaceMetricRepo- Throws:
SQLException
-
getClusterId
-