org.apache.curator.framework.recipes.shared
Interface SharedCountReader

All Superinterfaces:
org.apache.curator.framework.listen.Listenable<SharedCountListener>
All Known Implementing Classes:
SharedCount

public interface SharedCountReader
extends org.apache.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 org.apache.curator.framework.listen.Listenable
addListener, addListener, removeListener
 

Method Detail

getCount

int getCount()
Return the current value of the count

Returns:
count


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.