com.netflix.curator.framework.recipes.shared
Interface SharedCountReader

All Superinterfaces:
com.netflix.curator.framework.listen.Listenable<SharedCountListener>
All Known Implementing Classes:
SharedCount

public interface SharedCountReader
extends com.netflix.curator.framework.listen.Listenable<SharedCountListener>

Abstracts a shared integer and allows listening for changes to its value


Method Summary
 int getCount()
          Return the current value of the count
 
Methods inherited from interface com.netflix.curator.framework.listen.Listenable
addListener, addListener, removeListener
 

Method Detail

getCount

int getCount()
Return the current value of the count

Returns:
count