Class MutableLong

java.lang.Object
org.hibernate.internal.util.MutableLong

public class MutableLong extends Object
A more performant version of AtomicLong in cases where we do not have to worry about concurrency. So usually as a variable referenced in anonymous-inner or lambda or ...
  • Constructor Details

    • MutableLong

      public MutableLong()
    • MutableLong

      public MutableLong(long value)
  • Method Details

    • deepCopy

      public MutableLong deepCopy()
    • getAndIncrement

      public long getAndIncrement()
    • incrementAndGet

      public long incrementAndGet()
    • get

      public long get()
    • set

      public void set(long value)
    • increase

      public void increase()