com.mchange.v2.holders
Class ChangeNotifyingSynchronizedIntHolder

java.lang.Object
  extended by com.mchange.v2.holders.ChangeNotifyingSynchronizedIntHolder
All Implemented Interfaces:
ThreadSafeIntHolder, Serializable

public final class ChangeNotifyingSynchronizedIntHolder
extends Object
implements ThreadSafeIntHolder, Serializable

See Also:
Serialized Form

Constructor Summary
ChangeNotifyingSynchronizedIntHolder()
           
ChangeNotifyingSynchronizedIntHolder(int value, boolean notify_all)
           
 
Method Summary
 void decrement()
           
 int getValue()
           
 void increment()
           
 void setValue(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeNotifyingSynchronizedIntHolder

public ChangeNotifyingSynchronizedIntHolder(int value,
                                            boolean notify_all)

ChangeNotifyingSynchronizedIntHolder

public ChangeNotifyingSynchronizedIntHolder()
Method Detail

getValue

public int getValue()
Specified by:
getValue in interface ThreadSafeIntHolder

setValue

public void setValue(int value)
Specified by:
setValue in interface ThreadSafeIntHolder

increment

public void increment()

decrement

public void decrement()