public abstract class OCIMonitorConsumerPlugin extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
bucketName
This is the object storage bucket for which the metrics are being emitted for.
|
protected String |
monitoringGroupingID
This is the unique identifier defined for grouping monitoring together.
|
protected String |
namespaceName
This is the namespace of the bucket in OSS.
|
protected BmcPropertyAccessor |
propertyAccessor
This provides a handle to the properties defined for the hdfs connector.
|
Constructor and Description |
---|
OCIMonitorConsumerPlugin(BmcPropertyAccessor propertyAccessor,
String bucketName,
String monitoringGroupingID,
String namespaceName) |
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(OCIMetric ociMetric)
This method will be called on plugins by the OCI monitoring framework, whenever it wants to emit out a metric.
|
abstract void |
shutdown()
This shutdown method will be called on the implementing plugins, whenever the JVM is shutting down.
|
protected BmcPropertyAccessor propertyAccessor
protected String bucketName
protected String monitoringGroupingID
protected String namespaceName
public OCIMonitorConsumerPlugin(BmcPropertyAccessor propertyAccessor, String bucketName, String monitoringGroupingID, String namespaceName)
public abstract void accept(OCIMetric ociMetric)
ociMetric
- The metric that is being emitted by the OCI HDFS connectorpublic abstract void shutdown()
Copyright © 2016–2025. All rights reserved.