summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2025-02-19 18:11:42 +0300
committerhiddenpath <[email protected]>2025-02-19 18:40:06 +0300
commitd96989231740acdd966b21608d95d175990e3656 (patch)
tree57980f001fd5dfb01aa834156089cff710833c5b
parenta3f26a347afa5953c2844c2cbe088d1198e733fe (diff)
YT-23616: Add CreateRpcClient method
commit_hash:78db7b8cacb58da4b6e26dd810baa508a8abfda2
-rw-r--r--yt/cpp/mapreduce/interface/client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/client.h b/yt/cpp/mapreduce/interface/client.h
index 3d4bc6ac1b0..c92c586b36e 100644
--- a/yt/cpp/mapreduce/interface/client.h
+++ b/yt/cpp/mapreduce/interface/client.h
@@ -579,6 +579,11 @@ public:
virtual void Shutdown() = 0;
};
+/// Create a rpc client for particular cluster.
+IClientPtr CreateRpcClient(
+ const TString& serverName,
+ const TCreateClientOptions& options = {});
+
/// Create a client for particular MapReduce cluster.
IClientPtr CreateClient(
const TString& serverName,