Interface RemoteTableDataServiceDescriptor.Builder
- Enclosing interface:
- RemoteTableDataServiceDescriptor
public static interface RemoteTableDataServiceDescriptor.Builder
Builder interface for constructing RemoteTableDataServiceDescriptor instances.
-
Method Summary
Modifier and TypeMethodDescriptionaddressSupplier(Supplier<SocketAddress> addrFun) Sets the address supplier for the remote service.allowIOMessageFlush(boolean allowIOMessageFlush) Sets whether I/O message flushing is allowed.build()Builds and returns the RemoteTableDataServiceDescriptor instance.requestTimeoutMillis(long requestTimeoutMillis) Sets the request timeout in milliseconds.
-
Method Details
-
requestTimeoutMillis
Sets the request timeout in milliseconds.- Parameters:
requestTimeoutMillis- the timeout value in milliseconds- Returns:
- this builder
-
allowIOMessageFlush
Sets whether I/O message flushing is allowed.- Parameters:
allowIOMessageFlush- true if flushing is allowed- Returns:
- this builder
-
addressSupplier
Sets the address supplier for the remote service.- Parameters:
addrFun- the supplier that provides socket addresses- Returns:
- this builder
-
build
RemoteTableDataServiceDescriptor build()Builds and returns the RemoteTableDataServiceDescriptor instance.- Returns:
- the constructed descriptor
-