public abstract static class BytesRefHash.BytesStartArray extends Object
Constructor and Description |
---|
BytesStartArray() |
Modifier and Type | Method and Description |
---|---|
abstract Counter |
bytesUsed()
A
Counter reference holding the number of bytes used by this
BytesRefHash.BytesStartArray . |
abstract int[] |
clear()
clears the
BytesRefHash.BytesStartArray and returns the cleared instance. |
abstract int[] |
grow()
Grows the
BytesRefHash.BytesStartArray |
abstract int[] |
init()
Initializes the BytesStartArray.
|
public abstract int[] init()
public abstract int[] grow()
BytesRefHash.BytesStartArray
public abstract int[] clear()
BytesRefHash.BytesStartArray
and returns the cleared instance.null
public abstract Counter bytesUsed()
Counter
reference holding the number of bytes used by this
BytesRefHash.BytesStartArray
. The BytesRefHash
uses this reference to
track it memory usageAtomicLong
reference holding the number of bytes used
by this BytesRefHash.BytesStartArray
.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.