@Namespace(value="plasma") @NoOffset @Properties(inherit=plasma.class) public class ObjectTableEntry extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ObjectTableEntry() |
ObjectTableEntry(long size)
Native array allocator.
|
ObjectTableEntry(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
construct_duration()
How long creation of this object took.
|
ObjectTableEntry |
construct_duration(long setter) |
long |
create_time()
Unix epoch of when this object was created.
|
ObjectTableEntry |
create_time(long setter) |
long |
data_size()
Size of the object in bytes.
|
ObjectTableEntry |
data_size(long setter) |
int |
device_num()
Device number.
|
ObjectTableEntry |
device_num(int setter) |
BytePointer |
digest() |
byte |
digest(int i)
The digest of the object.
|
ObjectTableEntry |
digest(int i,
byte setter) |
int |
fd()
Memory mapped file containing the object.
|
ObjectTableEntry |
fd(int setter) |
ObjectTableEntry |
getPointer(long i) |
CudaIpcPlaceholder |
ipc_handle() |
ObjectTableEntry |
ipc_handle(CudaIpcPlaceholder setter) |
long |
map_size()
Size of the underlying map.
|
ObjectTableEntry |
map_size(long setter) |
long |
metadata_size()
Size of the object metadata in bytes.
|
ObjectTableEntry |
metadata_size(long setter) |
long |
offset()
Offset from the base of the mmap.
|
ObjectTableEntry |
offset(long setter) |
BytePointer |
pointer()
Pointer to the object data.
|
ObjectTableEntry |
pointer(BytePointer setter) |
ObjectTableEntry |
position(long position) |
int |
ref_count()
Number of clients currently using this object.
|
ObjectTableEntry |
ref_count(int setter) |
plasma.ObjectState |
state()
The state of the object, e.g., whether it is open or sealed.
|
ObjectTableEntry |
state(plasma.ObjectState setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ObjectTableEntry(Pointer p)
Pointer(Pointer)
.public ObjectTableEntry(long size)
Pointer.position(long)
.public ObjectTableEntry()
public ObjectTableEntry position(long position)
public ObjectTableEntry getPointer(long i)
getPointer
in class Pointer
public int fd()
public ObjectTableEntry fd(int setter)
public int device_num()
public ObjectTableEntry device_num(int setter)
public ObjectTableEntry map_size(long setter)
public ObjectTableEntry offset(long setter)
@Cast(value="uint8_t*") public BytePointer pointer()
public ObjectTableEntry pointer(BytePointer setter)
public ObjectTableEntry data_size(long setter)
@Cast(value="int64_t") public long metadata_size()
public ObjectTableEntry metadata_size(long setter)
public int ref_count()
public ObjectTableEntry ref_count(int setter)
@Cast(value="int64_t") public long create_time()
public ObjectTableEntry create_time(long setter)
@Cast(value="int64_t") public long construct_duration()
public ObjectTableEntry construct_duration(long setter)
public plasma.ObjectState state()
public ObjectTableEntry state(plasma.ObjectState setter)
@Cast(value="unsigned char") public byte digest(int i)
public ObjectTableEntry digest(int i, byte setter)
@MemberGetter @Cast(value="unsigned char*") public BytePointer digest()
@SharedPtr public CudaIpcPlaceholder ipc_handle()
public ObjectTableEntry ipc_handle(CudaIpcPlaceholder setter)
Copyright © 2022. All rights reserved.