Class LongWrapper
- java.lang.Object
-
- org.apache.bookkeeper.bookie.storage.ldb.LongWrapper
-
class LongWrapper extends java.lang.Object
Wrapper for a long serialized into a byte array.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]
array
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LongWrapper
get()
static LongWrapper
get(long value)
long
getValue()
void
recycle()
void
set(long value)
-
-
-
Method Detail
-
set
public void set(long value)
-
getValue
public long getValue()
-
get
public static LongWrapper get()
-
get
public static LongWrapper get(long value)
-
recycle
public void recycle()
-
-