Package | Description |
---|---|
org.apache.hadoop.hbase.nio |
Modifier and Type | Field and Description |
---|---|
protected RefCnt |
ByteBuff.refCnt |
Modifier and Type | Method and Description |
---|---|
static RefCnt |
RefCnt.create()
Create an
RefCnt with an initial reference count = 1. |
static RefCnt |
RefCnt.create(ByteBuffAllocator.Recycler recycler) |
RefCnt |
ByteBuff.getRefCnt() |
RefCnt |
RefCnt.touch() |
Modifier and Type | Method and Description |
---|---|
static ByteBuff |
ByteBuff.wrap(ByteBuffer[] buffers,
RefCnt refCnt)
In theory, the upstream should never construct an ByteBuff by passing an given refCnt, so
please don't use this public method in other place.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.