
    Ch                     &    S SK Jr   " S S\5      rg)   )AbstractSampledStatc                   8   ^  \ rS rSrSrU 4S jrS rS rSrU =r	$ )Count   zK
An AbstractSampledStat that maintains a simple count of what it has seen.
c                 $   > [         TU ]  S5        g )Ng        )super__init__)self	__class__s    aC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\aiokafka/metrics/stats/count.pyr	   Count.__init__	   s        c                 .    U=R                   S-  sl         g )Ng      ?value)r
   sampleconfigr   nows        r   updateCount.update   s    r   c                 8    [        [        S U 5       5      5      $ )Nc              3   8   #    U  H  oR                   v   M     g 7f)Nr   ).0r   s     r   	<genexpr> Count.combine.<locals>.<genexpr>   s     <G&Gs   )floatsum)r
   samplesr   r   s       r   combineCount.combine   s    S<G<<==r    )
__name__
__module____qualname____firstlineno____doc__r	   r   r   __static_attributes____classcell__)r   s   @r   r   r      s    > >r   r   N)sampled_statr   r   r!   r   r   <module>r*      s    -> >r   