Class LongPairWrapper
- java.lang.Object
-
- org.apache.bookkeeper.bookie.storage.ldb.LongPairWrapper
-
class LongPairWrapper extends java.lang.Object
Recyclable wrapper that holds a pair of longs.
-
-
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 LongPairWrapper
get(long first, long second)
long
getFirst()
long
getSecond()
void
recycle()
void
set(long first, long second)
-
-
-
Method Detail
-
set
public void set(long first, long second)
-
getFirst
public long getFirst()
-
getSecond
public long getSecond()
-
get
public static LongPairWrapper get(long first, long second)
-
recycle
public void recycle()
-
-