empiredan opened a new issue #933:
URL: https://github.com/apache/incubator-pegasus/issues/933


   A volatile counter is nearly the same as a counter, except that 
fetch_and_reset() is provided to reset the counter atomically after its value 
is fetched.
   
   As is described in https://github.com/apache/incubator-pegasus/issues/922, 
the reason why the volatile counter is introduced is that sometimes "recent" 
counters are needed, such as the number of recent failed beacons sent from 
replica server, the count of updating configurations of partitions recently, 
etc. The "recent" can be considered to be the accumulated count since it has 
been fetched last.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to