public final class IcedAtomicInt extends java.util.concurrent.atomic.AtomicInteger implements Freezable
| Constructor and Description |
|---|
IcedAtomicInt() |
IcedAtomicInt(int val) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes()
Return serialized version of self as a byte array.
|
Freezable |
clone()
Make clone public, but without the annoying exception.
|
int |
frozenType()
Returns a small dense integer, which is cluster-wide unique per-class.
|
IcedAtomicInt |
read(AutoBuffer ab)
Standard "read thyself from the AutoBuffer" call, using the fast Iced protocol.
|
Freezable |
readJSON(AutoBuffer ab)
Standard "read thyself from the AutoBuffer" call, using JSON.
|
IcedAtomicInt |
reloadFromBytes(byte[] ary)
Replace yourself with deserialized version from the given bytes.
|
AutoBuffer |
write(AutoBuffer ab)
Standard "write thyself into the AutoBuffer" call, using the fast Iced
protocol.
|
AutoBuffer |
writeJSON(AutoBuffer ab)
Standard "write thyself into the AutoBuffer" call, using JSON.
|
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSetpublic final AutoBuffer write(AutoBuffer ab)
FreezableIcer classes.write in interface Freezableab - AutoBuffer to write this object to.AutoBuffer for flow-coding.public final IcedAtomicInt read(AutoBuffer ab)
FreezableIcer classes.public AutoBuffer writeJSON(AutoBuffer ab)
FreezableIcer classes.writeJSON in interface Freezableab - AutoBuffer to write this object to.AutoBuffer for flow-coding.public Freezable readJSON(AutoBuffer ab)
FreezableIcer classes.public int frozenType()
FreezablefrozenType in interface Freezablepublic byte[] asBytes()
Freezablepublic IcedAtomicInt reloadFromBytes(byte[] ary)
FreezablereloadFromBytes in interface Freezableary - byte array containing exactly (i.e. nothing else) the serialized version of the Freezable