public class UcpContext extends UcxNativeStruct implements Closeable
| Constructor and Description |
|---|
UcpContext(UcpParams params) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getMemoryTypesMask() |
UcpMemory |
memoryMap(UcpMemMapParams params)
Associates memory allocated/mapped region with communication operations.
|
UcpWorker |
newWorker(UcpWorkerParams params)
Creates new UcpWorker on current context.
|
UcpMemory |
registerMemory(ByteBuffer buf)
Associates memory allocated/mapped region with communication operations.
|
equals, getNativeId, hashCode, setNativeIdpublic UcpContext(UcpParams params)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic long getMemoryTypesMask()
UcsConstants.MEMORY_TYPE.isMemTypeSupported(long, int)public UcpWorker newWorker(UcpWorkerParams params)
public UcpMemory registerMemory(ByteBuffer buf)
public UcpMemory memoryMap(UcpMemMapParams params)
Copyright © 2021. All rights reserved.