public class UcpEndpointParams extends UcxParams
| Constructor and Description |
|---|
UcpEndpointParams() |
| Modifier and Type | Method and Description |
|---|---|
UcpEndpointParams |
clear()
Reset state of parameters.
|
UcpEndpointParams |
sendClientId()
Send worker's client id when connecting to remote socket address as part of the
connection request payload.
|
UcpEndpointParams |
setConnectionRequest(UcpConnectionRequest connectionRequest)
Connection request from client.
|
UcpEndpointParams |
setErrorHandler(UcpEndpointErrorHandler errorHandler)
Handler to process transport level failure.
|
UcpEndpointParams |
setName(String name)
Endpoint name.
|
UcpEndpointParams |
setNoLoopbackMode()
Avoid connecting the endpoint to itself when connecting the endpoint
to the same worker it was created on.
|
UcpEndpointParams |
setPeerErrorHandlingMode()
Guarantees that send requests are always completed (successfully or error) even in
case of remote failure, disables protocols and APIs which may cause a hang or undefined
behavior in case of peer failure, may affect performance and memory footprint.
|
UcpEndpointParams |
setSocketAddress(InetSocketAddress socketAddress)
Destination address in form of InetSocketAddress.
|
UcpEndpointParams |
setUcpAddress(ByteBuffer ucpAddress)
Destination address in form of workerAddress.
|
String |
toString() |
checkArraySizespublic UcpEndpointParams clear()
UcxParamspublic UcpEndpointParams setUcpAddress(ByteBuffer ucpAddress)
public UcpEndpointParams setPeerErrorHandlingMode()
public UcpEndpointParams setSocketAddress(InetSocketAddress socketAddress)
public UcpEndpointParams setNoLoopbackMode()
public UcpEndpointParams setConnectionRequest(UcpConnectionRequest connectionRequest)
public UcpEndpointParams setErrorHandler(UcpEndpointErrorHandler errorHandler)
public UcpEndpointParams setName(String name)
public UcpEndpointParams sendClientId()
UcpConnectionRequest.getClientId()Copyright © 2024. All rights reserved.