
    9h                     2    S SK r  " S S\ R                  S9rg)    Nc                       \ rS rSrSr\R                  S 5       r\R                  S 5       r\R                  S 5       r	\R                  S 5       r
\R                  S 5       rSrg	)
AbstractMetricsReporter   za
An abstract class to allow things to listen as new metrics
are created so they can be reported.
c                     g)z
This is called when the reporter is first registered
to initially register all existing metrics

Arguments:
    metrics (list of KafkaMetric): All currently existing metrics
N )selfmetricss     fC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\aiokafka/metrics/metrics_reporter.pyinitAbstractMetricsReporter.init
           c                     g)z[
This is called whenever a metric is updated or added

Arguments:
    metric (KafkaMetric)
Nr   r   metrics     r
   metric_change%AbstractMetricsReporter.metric_change   r   r   c                     g)zR
This is called whenever a metric is removed

Arguments:
    metric (KafkaMetric)
Nr   r   s     r
   metric_removal&AbstractMetricsReporter.metric_removal   r   r   c                     g)z`
Configure this class with the given key-value pairs

Arguments:
    configs (dict of {str, ?})
Nr   )r   configss     r
   	configure!AbstractMetricsReporter.configure&   r   r   c                     g)z-Called when the metrics repository is closed.Nr   )r   s    r
   closeAbstractMetricsReporter.close/   r   r   r   N)__name__
__module____qualname____firstlineno____doc__abcabstractmethodr   r   r   r   r   __static_attributes__r   r   r
   r   r      s    
 	  	  	  	  	< <r   r   )	metaclass)r#   ABCMetar   r   r   r
   <module>r(      s    
-< -<r   