org.elasticsearch.common.lab
Class LongsLAB
java.lang.Object
org.elasticsearch.common.lab.LongsLAB
public class LongsLAB
- extends Object
Constructor Summary |
LongsLAB(int chunkSize,
int maxAlloc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongsLAB
public LongsLAB(int chunkSize,
int maxAlloc)
allocateLongs
public LongsLAB.Allocation allocateLongs(int size)
- Allocate a slice of the given length.
If the size is larger than the maximum size specified for this
allocator, returns null.
Copyright © 2009-2012. All Rights Reserved.