public class UcpMemory extends UcxNativeStruct implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
deregister()
This routine unmaps a user specified memory segment.
|
long |
getAddress()
Address of registered memory.
|
long |
getLength()
Length of registered memory
|
int |
getMemType()
Type of allocated memory.
|
ByteBuffer |
getRemoteKeyBuffer()
This routine allocates memory buffer and packs into the buffer
a remote access key (RKEY) object.
|
equals, getNativeId, hashCode, setNativeIdpublic void deregister()
data and associated
"remote key" will be invalid and cannot be used with any UCP routine.
Another well know terminology for the "unmap" operation that is typically
used in the context of networking is memory "de-registration". The UCP
library de-registers the memory the available hardware so it can be returned
back to the operation system.public ByteBuffer getRemoteKeyBuffer()
public long getAddress()
public long getLength()
public int getMemType()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2021. All rights reserved.