@@ -105,6 +105,7 @@ std::unique_ptr<google::cloud::internal::StreamingReadRpc<
105105BigtableRandomTwoLeastUsed::SampleRowKeys (
106106 std::shared_ptr<grpc::ClientContext> context, Options const & options,
107107 google::bigtable::v2::SampleRowKeysRequest const & request) {
108+ std::cout << __PRETTY_FUNCTION__ << std::endl;
108109 auto child = Child ();
109110 auto stub = child->AcquireStub ();
110111 auto result = stub->SampleRowKeys (std::move (context), options, request);
@@ -121,6 +122,7 @@ StatusOr<google::bigtable::v2::MutateRowResponse>
121122BigtableRandomTwoLeastUsed::MutateRow (
122123 grpc::ClientContext& context, Options const & options,
123124 google::bigtable::v2::MutateRowRequest const & request) {
125+ std::cout << __PRETTY_FUNCTION__ << std::endl;
124126 auto child = Child ();
125127 auto stub = child->AcquireStub ();
126128 auto result = stub->MutateRow (context, options, request);
@@ -150,6 +152,7 @@ StatusOr<google::bigtable::v2::CheckAndMutateRowResponse>
150152BigtableRandomTwoLeastUsed::CheckAndMutateRow (
151153 grpc::ClientContext& context, Options const & options,
152154 google::bigtable::v2::CheckAndMutateRowRequest const & request) {
155+ std::cout << __PRETTY_FUNCTION__ << std::endl;
153156 auto child = Child ();
154157 auto stub = child->AcquireStub ();
155158 auto result = stub->CheckAndMutateRow (context, options, request);
@@ -161,6 +164,7 @@ StatusOr<google::bigtable::v2::PingAndWarmResponse>
161164BigtableRandomTwoLeastUsed::PingAndWarm (
162165 grpc::ClientContext& context, Options const & options,
163166 google::bigtable::v2::PingAndWarmRequest const & request) {
167+ std::cout << __PRETTY_FUNCTION__ << std::endl;
164168 auto child = Child ();
165169 auto stub = child->AcquireStub ();
166170 auto result = stub->PingAndWarm (context, options, request);
@@ -172,6 +176,7 @@ StatusOr<google::bigtable::v2::ReadModifyWriteRowResponse>
172176BigtableRandomTwoLeastUsed::ReadModifyWriteRow (
173177 grpc::ClientContext& context, Options const & options,
174178 google::bigtable::v2::ReadModifyWriteRowRequest const & request) {
179+ std::cout << __PRETTY_FUNCTION__ << std::endl;
175180 auto child = Child ();
176181 auto stub = child->AcquireStub ();
177182 auto result = stub->ReadModifyWriteRow (context, options, request);
@@ -183,6 +188,7 @@ StatusOr<google::bigtable::v2::PrepareQueryResponse>
183188BigtableRandomTwoLeastUsed::PrepareQuery (
184189 grpc::ClientContext& context, Options const & options,
185190 google::bigtable::v2::PrepareQueryRequest const & request) {
191+ std::cout << __PRETTY_FUNCTION__ << std::endl;
186192 auto child = Child ();
187193 auto stub = child->AcquireStub ();
188194 auto result = stub->PrepareQuery (context, options, request);
@@ -195,6 +201,7 @@ std::unique_ptr<google::cloud::internal::StreamingReadRpc<
195201BigtableRandomTwoLeastUsed::ExecuteQuery (
196202 std::shared_ptr<grpc::ClientContext> context, Options const & options,
197203 google::bigtable::v2::ExecuteQueryRequest const & request) {
204+ std::cout << __PRETTY_FUNCTION__ << std::endl;
198205 auto child = Child ();
199206 auto stub = child->AcquireStub ();
200207 auto result = stub->ExecuteQuery (std::move (context), options, request);
@@ -214,6 +221,7 @@ BigtableRandomTwoLeastUsed::AsyncReadRows(
214221 std::shared_ptr<grpc::ClientContext> context,
215222 google::cloud::internal::ImmutableOptions options,
216223 google::bigtable::v2::ReadRowsRequest const & request) {
224+ std::cout << __PRETTY_FUNCTION__ << std::endl;
217225 auto child = Child ();
218226 auto stub = child->AcquireStub ();
219227 auto result =
@@ -234,6 +242,7 @@ BigtableRandomTwoLeastUsed::AsyncSampleRowKeys(
234242 std::shared_ptr<grpc::ClientContext> context,
235243 google::cloud::internal::ImmutableOptions options,
236244 google::bigtable::v2::SampleRowKeysRequest const & request) {
245+ std::cout << __PRETTY_FUNCTION__ << std::endl;
237246 auto child = Child ();
238247 auto stub = child->AcquireStub ();
239248 auto result = stub->AsyncSampleRowKeys (cq, std::move (context),
@@ -253,6 +262,7 @@ BigtableRandomTwoLeastUsed::AsyncMutateRow(
253262 std::shared_ptr<grpc::ClientContext> context,
254263 google::cloud::internal::ImmutableOptions options,
255264 google::bigtable::v2::MutateRowRequest const & request) {
265+ std::cout << __PRETTY_FUNCTION__ << std::endl;
256266 auto child = Child ();
257267 auto stub = child->AcquireStub ();
258268 auto result =
@@ -268,6 +278,7 @@ BigtableRandomTwoLeastUsed::AsyncMutateRows(
268278 std::shared_ptr<grpc::ClientContext> context,
269279 google::cloud::internal::ImmutableOptions options,
270280 google::bigtable::v2::MutateRowsRequest const & request) {
281+ std::cout << __PRETTY_FUNCTION__ << std::endl;
271282 auto child = Child ();
272283 auto stub = child->AcquireStub ();
273284 auto result = stub->AsyncMutateRows (cq, std::move (context),
@@ -288,6 +299,7 @@ BigtableRandomTwoLeastUsed::AsyncCheckAndMutateRow(
288299 std::shared_ptr<grpc::ClientContext> context,
289300 google::cloud::internal::ImmutableOptions options,
290301 google::bigtable::v2::CheckAndMutateRowRequest const & request) {
302+ std::cout << __PRETTY_FUNCTION__ << std::endl;
291303 auto child = Child ();
292304 auto stub = child->AcquireStub ();
293305 auto result = stub->AsyncCheckAndMutateRow (cq, std::move (context),
@@ -302,6 +314,7 @@ BigtableRandomTwoLeastUsed::AsyncReadModifyWriteRow(
302314 std::shared_ptr<grpc::ClientContext> context,
303315 google::cloud::internal::ImmutableOptions options,
304316 google::bigtable::v2::ReadModifyWriteRowRequest const & request) {
317+ std::cout << __PRETTY_FUNCTION__ << std::endl;
305318 auto child = Child ();
306319 auto stub = child->AcquireStub ();
307320 auto result = stub->AsyncReadModifyWriteRow (cq, std::move (context),
@@ -316,6 +329,7 @@ BigtableRandomTwoLeastUsed::AsyncPrepareQuery(
316329 std::shared_ptr<grpc::ClientContext> context,
317330 google::cloud::internal::ImmutableOptions options,
318331 google::bigtable::v2::PrepareQueryRequest const & request) {
332+ std::cout << __PRETTY_FUNCTION__ << std::endl;
319333 auto child = Child ();
320334 auto stub = child->AcquireStub ();
321335 auto result = stub->AsyncPrepareQuery (cq, std::move (context),
@@ -324,7 +338,7 @@ BigtableRandomTwoLeastUsed::AsyncPrepareQuery(
324338 return result;
325339}
326340
327- std::shared_ptr<StubUsageWrapper <BigtableStub>>
341+ std::shared_ptr<ChannelUsageWrapper <BigtableStub>>
328342BigtableRandomTwoLeastUsed::Child () {
329343 std::cout << __PRETTY_FUNCTION__ << std::endl;
330344 return pool_->GetChannelRandomTwoLeastUsed ();
0 commit comments