public final class ChangeNotifyingSynchronizedIntHolder extends Object implements ThreadSafeIntHolder, Serializable
Constructor and Description |
---|
ChangeNotifyingSynchronizedIntHolder() |
ChangeNotifyingSynchronizedIntHolder(int value,
boolean notify_all) |
Modifier and Type | Method and Description |
---|---|
void |
decrement() |
int |
getValue() |
void |
increment() |
void |
setValue(int value) |
public ChangeNotifyingSynchronizedIntHolder(int value, boolean notify_all)
public ChangeNotifyingSynchronizedIntHolder()
public int getValue()
getValue
in interface ThreadSafeIntHolder
public void setValue(int value)
setValue
in interface ThreadSafeIntHolder
public void increment()
public void decrement()
Copyright © 2017 com.mchange. All rights reserved.