|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.BytesRefHash.BytesStartArray
public abstract static class BytesRefHash.BytesStartArray
Manages allocation of the per-term addresses.
Constructor Summary | |
---|---|
BytesRefHash.BytesStartArray()
|
Method Summary | |
---|---|
abstract AtomicLong |
bytesUsed()
A AtomicLong 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BytesRefHash.BytesStartArray()
Method Detail |
---|
public abstract int[] init()
public abstract int[] grow()
BytesRefHash.BytesStartArray
public abstract int[] clear()
BytesRefHash.BytesStartArray
and returns the cleared instance.
null
public abstract AtomicLong bytesUsed()
AtomicLong
reference holding the number of bytes used by this
BytesRefHash.BytesStartArray
. The BytesRefHash
uses this reference to
track it memory usage
AtomicLong
reference holding the number of bytes used
by this BytesRefHash.BytesStartArray
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |