public interface TunnelClientInterface
| 限定符和类型 | 方法和说明 |
|---|---|
com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointResponse |
checkpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointRequest request)
Advanced Interface: Not recommended for direct use.
|
com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelResponse |
connectTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelRequest request)
Advanced interface: Not recommended for direct use.
|
CreateTunnelResponse |
createTunnel(CreateTunnelRequest request)
Create a Tunnel.
|
DeleteTunnelResponse |
deleteTunnel(DeleteTunnelRequest request)
Delete a Tunnel.
|
DescribeTunnelResponse |
describeTunnel(DescribeTunnelRequest request)
Get the specific information under a certain Tunnel.
|
com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointResponse |
getCheckpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointRequest request)
Advanced Interface: Not recommended for direct use.
|
com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatResponse |
heartbeat(com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatRequest request)
Advanced Interface: Not recommended for direct use.
|
ListTunnelResponse |
listTunnel(ListTunnelRequest request)
Get the Tunnel information for a specific table.
|
com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsResponse |
readRecords(com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsRequest request)
Advanced Interface: Not recommended for direct use.
|
void |
shutdown()
Release resources.
|
com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelResponse |
shutdownTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelRequest request)
Advanced Interface: Not recommended for direct use.
|
CreateTunnelResponse createTunnel(CreateTunnelRequest request) throws TableStoreException, ClientException
request - Parameters required for creating a Tunnel, see CreateTunnelRequestCreateTunnelResponseTableStoreException - Exception returned by the TableStore serviceClientException - Invalid request response or network exception encounteredListTunnelResponse listTunnel(ListTunnelRequest request) throws TableStoreException, ClientException
request - Parameters required to list Tunnels under a table, see ListTunnelRequestListTunnelResponseTableStoreException - Exception returned by the TableStore serviceClientException - Invalid request response or network exception encounteredDescribeTunnelResponse describeTunnel(DescribeTunnelRequest request) throws TableStoreException, ClientException
request - Parameters required to describe the detailed information of a certain Tunnel, see DescribeTunnelRequestDescribeTunnelResponseTableStoreException - Exception returned by the TableStore serviceClientException - The response result of the request is invalid, or a network exception occurredDeleteTunnelResponse deleteTunnel(DeleteTunnelRequest request) throws TableStoreException, ClientException
request - Parameters required to delete a Tunnel, see DeleteTunnelRequestDeleteTunnelResponseTableStoreException - Exception returned by the TableStore serviceClientException - Invalid request response or network exception encounteredcom.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelResponse connectTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelRequest request)
throws TableStoreException,
ClientException
request - Parameters required to connect to a Tunnel, see ConnectTunnelRequest for detailsConnectTunnelResponse for detailsTableStoreException - Exception returned by the TableStore serviceClientException - Invalid response from the request or network exception encounteredcom.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatResponse heartbeat(com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatRequest request)
throws TableStoreException,
ClientException
request - Parameters required for detecting the heartbeat, see HeartbeatRequest for details.HeartbeatResponse for details.TableStoreException - Exception returned by the TableStore serviceClientException - Invalid return result of the request or network exception encounteredcom.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelResponse shutdownTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelRequest request)
throws TableStoreException,
ClientException
request - Parameters required to shut down a TunnelClient, see ShutdownTunnelRequestShutdownTunnelResponseTableStoreException - Exception returned by the TableStore serviceClientException - Invalid response or network exception encountered during the requestcom.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointResponse getCheckpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointRequest request)
throws TableStoreException,
ClientException
request - Parameters required to get the Checkpoint of a specific Channel, see GetCheckpointRequestTableStoreException - Exception returned by the TableStore serviceClientException - Invalid response from the request or network exception encounteredcom.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsResponse readRecords(com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsRequest request)
throws TableStoreException,
ClientException
request - Read data from a specific Channel, see details in ReadRecordsRequestTableStoreException - Exception returned by the TableStore serviceClientException - Invalid response result or network exception encountered during the requestcom.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointResponse checkpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointRequest request)
throws TableStoreException,
ClientException
request - Set the Checkpoint for a specific ChannelTableStoreException - Exception returned by the TableStore serviceClientException - The response result is invalid or a network exception occurredvoid shutdown()
Make sure to release resources after all requests have been executed. After releasing resources, no further requests can be sent, and ongoing requests may not return results.
Copyright © 2025. All Rights Reserved.