Interface RemoteTableDataServiceDescriptor.Builder
- Enclosing interface:
- RemoteTableDataServiceDescriptor
public static interface RemoteTableDataServiceDescriptor.Builder
Builder interface for creating RemoteTableDataServiceDescriptor instances.
-
Method Summary
Modifier and TypeMethodDescriptionaddressSupplier(Supplier<SocketAddress> addressSupplier) Sets the socket address supplier.allowIOMessageFlush(boolean allowIOMessageFlush) Sets whether IO message flushing should be allowed.build()Builds a new RemoteTableDataServiceDescriptor with the configured parameters.requestTimeout(Duration timeout) Sets the request timeout duration
-
Method Details
-
addressSupplier
Sets the socket address supplier.- Parameters:
addressSupplier- The socket address supplier- Returns:
- this builder
-
requestTimeout
Sets the request timeout duration- Parameters:
timeout- The request timeout duration- Returns:
- this builder
-
allowIOMessageFlush
Sets whether IO message flushing should be allowed.- Parameters:
allowIOMessageFlush- true to allow IO message flushing, false otherwise- Returns:
- this builder
-
build
RemoteTableDataServiceDescriptor build()Builds a new RemoteTableDataServiceDescriptor with the configured parameters.- Returns:
- a new RemoteTableDataServiceDescriptor instance
-