public class UcpEndpointParams extends UcxParams
| Constructor and Description |
|---|
UcpEndpointParams() |
| Modifier and Type | Method and Description |
|---|---|
UcpEndpointParams |
clear()
Reset state of parameters.
|
UcpEndpointParams |
setConnectionRequest(UcpConnectionRequest connectionRequest)
Connection request from client.
|
UcpEndpointParams |
setErrorHandler(UcpEndpointErrorHandler errorHandler)
Handler to process transport level failure.
|
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)
Copyright © 2021. All rights reserved.