public class LongHolder extends ObjectHolder<Long>
final
and still be accessed from which inner classes; the functionality is similar to that of an AtomicLong, but operations on this class
are not atomic. This results in greater performance when the atomicity is not needed.Constructor and Description |
---|
LongHolder(long initialValue) |
Modifier and Type | Method and Description |
---|---|
long |
addAndGet(long delta) |
long |
decrementAndGet() |
long |
getAndAdd(long delta) |
long |
getAndDecrement() |
long |
getAndIncrement() |
long |
incrementAndGet() |
get, set
Copyright © 2016 Apache NiFi Project. All rights reserved.