public class GlobalHeap
extends java.lang.Object
Constructor and Description |
---|
GlobalHeap(HdfBackingStorage hdfBackingStorage,
long address) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getObjectData(int index)
Gets the data buffer for an object in this global heap.
|
int |
getObjectReferenceCount(int index)
Gets the number of references to an object in this global heap.
|
java.lang.String |
toString() |
public GlobalHeap(HdfBackingStorage hdfBackingStorage, long address)
public java.lang.String toString()
toString
in class java.lang.Object
public java.nio.ByteBuffer getObjectData(int index)
index
- the requested objectjava.lang.IllegalArgumentException
- if the requested index is not in the heappublic int getObjectReferenceCount(int index)
index
- of the objectjava.lang.IllegalArgumentException
- if the requested index is not in the heap