github.com/m3db/m3@v1.5.0/src/dbnode/client/client_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/m3db/m3/src/dbnode/client/types.go 3 4 // Copyright (c) 2022 Uber Technologies, Inc. 5 // 6 // Permission is hereby granted, free of charge, to any person obtaining a copy 7 // of this software and associated documentation files (the "Software"), to deal 8 // in the Software without restriction, including without limitation the rights 9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 // copies of the Software, and to permit persons to whom the Software is 11 // furnished to do so, subject to the following conditions: 12 // 13 // The above copyright notice and this permission notice shall be included in 14 // all copies or substantial portions of the Software. 15 // 16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 // THE SOFTWARE. 23 24 // Package client is a generated GoMock package. 25 package client 26 27 import ( 28 "context" 29 "reflect" 30 "time" 31 32 "github.com/m3db/m3/src/dbnode/encoding" 33 "github.com/m3db/m3/src/dbnode/generated/thrift/rpc" 34 "github.com/m3db/m3/src/dbnode/namespace" 35 "github.com/m3db/m3/src/dbnode/runtime" 36 "github.com/m3db/m3/src/dbnode/storage/block" 37 "github.com/m3db/m3/src/dbnode/storage/bootstrap/result" 38 "github.com/m3db/m3/src/dbnode/storage/index" 39 "github.com/m3db/m3/src/dbnode/topology" 40 "github.com/m3db/m3/src/x/clock" 41 context0 "github.com/m3db/m3/src/x/context" 42 "github.com/m3db/m3/src/x/ident" 43 "github.com/m3db/m3/src/x/instrument" 44 "github.com/m3db/m3/src/x/pool" 45 "github.com/m3db/m3/src/x/retry" 46 "github.com/m3db/m3/src/x/sampler" 47 "github.com/m3db/m3/src/x/serialize" 48 "github.com/m3db/m3/src/x/sync" 49 time0 "github.com/m3db/m3/src/x/time" 50 51 "github.com/golang/mock/gomock" 52 tchannel_go "github.com/uber/tchannel-go" 53 ) 54 55 // MockClient is a mock of Client interface. 56 type MockClient struct { 57 ctrl *gomock.Controller 58 recorder *MockClientMockRecorder 59 } 60 61 // MockClientMockRecorder is the mock recorder for MockClient. 62 type MockClientMockRecorder struct { 63 mock *MockClient 64 } 65 66 // NewMockClient creates a new mock instance. 67 func NewMockClient(ctrl *gomock.Controller) *MockClient { 68 mock := &MockClient{ctrl: ctrl} 69 mock.recorder = &MockClientMockRecorder{mock} 70 return mock 71 } 72 73 // EXPECT returns an object that allows the caller to indicate expected use. 74 func (m *MockClient) EXPECT() *MockClientMockRecorder { 75 return m.recorder 76 } 77 78 // DefaultSession mocks base method. 79 func (m *MockClient) DefaultSession() (Session, error) { 80 m.ctrl.T.Helper() 81 ret := m.ctrl.Call(m, "DefaultSession") 82 ret0, _ := ret[0].(Session) 83 ret1, _ := ret[1].(error) 84 return ret0, ret1 85 } 86 87 // DefaultSession indicates an expected call of DefaultSession. 88 func (mr *MockClientMockRecorder) DefaultSession() *gomock.Call { 89 mr.mock.ctrl.T.Helper() 90 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSession", reflect.TypeOf((*MockClient)(nil).DefaultSession)) 91 } 92 93 // DefaultSessionActive mocks base method. 94 func (m *MockClient) DefaultSessionActive() bool { 95 m.ctrl.T.Helper() 96 ret := m.ctrl.Call(m, "DefaultSessionActive") 97 ret0, _ := ret[0].(bool) 98 return ret0 99 } 100 101 // DefaultSessionActive indicates an expected call of DefaultSessionActive. 102 func (mr *MockClientMockRecorder) DefaultSessionActive() *gomock.Call { 103 mr.mock.ctrl.T.Helper() 104 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSessionActive", reflect.TypeOf((*MockClient)(nil).DefaultSessionActive)) 105 } 106 107 // NewSession mocks base method. 108 func (m *MockClient) NewSession() (Session, error) { 109 m.ctrl.T.Helper() 110 ret := m.ctrl.Call(m, "NewSession") 111 ret0, _ := ret[0].(Session) 112 ret1, _ := ret[1].(error) 113 return ret0, ret1 114 } 115 116 // NewSession indicates an expected call of NewSession. 117 func (mr *MockClientMockRecorder) NewSession() *gomock.Call { 118 mr.mock.ctrl.T.Helper() 119 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockClient)(nil).NewSession)) 120 } 121 122 // NewSessionWithOptions mocks base method. 123 func (m *MockClient) NewSessionWithOptions(opts Options) (Session, error) { 124 m.ctrl.T.Helper() 125 ret := m.ctrl.Call(m, "NewSessionWithOptions", opts) 126 ret0, _ := ret[0].(Session) 127 ret1, _ := ret[1].(error) 128 return ret0, ret1 129 } 130 131 // NewSessionWithOptions indicates an expected call of NewSessionWithOptions. 132 func (mr *MockClientMockRecorder) NewSessionWithOptions(opts interface{}) *gomock.Call { 133 mr.mock.ctrl.T.Helper() 134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSessionWithOptions", reflect.TypeOf((*MockClient)(nil).NewSessionWithOptions), opts) 135 } 136 137 // Options mocks base method. 138 func (m *MockClient) Options() Options { 139 m.ctrl.T.Helper() 140 ret := m.ctrl.Call(m, "Options") 141 ret0, _ := ret[0].(Options) 142 return ret0 143 } 144 145 // Options indicates an expected call of Options. 146 func (mr *MockClientMockRecorder) Options() *gomock.Call { 147 mr.mock.ctrl.T.Helper() 148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockClient)(nil).Options)) 149 } 150 151 // MockSession is a mock of Session interface. 152 type MockSession struct { 153 ctrl *gomock.Controller 154 recorder *MockSessionMockRecorder 155 } 156 157 // MockSessionMockRecorder is the mock recorder for MockSession. 158 type MockSessionMockRecorder struct { 159 mock *MockSession 160 } 161 162 // NewMockSession creates a new mock instance. 163 func NewMockSession(ctrl *gomock.Controller) *MockSession { 164 mock := &MockSession{ctrl: ctrl} 165 mock.recorder = &MockSessionMockRecorder{mock} 166 return mock 167 } 168 169 // EXPECT returns an object that allows the caller to indicate expected use. 170 func (m *MockSession) EXPECT() *MockSessionMockRecorder { 171 return m.recorder 172 } 173 174 // Aggregate mocks base method. 175 func (m *MockSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 176 m.ctrl.T.Helper() 177 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 178 ret0, _ := ret[0].(AggregatedTagsIterator) 179 ret1, _ := ret[1].(FetchResponseMetadata) 180 ret2, _ := ret[2].(error) 181 return ret0, ret1, ret2 182 } 183 184 // Aggregate indicates an expected call of Aggregate. 185 func (mr *MockSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 186 mr.mock.ctrl.T.Helper() 187 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockSession)(nil).Aggregate), ctx, namespace, q, opts) 188 } 189 190 // Close mocks base method. 191 func (m *MockSession) Close() error { 192 m.ctrl.T.Helper() 193 ret := m.ctrl.Call(m, "Close") 194 ret0, _ := ret[0].(error) 195 return ret0 196 } 197 198 // Close indicates an expected call of Close. 199 func (mr *MockSessionMockRecorder) Close() *gomock.Call { 200 mr.mock.ctrl.T.Helper() 201 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSession)(nil).Close)) 202 } 203 204 // Fetch mocks base method. 205 func (m *MockSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 206 m.ctrl.T.Helper() 207 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 208 ret0, _ := ret[0].(encoding.SeriesIterator) 209 ret1, _ := ret[1].(error) 210 return ret0, ret1 211 } 212 213 // Fetch indicates an expected call of Fetch. 214 func (mr *MockSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 215 mr.mock.ctrl.T.Helper() 216 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 217 } 218 219 // FetchIDs mocks base method. 220 func (m *MockSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 221 m.ctrl.T.Helper() 222 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 223 ret0, _ := ret[0].(encoding.SeriesIterators) 224 ret1, _ := ret[1].(error) 225 return ret0, ret1 226 } 227 228 // FetchIDs indicates an expected call of FetchIDs. 229 func (mr *MockSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 230 mr.mock.ctrl.T.Helper() 231 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 232 } 233 234 // FetchTagged mocks base method. 235 func (m *MockSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 236 m.ctrl.T.Helper() 237 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 238 ret0, _ := ret[0].(encoding.SeriesIterators) 239 ret1, _ := ret[1].(FetchResponseMetadata) 240 ret2, _ := ret[2].(error) 241 return ret0, ret1, ret2 242 } 243 244 // FetchTagged indicates an expected call of FetchTagged. 245 func (mr *MockSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 246 mr.mock.ctrl.T.Helper() 247 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockSession)(nil).FetchTagged), ctx, namespace, q, opts) 248 } 249 250 // FetchTaggedIDs mocks base method. 251 func (m *MockSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 252 m.ctrl.T.Helper() 253 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 254 ret0, _ := ret[0].(TaggedIDsIterator) 255 ret1, _ := ret[1].(FetchResponseMetadata) 256 ret2, _ := ret[2].(error) 257 return ret0, ret1, ret2 258 } 259 260 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 261 func (mr *MockSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 262 mr.mock.ctrl.T.Helper() 263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 264 } 265 266 // IteratorPools mocks base method. 267 func (m *MockSession) IteratorPools() (encoding.IteratorPools, error) { 268 m.ctrl.T.Helper() 269 ret := m.ctrl.Call(m, "IteratorPools") 270 ret0, _ := ret[0].(encoding.IteratorPools) 271 ret1, _ := ret[1].(error) 272 return ret0, ret1 273 } 274 275 // IteratorPools indicates an expected call of IteratorPools. 276 func (mr *MockSessionMockRecorder) IteratorPools() *gomock.Call { 277 mr.mock.ctrl.T.Helper() 278 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockSession)(nil).IteratorPools)) 279 } 280 281 // ReadClusterAvailability mocks base method. 282 func (m *MockSession) ReadClusterAvailability() (bool, error) { 283 m.ctrl.T.Helper() 284 ret := m.ctrl.Call(m, "ReadClusterAvailability") 285 ret0, _ := ret[0].(bool) 286 ret1, _ := ret[1].(error) 287 return ret0, ret1 288 } 289 290 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 291 func (mr *MockSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 292 mr.mock.ctrl.T.Helper() 293 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockSession)(nil).ReadClusterAvailability)) 294 } 295 296 // ShardID mocks base method. 297 func (m *MockSession) ShardID(id ident.ID) (uint32, error) { 298 m.ctrl.T.Helper() 299 ret := m.ctrl.Call(m, "ShardID", id) 300 ret0, _ := ret[0].(uint32) 301 ret1, _ := ret[1].(error) 302 return ret0, ret1 303 } 304 305 // ShardID indicates an expected call of ShardID. 306 func (mr *MockSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 307 mr.mock.ctrl.T.Helper() 308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockSession)(nil).ShardID), id) 309 } 310 311 // Write mocks base method. 312 func (m *MockSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 313 m.ctrl.T.Helper() 314 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 315 ret0, _ := ret[0].(error) 316 return ret0 317 } 318 319 // Write indicates an expected call of Write. 320 func (mr *MockSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 321 mr.mock.ctrl.T.Helper() 322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockSession)(nil).Write), namespace, id, t, value, unit, annotation) 323 } 324 325 // WriteClusterAvailability mocks base method. 326 func (m *MockSession) WriteClusterAvailability() (bool, error) { 327 m.ctrl.T.Helper() 328 ret := m.ctrl.Call(m, "WriteClusterAvailability") 329 ret0, _ := ret[0].(bool) 330 ret1, _ := ret[1].(error) 331 return ret0, ret1 332 } 333 334 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 335 func (mr *MockSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 336 mr.mock.ctrl.T.Helper() 337 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockSession)(nil).WriteClusterAvailability)) 338 } 339 340 // WriteTagged mocks base method. 341 func (m *MockSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 342 m.ctrl.T.Helper() 343 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 344 ret0, _ := ret[0].(error) 345 return ret0 346 } 347 348 // WriteTagged indicates an expected call of WriteTagged. 349 func (mr *MockSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 350 mr.mock.ctrl.T.Helper() 351 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 352 } 353 354 // MockAggregatedTagsIterator is a mock of AggregatedTagsIterator interface. 355 type MockAggregatedTagsIterator struct { 356 ctrl *gomock.Controller 357 recorder *MockAggregatedTagsIteratorMockRecorder 358 } 359 360 // MockAggregatedTagsIteratorMockRecorder is the mock recorder for MockAggregatedTagsIterator. 361 type MockAggregatedTagsIteratorMockRecorder struct { 362 mock *MockAggregatedTagsIterator 363 } 364 365 // NewMockAggregatedTagsIterator creates a new mock instance. 366 func NewMockAggregatedTagsIterator(ctrl *gomock.Controller) *MockAggregatedTagsIterator { 367 mock := &MockAggregatedTagsIterator{ctrl: ctrl} 368 mock.recorder = &MockAggregatedTagsIteratorMockRecorder{mock} 369 return mock 370 } 371 372 // EXPECT returns an object that allows the caller to indicate expected use. 373 func (m *MockAggregatedTagsIterator) EXPECT() *MockAggregatedTagsIteratorMockRecorder { 374 return m.recorder 375 } 376 377 // Current mocks base method. 378 func (m *MockAggregatedTagsIterator) Current() (ident.ID, ident.Iterator) { 379 m.ctrl.T.Helper() 380 ret := m.ctrl.Call(m, "Current") 381 ret0, _ := ret[0].(ident.ID) 382 ret1, _ := ret[1].(ident.Iterator) 383 return ret0, ret1 384 } 385 386 // Current indicates an expected call of Current. 387 func (mr *MockAggregatedTagsIteratorMockRecorder) Current() *gomock.Call { 388 mr.mock.ctrl.T.Helper() 389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Current)) 390 } 391 392 // Err mocks base method. 393 func (m *MockAggregatedTagsIterator) Err() error { 394 m.ctrl.T.Helper() 395 ret := m.ctrl.Call(m, "Err") 396 ret0, _ := ret[0].(error) 397 return ret0 398 } 399 400 // Err indicates an expected call of Err. 401 func (mr *MockAggregatedTagsIteratorMockRecorder) Err() *gomock.Call { 402 mr.mock.ctrl.T.Helper() 403 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Err)) 404 } 405 406 // Finalize mocks base method. 407 func (m *MockAggregatedTagsIterator) Finalize() { 408 m.ctrl.T.Helper() 409 m.ctrl.Call(m, "Finalize") 410 } 411 412 // Finalize indicates an expected call of Finalize. 413 func (mr *MockAggregatedTagsIteratorMockRecorder) Finalize() *gomock.Call { 414 mr.mock.ctrl.T.Helper() 415 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Finalize)) 416 } 417 418 // Next mocks base method. 419 func (m *MockAggregatedTagsIterator) Next() bool { 420 m.ctrl.T.Helper() 421 ret := m.ctrl.Call(m, "Next") 422 ret0, _ := ret[0].(bool) 423 return ret0 424 } 425 426 // Next indicates an expected call of Next. 427 func (mr *MockAggregatedTagsIteratorMockRecorder) Next() *gomock.Call { 428 mr.mock.ctrl.T.Helper() 429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Next)) 430 } 431 432 // Remaining mocks base method. 433 func (m *MockAggregatedTagsIterator) Remaining() int { 434 m.ctrl.T.Helper() 435 ret := m.ctrl.Call(m, "Remaining") 436 ret0, _ := ret[0].(int) 437 return ret0 438 } 439 440 // Remaining indicates an expected call of Remaining. 441 func (mr *MockAggregatedTagsIteratorMockRecorder) Remaining() *gomock.Call { 442 mr.mock.ctrl.T.Helper() 443 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remaining", reflect.TypeOf((*MockAggregatedTagsIterator)(nil).Remaining)) 444 } 445 446 // MockTaggedIDsIterator is a mock of TaggedIDsIterator interface. 447 type MockTaggedIDsIterator struct { 448 ctrl *gomock.Controller 449 recorder *MockTaggedIDsIteratorMockRecorder 450 } 451 452 // MockTaggedIDsIteratorMockRecorder is the mock recorder for MockTaggedIDsIterator. 453 type MockTaggedIDsIteratorMockRecorder struct { 454 mock *MockTaggedIDsIterator 455 } 456 457 // NewMockTaggedIDsIterator creates a new mock instance. 458 func NewMockTaggedIDsIterator(ctrl *gomock.Controller) *MockTaggedIDsIterator { 459 mock := &MockTaggedIDsIterator{ctrl: ctrl} 460 mock.recorder = &MockTaggedIDsIteratorMockRecorder{mock} 461 return mock 462 } 463 464 // EXPECT returns an object that allows the caller to indicate expected use. 465 func (m *MockTaggedIDsIterator) EXPECT() *MockTaggedIDsIteratorMockRecorder { 466 return m.recorder 467 } 468 469 // Current mocks base method. 470 func (m *MockTaggedIDsIterator) Current() (ident.ID, ident.ID, ident.TagIterator) { 471 m.ctrl.T.Helper() 472 ret := m.ctrl.Call(m, "Current") 473 ret0, _ := ret[0].(ident.ID) 474 ret1, _ := ret[1].(ident.ID) 475 ret2, _ := ret[2].(ident.TagIterator) 476 return ret0, ret1, ret2 477 } 478 479 // Current indicates an expected call of Current. 480 func (mr *MockTaggedIDsIteratorMockRecorder) Current() *gomock.Call { 481 mr.mock.ctrl.T.Helper() 482 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Current)) 483 } 484 485 // Err mocks base method. 486 func (m *MockTaggedIDsIterator) Err() error { 487 m.ctrl.T.Helper() 488 ret := m.ctrl.Call(m, "Err") 489 ret0, _ := ret[0].(error) 490 return ret0 491 } 492 493 // Err indicates an expected call of Err. 494 func (mr *MockTaggedIDsIteratorMockRecorder) Err() *gomock.Call { 495 mr.mock.ctrl.T.Helper() 496 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Err)) 497 } 498 499 // Finalize mocks base method. 500 func (m *MockTaggedIDsIterator) Finalize() { 501 m.ctrl.T.Helper() 502 m.ctrl.Call(m, "Finalize") 503 } 504 505 // Finalize indicates an expected call of Finalize. 506 func (mr *MockTaggedIDsIteratorMockRecorder) Finalize() *gomock.Call { 507 mr.mock.ctrl.T.Helper() 508 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Finalize)) 509 } 510 511 // Next mocks base method. 512 func (m *MockTaggedIDsIterator) Next() bool { 513 m.ctrl.T.Helper() 514 ret := m.ctrl.Call(m, "Next") 515 ret0, _ := ret[0].(bool) 516 return ret0 517 } 518 519 // Next indicates an expected call of Next. 520 func (mr *MockTaggedIDsIteratorMockRecorder) Next() *gomock.Call { 521 mr.mock.ctrl.T.Helper() 522 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Next)) 523 } 524 525 // Remaining mocks base method. 526 func (m *MockTaggedIDsIterator) Remaining() int { 527 m.ctrl.T.Helper() 528 ret := m.ctrl.Call(m, "Remaining") 529 ret0, _ := ret[0].(int) 530 return ret0 531 } 532 533 // Remaining indicates an expected call of Remaining. 534 func (mr *MockTaggedIDsIteratorMockRecorder) Remaining() *gomock.Call { 535 mr.mock.ctrl.T.Helper() 536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remaining", reflect.TypeOf((*MockTaggedIDsIterator)(nil).Remaining)) 537 } 538 539 // MockAdminClient is a mock of AdminClient interface. 540 type MockAdminClient struct { 541 ctrl *gomock.Controller 542 recorder *MockAdminClientMockRecorder 543 } 544 545 // MockAdminClientMockRecorder is the mock recorder for MockAdminClient. 546 type MockAdminClientMockRecorder struct { 547 mock *MockAdminClient 548 } 549 550 // NewMockAdminClient creates a new mock instance. 551 func NewMockAdminClient(ctrl *gomock.Controller) *MockAdminClient { 552 mock := &MockAdminClient{ctrl: ctrl} 553 mock.recorder = &MockAdminClientMockRecorder{mock} 554 return mock 555 } 556 557 // EXPECT returns an object that allows the caller to indicate expected use. 558 func (m *MockAdminClient) EXPECT() *MockAdminClientMockRecorder { 559 return m.recorder 560 } 561 562 // DefaultAdminSession mocks base method. 563 func (m *MockAdminClient) DefaultAdminSession() (AdminSession, error) { 564 m.ctrl.T.Helper() 565 ret := m.ctrl.Call(m, "DefaultAdminSession") 566 ret0, _ := ret[0].(AdminSession) 567 ret1, _ := ret[1].(error) 568 return ret0, ret1 569 } 570 571 // DefaultAdminSession indicates an expected call of DefaultAdminSession. 572 func (mr *MockAdminClientMockRecorder) DefaultAdminSession() *gomock.Call { 573 mr.mock.ctrl.T.Helper() 574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultAdminSession", reflect.TypeOf((*MockAdminClient)(nil).DefaultAdminSession)) 575 } 576 577 // DefaultSession mocks base method. 578 func (m *MockAdminClient) DefaultSession() (Session, error) { 579 m.ctrl.T.Helper() 580 ret := m.ctrl.Call(m, "DefaultSession") 581 ret0, _ := ret[0].(Session) 582 ret1, _ := ret[1].(error) 583 return ret0, ret1 584 } 585 586 // DefaultSession indicates an expected call of DefaultSession. 587 func (mr *MockAdminClientMockRecorder) DefaultSession() *gomock.Call { 588 mr.mock.ctrl.T.Helper() 589 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSession", reflect.TypeOf((*MockAdminClient)(nil).DefaultSession)) 590 } 591 592 // DefaultSessionActive mocks base method. 593 func (m *MockAdminClient) DefaultSessionActive() bool { 594 m.ctrl.T.Helper() 595 ret := m.ctrl.Call(m, "DefaultSessionActive") 596 ret0, _ := ret[0].(bool) 597 return ret0 598 } 599 600 // DefaultSessionActive indicates an expected call of DefaultSessionActive. 601 func (mr *MockAdminClientMockRecorder) DefaultSessionActive() *gomock.Call { 602 mr.mock.ctrl.T.Helper() 603 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultSessionActive", reflect.TypeOf((*MockAdminClient)(nil).DefaultSessionActive)) 604 } 605 606 // NewAdminSession mocks base method. 607 func (m *MockAdminClient) NewAdminSession() (AdminSession, error) { 608 m.ctrl.T.Helper() 609 ret := m.ctrl.Call(m, "NewAdminSession") 610 ret0, _ := ret[0].(AdminSession) 611 ret1, _ := ret[1].(error) 612 return ret0, ret1 613 } 614 615 // NewAdminSession indicates an expected call of NewAdminSession. 616 func (mr *MockAdminClientMockRecorder) NewAdminSession() *gomock.Call { 617 mr.mock.ctrl.T.Helper() 618 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewAdminSession", reflect.TypeOf((*MockAdminClient)(nil).NewAdminSession)) 619 } 620 621 // NewSession mocks base method. 622 func (m *MockAdminClient) NewSession() (Session, error) { 623 m.ctrl.T.Helper() 624 ret := m.ctrl.Call(m, "NewSession") 625 ret0, _ := ret[0].(Session) 626 ret1, _ := ret[1].(error) 627 return ret0, ret1 628 } 629 630 // NewSession indicates an expected call of NewSession. 631 func (mr *MockAdminClientMockRecorder) NewSession() *gomock.Call { 632 mr.mock.ctrl.T.Helper() 633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSession", reflect.TypeOf((*MockAdminClient)(nil).NewSession)) 634 } 635 636 // NewSessionWithOptions mocks base method. 637 func (m *MockAdminClient) NewSessionWithOptions(opts Options) (Session, error) { 638 m.ctrl.T.Helper() 639 ret := m.ctrl.Call(m, "NewSessionWithOptions", opts) 640 ret0, _ := ret[0].(Session) 641 ret1, _ := ret[1].(error) 642 return ret0, ret1 643 } 644 645 // NewSessionWithOptions indicates an expected call of NewSessionWithOptions. 646 func (mr *MockAdminClientMockRecorder) NewSessionWithOptions(opts interface{}) *gomock.Call { 647 mr.mock.ctrl.T.Helper() 648 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSessionWithOptions", reflect.TypeOf((*MockAdminClient)(nil).NewSessionWithOptions), opts) 649 } 650 651 // Options mocks base method. 652 func (m *MockAdminClient) Options() Options { 653 m.ctrl.T.Helper() 654 ret := m.ctrl.Call(m, "Options") 655 ret0, _ := ret[0].(Options) 656 return ret0 657 } 658 659 // Options indicates an expected call of Options. 660 func (mr *MockAdminClientMockRecorder) Options() *gomock.Call { 661 mr.mock.ctrl.T.Helper() 662 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Options", reflect.TypeOf((*MockAdminClient)(nil).Options)) 663 } 664 665 // MockPeerBlockMetadataIter is a mock of PeerBlockMetadataIter interface. 666 type MockPeerBlockMetadataIter struct { 667 ctrl *gomock.Controller 668 recorder *MockPeerBlockMetadataIterMockRecorder 669 } 670 671 // MockPeerBlockMetadataIterMockRecorder is the mock recorder for MockPeerBlockMetadataIter. 672 type MockPeerBlockMetadataIterMockRecorder struct { 673 mock *MockPeerBlockMetadataIter 674 } 675 676 // NewMockPeerBlockMetadataIter creates a new mock instance. 677 func NewMockPeerBlockMetadataIter(ctrl *gomock.Controller) *MockPeerBlockMetadataIter { 678 mock := &MockPeerBlockMetadataIter{ctrl: ctrl} 679 mock.recorder = &MockPeerBlockMetadataIterMockRecorder{mock} 680 return mock 681 } 682 683 // EXPECT returns an object that allows the caller to indicate expected use. 684 func (m *MockPeerBlockMetadataIter) EXPECT() *MockPeerBlockMetadataIterMockRecorder { 685 return m.recorder 686 } 687 688 // Current mocks base method. 689 func (m *MockPeerBlockMetadataIter) Current() (topology.Host, block.Metadata) { 690 m.ctrl.T.Helper() 691 ret := m.ctrl.Call(m, "Current") 692 ret0, _ := ret[0].(topology.Host) 693 ret1, _ := ret[1].(block.Metadata) 694 return ret0, ret1 695 } 696 697 // Current indicates an expected call of Current. 698 func (mr *MockPeerBlockMetadataIterMockRecorder) Current() *gomock.Call { 699 mr.mock.ctrl.T.Helper() 700 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Current)) 701 } 702 703 // Err mocks base method. 704 func (m *MockPeerBlockMetadataIter) Err() error { 705 m.ctrl.T.Helper() 706 ret := m.ctrl.Call(m, "Err") 707 ret0, _ := ret[0].(error) 708 return ret0 709 } 710 711 // Err indicates an expected call of Err. 712 func (mr *MockPeerBlockMetadataIterMockRecorder) Err() *gomock.Call { 713 mr.mock.ctrl.T.Helper() 714 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Err)) 715 } 716 717 // Next mocks base method. 718 func (m *MockPeerBlockMetadataIter) Next() bool { 719 m.ctrl.T.Helper() 720 ret := m.ctrl.Call(m, "Next") 721 ret0, _ := ret[0].(bool) 722 return ret0 723 } 724 725 // Next indicates an expected call of Next. 726 func (mr *MockPeerBlockMetadataIterMockRecorder) Next() *gomock.Call { 727 mr.mock.ctrl.T.Helper() 728 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockPeerBlockMetadataIter)(nil).Next)) 729 } 730 731 // MockPeerBlocksIter is a mock of PeerBlocksIter interface. 732 type MockPeerBlocksIter struct { 733 ctrl *gomock.Controller 734 recorder *MockPeerBlocksIterMockRecorder 735 } 736 737 // MockPeerBlocksIterMockRecorder is the mock recorder for MockPeerBlocksIter. 738 type MockPeerBlocksIterMockRecorder struct { 739 mock *MockPeerBlocksIter 740 } 741 742 // NewMockPeerBlocksIter creates a new mock instance. 743 func NewMockPeerBlocksIter(ctrl *gomock.Controller) *MockPeerBlocksIter { 744 mock := &MockPeerBlocksIter{ctrl: ctrl} 745 mock.recorder = &MockPeerBlocksIterMockRecorder{mock} 746 return mock 747 } 748 749 // EXPECT returns an object that allows the caller to indicate expected use. 750 func (m *MockPeerBlocksIter) EXPECT() *MockPeerBlocksIterMockRecorder { 751 return m.recorder 752 } 753 754 // Current mocks base method. 755 func (m *MockPeerBlocksIter) Current() (topology.Host, ident.ID, ident.Tags, block.DatabaseBlock) { 756 m.ctrl.T.Helper() 757 ret := m.ctrl.Call(m, "Current") 758 ret0, _ := ret[0].(topology.Host) 759 ret1, _ := ret[1].(ident.ID) 760 ret2, _ := ret[2].(ident.Tags) 761 ret3, _ := ret[3].(block.DatabaseBlock) 762 return ret0, ret1, ret2, ret3 763 } 764 765 // Current indicates an expected call of Current. 766 func (mr *MockPeerBlocksIterMockRecorder) Current() *gomock.Call { 767 mr.mock.ctrl.T.Helper() 768 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockPeerBlocksIter)(nil).Current)) 769 } 770 771 // Err mocks base method. 772 func (m *MockPeerBlocksIter) Err() error { 773 m.ctrl.T.Helper() 774 ret := m.ctrl.Call(m, "Err") 775 ret0, _ := ret[0].(error) 776 return ret0 777 } 778 779 // Err indicates an expected call of Err. 780 func (mr *MockPeerBlocksIterMockRecorder) Err() *gomock.Call { 781 mr.mock.ctrl.T.Helper() 782 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockPeerBlocksIter)(nil).Err)) 783 } 784 785 // Next mocks base method. 786 func (m *MockPeerBlocksIter) Next() bool { 787 m.ctrl.T.Helper() 788 ret := m.ctrl.Call(m, "Next") 789 ret0, _ := ret[0].(bool) 790 return ret0 791 } 792 793 // Next indicates an expected call of Next. 794 func (mr *MockPeerBlocksIterMockRecorder) Next() *gomock.Call { 795 mr.mock.ctrl.T.Helper() 796 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockPeerBlocksIter)(nil).Next)) 797 } 798 799 // MockAdminSession is a mock of AdminSession interface. 800 type MockAdminSession struct { 801 ctrl *gomock.Controller 802 recorder *MockAdminSessionMockRecorder 803 } 804 805 // MockAdminSessionMockRecorder is the mock recorder for MockAdminSession. 806 type MockAdminSessionMockRecorder struct { 807 mock *MockAdminSession 808 } 809 810 // NewMockAdminSession creates a new mock instance. 811 func NewMockAdminSession(ctrl *gomock.Controller) *MockAdminSession { 812 mock := &MockAdminSession{ctrl: ctrl} 813 mock.recorder = &MockAdminSessionMockRecorder{mock} 814 return mock 815 } 816 817 // EXPECT returns an object that allows the caller to indicate expected use. 818 func (m *MockAdminSession) EXPECT() *MockAdminSessionMockRecorder { 819 return m.recorder 820 } 821 822 // Aggregate mocks base method. 823 func (m *MockAdminSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 824 m.ctrl.T.Helper() 825 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 826 ret0, _ := ret[0].(AggregatedTagsIterator) 827 ret1, _ := ret[1].(FetchResponseMetadata) 828 ret2, _ := ret[2].(error) 829 return ret0, ret1, ret2 830 } 831 832 // Aggregate indicates an expected call of Aggregate. 833 func (mr *MockAdminSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 834 mr.mock.ctrl.T.Helper() 835 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockAdminSession)(nil).Aggregate), ctx, namespace, q, opts) 836 } 837 838 // BorrowConnections mocks base method. 839 func (m *MockAdminSession) BorrowConnections(shardID uint32, fn WithBorrowConnectionFn, opts BorrowConnectionOptions) (BorrowConnectionsResult, error) { 840 m.ctrl.T.Helper() 841 ret := m.ctrl.Call(m, "BorrowConnections", shardID, fn, opts) 842 ret0, _ := ret[0].(BorrowConnectionsResult) 843 ret1, _ := ret[1].(error) 844 return ret0, ret1 845 } 846 847 // BorrowConnections indicates an expected call of BorrowConnections. 848 func (mr *MockAdminSessionMockRecorder) BorrowConnections(shardID, fn, opts interface{}) *gomock.Call { 849 mr.mock.ctrl.T.Helper() 850 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnections", reflect.TypeOf((*MockAdminSession)(nil).BorrowConnections), shardID, fn, opts) 851 } 852 853 // Close mocks base method. 854 func (m *MockAdminSession) Close() error { 855 m.ctrl.T.Helper() 856 ret := m.ctrl.Call(m, "Close") 857 ret0, _ := ret[0].(error) 858 return ret0 859 } 860 861 // Close indicates an expected call of Close. 862 func (mr *MockAdminSessionMockRecorder) Close() *gomock.Call { 863 mr.mock.ctrl.T.Helper() 864 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockAdminSession)(nil).Close)) 865 } 866 867 // DedicatedConnection mocks base method. 868 func (m *MockAdminSession) DedicatedConnection(shardID uint32, opts DedicatedConnectionOptions) (rpc.TChanNode, Channel, error) { 869 m.ctrl.T.Helper() 870 ret := m.ctrl.Call(m, "DedicatedConnection", shardID, opts) 871 ret0, _ := ret[0].(rpc.TChanNode) 872 ret1, _ := ret[1].(Channel) 873 ret2, _ := ret[2].(error) 874 return ret0, ret1, ret2 875 } 876 877 // DedicatedConnection indicates an expected call of DedicatedConnection. 878 func (mr *MockAdminSessionMockRecorder) DedicatedConnection(shardID, opts interface{}) *gomock.Call { 879 mr.mock.ctrl.T.Helper() 880 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DedicatedConnection", reflect.TypeOf((*MockAdminSession)(nil).DedicatedConnection), shardID, opts) 881 } 882 883 // Fetch mocks base method. 884 func (m *MockAdminSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 885 m.ctrl.T.Helper() 886 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 887 ret0, _ := ret[0].(encoding.SeriesIterator) 888 ret1, _ := ret[1].(error) 889 return ret0, ret1 890 } 891 892 // Fetch indicates an expected call of Fetch. 893 func (mr *MockAdminSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 894 mr.mock.ctrl.T.Helper() 895 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockAdminSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 896 } 897 898 // FetchBlocksFromPeers mocks base method. 899 func (m *MockAdminSession) FetchBlocksFromPeers(namespace namespace.Metadata, shard uint32, consistencyLevel topology.ReadConsistencyLevel, metadatas []block.ReplicaMetadata, opts result.Options) (PeerBlocksIter, error) { 900 m.ctrl.T.Helper() 901 ret := m.ctrl.Call(m, "FetchBlocksFromPeers", namespace, shard, consistencyLevel, metadatas, opts) 902 ret0, _ := ret[0].(PeerBlocksIter) 903 ret1, _ := ret[1].(error) 904 return ret0, ret1 905 } 906 907 // FetchBlocksFromPeers indicates an expected call of FetchBlocksFromPeers. 908 func (mr *MockAdminSessionMockRecorder) FetchBlocksFromPeers(namespace, shard, consistencyLevel, metadatas, opts interface{}) *gomock.Call { 909 mr.mock.ctrl.T.Helper() 910 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBlocksFromPeers), namespace, shard, consistencyLevel, metadatas, opts) 911 } 912 913 // FetchBlocksMetadataFromPeers mocks base method. 914 func (m *MockAdminSession) FetchBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, consistencyLevel topology.ReadConsistencyLevel, result result.Options) (PeerBlockMetadataIter, error) { 915 m.ctrl.T.Helper() 916 ret := m.ctrl.Call(m, "FetchBlocksMetadataFromPeers", namespace, shard, start, end, consistencyLevel, result) 917 ret0, _ := ret[0].(PeerBlockMetadataIter) 918 ret1, _ := ret[1].(error) 919 return ret0, ret1 920 } 921 922 // FetchBlocksMetadataFromPeers indicates an expected call of FetchBlocksMetadataFromPeers. 923 func (mr *MockAdminSessionMockRecorder) FetchBlocksMetadataFromPeers(namespace, shard, start, end, consistencyLevel, result interface{}) *gomock.Call { 924 mr.mock.ctrl.T.Helper() 925 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksMetadataFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBlocksMetadataFromPeers), namespace, shard, start, end, consistencyLevel, result) 926 } 927 928 // FetchBootstrapBlocksFromPeers mocks base method. 929 func (m *MockAdminSession) FetchBootstrapBlocksFromPeers(namespace namespace.Metadata, shard uint32, start, end time0.UnixNano, opts result.Options) (result.ShardResult, error) { 930 m.ctrl.T.Helper() 931 ret := m.ctrl.Call(m, "FetchBootstrapBlocksFromPeers", namespace, shard, start, end, opts) 932 ret0, _ := ret[0].(result.ShardResult) 933 ret1, _ := ret[1].(error) 934 return ret0, ret1 935 } 936 937 // FetchBootstrapBlocksFromPeers indicates an expected call of FetchBootstrapBlocksFromPeers. 938 func (mr *MockAdminSessionMockRecorder) FetchBootstrapBlocksFromPeers(namespace, shard, start, end, opts interface{}) *gomock.Call { 939 mr.mock.ctrl.T.Helper() 940 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBootstrapBlocksFromPeers), namespace, shard, start, end, opts) 941 } 942 943 // FetchBootstrapBlocksMetadataFromPeers mocks base method. 944 func (m *MockAdminSession) FetchBootstrapBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, result result.Options) (PeerBlockMetadataIter, error) { 945 m.ctrl.T.Helper() 946 ret := m.ctrl.Call(m, "FetchBootstrapBlocksMetadataFromPeers", namespace, shard, start, end, result) 947 ret0, _ := ret[0].(PeerBlockMetadataIter) 948 ret1, _ := ret[1].(error) 949 return ret0, ret1 950 } 951 952 // FetchBootstrapBlocksMetadataFromPeers indicates an expected call of FetchBootstrapBlocksMetadataFromPeers. 953 func (mr *MockAdminSessionMockRecorder) FetchBootstrapBlocksMetadataFromPeers(namespace, shard, start, end, result interface{}) *gomock.Call { 954 mr.mock.ctrl.T.Helper() 955 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksMetadataFromPeers", reflect.TypeOf((*MockAdminSession)(nil).FetchBootstrapBlocksMetadataFromPeers), namespace, shard, start, end, result) 956 } 957 958 // FetchIDs mocks base method. 959 func (m *MockAdminSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 960 m.ctrl.T.Helper() 961 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 962 ret0, _ := ret[0].(encoding.SeriesIterators) 963 ret1, _ := ret[1].(error) 964 return ret0, ret1 965 } 966 967 // FetchIDs indicates an expected call of FetchIDs. 968 func (mr *MockAdminSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 969 mr.mock.ctrl.T.Helper() 970 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockAdminSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 971 } 972 973 // FetchTagged mocks base method. 974 func (m *MockAdminSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 975 m.ctrl.T.Helper() 976 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 977 ret0, _ := ret[0].(encoding.SeriesIterators) 978 ret1, _ := ret[1].(FetchResponseMetadata) 979 ret2, _ := ret[2].(error) 980 return ret0, ret1, ret2 981 } 982 983 // FetchTagged indicates an expected call of FetchTagged. 984 func (mr *MockAdminSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 985 mr.mock.ctrl.T.Helper() 986 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockAdminSession)(nil).FetchTagged), ctx, namespace, q, opts) 987 } 988 989 // FetchTaggedIDs mocks base method. 990 func (m *MockAdminSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 991 m.ctrl.T.Helper() 992 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 993 ret0, _ := ret[0].(TaggedIDsIterator) 994 ret1, _ := ret[1].(FetchResponseMetadata) 995 ret2, _ := ret[2].(error) 996 return ret0, ret1, ret2 997 } 998 999 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 1000 func (mr *MockAdminSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 1001 mr.mock.ctrl.T.Helper() 1002 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockAdminSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 1003 } 1004 1005 // IteratorPools mocks base method. 1006 func (m *MockAdminSession) IteratorPools() (encoding.IteratorPools, error) { 1007 m.ctrl.T.Helper() 1008 ret := m.ctrl.Call(m, "IteratorPools") 1009 ret0, _ := ret[0].(encoding.IteratorPools) 1010 ret1, _ := ret[1].(error) 1011 return ret0, ret1 1012 } 1013 1014 // IteratorPools indicates an expected call of IteratorPools. 1015 func (mr *MockAdminSessionMockRecorder) IteratorPools() *gomock.Call { 1016 mr.mock.ctrl.T.Helper() 1017 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockAdminSession)(nil).IteratorPools)) 1018 } 1019 1020 // Origin mocks base method. 1021 func (m *MockAdminSession) Origin() topology.Host { 1022 m.ctrl.T.Helper() 1023 ret := m.ctrl.Call(m, "Origin") 1024 ret0, _ := ret[0].(topology.Host) 1025 return ret0 1026 } 1027 1028 // Origin indicates an expected call of Origin. 1029 func (mr *MockAdminSessionMockRecorder) Origin() *gomock.Call { 1030 mr.mock.ctrl.T.Helper() 1031 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockAdminSession)(nil).Origin)) 1032 } 1033 1034 // ReadClusterAvailability mocks base method. 1035 func (m *MockAdminSession) ReadClusterAvailability() (bool, error) { 1036 m.ctrl.T.Helper() 1037 ret := m.ctrl.Call(m, "ReadClusterAvailability") 1038 ret0, _ := ret[0].(bool) 1039 ret1, _ := ret[1].(error) 1040 return ret0, ret1 1041 } 1042 1043 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 1044 func (mr *MockAdminSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 1045 mr.mock.ctrl.T.Helper() 1046 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockAdminSession)(nil).ReadClusterAvailability)) 1047 } 1048 1049 // Replicas mocks base method. 1050 func (m *MockAdminSession) Replicas() int { 1051 m.ctrl.T.Helper() 1052 ret := m.ctrl.Call(m, "Replicas") 1053 ret0, _ := ret[0].(int) 1054 return ret0 1055 } 1056 1057 // Replicas indicates an expected call of Replicas. 1058 func (mr *MockAdminSessionMockRecorder) Replicas() *gomock.Call { 1059 mr.mock.ctrl.T.Helper() 1060 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockAdminSession)(nil).Replicas)) 1061 } 1062 1063 // ShardID mocks base method. 1064 func (m *MockAdminSession) ShardID(id ident.ID) (uint32, error) { 1065 m.ctrl.T.Helper() 1066 ret := m.ctrl.Call(m, "ShardID", id) 1067 ret0, _ := ret[0].(uint32) 1068 ret1, _ := ret[1].(error) 1069 return ret0, ret1 1070 } 1071 1072 // ShardID indicates an expected call of ShardID. 1073 func (mr *MockAdminSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 1074 mr.mock.ctrl.T.Helper() 1075 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockAdminSession)(nil).ShardID), id) 1076 } 1077 1078 // TopologyMap mocks base method. 1079 func (m *MockAdminSession) TopologyMap() (topology.Map, error) { 1080 m.ctrl.T.Helper() 1081 ret := m.ctrl.Call(m, "TopologyMap") 1082 ret0, _ := ret[0].(topology.Map) 1083 ret1, _ := ret[1].(error) 1084 return ret0, ret1 1085 } 1086 1087 // TopologyMap indicates an expected call of TopologyMap. 1088 func (mr *MockAdminSessionMockRecorder) TopologyMap() *gomock.Call { 1089 mr.mock.ctrl.T.Helper() 1090 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyMap", reflect.TypeOf((*MockAdminSession)(nil).TopologyMap)) 1091 } 1092 1093 // Truncate mocks base method. 1094 func (m *MockAdminSession) Truncate(namespace ident.ID) (int64, error) { 1095 m.ctrl.T.Helper() 1096 ret := m.ctrl.Call(m, "Truncate", namespace) 1097 ret0, _ := ret[0].(int64) 1098 ret1, _ := ret[1].(error) 1099 return ret0, ret1 1100 } 1101 1102 // Truncate indicates an expected call of Truncate. 1103 func (mr *MockAdminSessionMockRecorder) Truncate(namespace interface{}) *gomock.Call { 1104 mr.mock.ctrl.T.Helper() 1105 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockAdminSession)(nil).Truncate), namespace) 1106 } 1107 1108 // Write mocks base method. 1109 func (m *MockAdminSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 1110 m.ctrl.T.Helper() 1111 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 1112 ret0, _ := ret[0].(error) 1113 return ret0 1114 } 1115 1116 // Write indicates an expected call of Write. 1117 func (mr *MockAdminSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 1118 mr.mock.ctrl.T.Helper() 1119 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockAdminSession)(nil).Write), namespace, id, t, value, unit, annotation) 1120 } 1121 1122 // WriteClusterAvailability mocks base method. 1123 func (m *MockAdminSession) WriteClusterAvailability() (bool, error) { 1124 m.ctrl.T.Helper() 1125 ret := m.ctrl.Call(m, "WriteClusterAvailability") 1126 ret0, _ := ret[0].(bool) 1127 ret1, _ := ret[1].(error) 1128 return ret0, ret1 1129 } 1130 1131 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 1132 func (mr *MockAdminSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 1133 mr.mock.ctrl.T.Helper() 1134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockAdminSession)(nil).WriteClusterAvailability)) 1135 } 1136 1137 // WriteTagged mocks base method. 1138 func (m *MockAdminSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 1139 m.ctrl.T.Helper() 1140 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 1141 ret0, _ := ret[0].(error) 1142 return ret0 1143 } 1144 1145 // WriteTagged indicates an expected call of WriteTagged. 1146 func (mr *MockAdminSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 1147 mr.mock.ctrl.T.Helper() 1148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockAdminSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 1149 } 1150 1151 // MockOptions is a mock of Options interface. 1152 type MockOptions struct { 1153 ctrl *gomock.Controller 1154 recorder *MockOptionsMockRecorder 1155 } 1156 1157 // MockOptionsMockRecorder is the mock recorder for MockOptions. 1158 type MockOptionsMockRecorder struct { 1159 mock *MockOptions 1160 } 1161 1162 // NewMockOptions creates a new mock instance. 1163 func NewMockOptions(ctrl *gomock.Controller) *MockOptions { 1164 mock := &MockOptions{ctrl: ctrl} 1165 mock.recorder = &MockOptionsMockRecorder{mock} 1166 return mock 1167 } 1168 1169 // EXPECT returns an object that allows the caller to indicate expected use. 1170 func (m *MockOptions) EXPECT() *MockOptionsMockRecorder { 1171 return m.recorder 1172 } 1173 1174 // AsyncTopologyInitializers mocks base method. 1175 func (m *MockOptions) AsyncTopologyInitializers() []topology.Initializer { 1176 m.ctrl.T.Helper() 1177 ret := m.ctrl.Call(m, "AsyncTopologyInitializers") 1178 ret0, _ := ret[0].([]topology.Initializer) 1179 return ret0 1180 } 1181 1182 // AsyncTopologyInitializers indicates an expected call of AsyncTopologyInitializers. 1183 func (mr *MockOptionsMockRecorder) AsyncTopologyInitializers() *gomock.Call { 1184 mr.mock.ctrl.T.Helper() 1185 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncTopologyInitializers", reflect.TypeOf((*MockOptions)(nil).AsyncTopologyInitializers)) 1186 } 1187 1188 // AsyncWriteMaxConcurrency mocks base method. 1189 func (m *MockOptions) AsyncWriteMaxConcurrency() int { 1190 m.ctrl.T.Helper() 1191 ret := m.ctrl.Call(m, "AsyncWriteMaxConcurrency") 1192 ret0, _ := ret[0].(int) 1193 return ret0 1194 } 1195 1196 // AsyncWriteMaxConcurrency indicates an expected call of AsyncWriteMaxConcurrency. 1197 func (mr *MockOptionsMockRecorder) AsyncWriteMaxConcurrency() *gomock.Call { 1198 mr.mock.ctrl.T.Helper() 1199 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteMaxConcurrency", reflect.TypeOf((*MockOptions)(nil).AsyncWriteMaxConcurrency)) 1200 } 1201 1202 // AsyncWriteWorkerPool mocks base method. 1203 func (m *MockOptions) AsyncWriteWorkerPool() sync.PooledWorkerPool { 1204 m.ctrl.T.Helper() 1205 ret := m.ctrl.Call(m, "AsyncWriteWorkerPool") 1206 ret0, _ := ret[0].(sync.PooledWorkerPool) 1207 return ret0 1208 } 1209 1210 // AsyncWriteWorkerPool indicates an expected call of AsyncWriteWorkerPool. 1211 func (mr *MockOptionsMockRecorder) AsyncWriteWorkerPool() *gomock.Call { 1212 mr.mock.ctrl.T.Helper() 1213 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteWorkerPool", reflect.TypeOf((*MockOptions)(nil).AsyncWriteWorkerPool)) 1214 } 1215 1216 // BackgroundConnectInterval mocks base method. 1217 func (m *MockOptions) BackgroundConnectInterval() time.Duration { 1218 m.ctrl.T.Helper() 1219 ret := m.ctrl.Call(m, "BackgroundConnectInterval") 1220 ret0, _ := ret[0].(time.Duration) 1221 return ret0 1222 } 1223 1224 // BackgroundConnectInterval indicates an expected call of BackgroundConnectInterval. 1225 func (mr *MockOptionsMockRecorder) BackgroundConnectInterval() *gomock.Call { 1226 mr.mock.ctrl.T.Helper() 1227 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectInterval", reflect.TypeOf((*MockOptions)(nil).BackgroundConnectInterval)) 1228 } 1229 1230 // BackgroundConnectStutter mocks base method. 1231 func (m *MockOptions) BackgroundConnectStutter() time.Duration { 1232 m.ctrl.T.Helper() 1233 ret := m.ctrl.Call(m, "BackgroundConnectStutter") 1234 ret0, _ := ret[0].(time.Duration) 1235 return ret0 1236 } 1237 1238 // BackgroundConnectStutter indicates an expected call of BackgroundConnectStutter. 1239 func (mr *MockOptionsMockRecorder) BackgroundConnectStutter() *gomock.Call { 1240 mr.mock.ctrl.T.Helper() 1241 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectStutter", reflect.TypeOf((*MockOptions)(nil).BackgroundConnectStutter)) 1242 } 1243 1244 // BackgroundHealthCheckFailLimit mocks base method. 1245 func (m *MockOptions) BackgroundHealthCheckFailLimit() int { 1246 m.ctrl.T.Helper() 1247 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailLimit") 1248 ret0, _ := ret[0].(int) 1249 return ret0 1250 } 1251 1252 // BackgroundHealthCheckFailLimit indicates an expected call of BackgroundHealthCheckFailLimit. 1253 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckFailLimit() *gomock.Call { 1254 mr.mock.ctrl.T.Helper() 1255 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailLimit", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckFailLimit)) 1256 } 1257 1258 // BackgroundHealthCheckFailThrottleFactor mocks base method. 1259 func (m *MockOptions) BackgroundHealthCheckFailThrottleFactor() float64 { 1260 m.ctrl.T.Helper() 1261 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailThrottleFactor") 1262 ret0, _ := ret[0].(float64) 1263 return ret0 1264 } 1265 1266 // BackgroundHealthCheckFailThrottleFactor indicates an expected call of BackgroundHealthCheckFailThrottleFactor. 1267 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckFailThrottleFactor() *gomock.Call { 1268 mr.mock.ctrl.T.Helper() 1269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckFailThrottleFactor)) 1270 } 1271 1272 // BackgroundHealthCheckInterval mocks base method. 1273 func (m *MockOptions) BackgroundHealthCheckInterval() time.Duration { 1274 m.ctrl.T.Helper() 1275 ret := m.ctrl.Call(m, "BackgroundHealthCheckInterval") 1276 ret0, _ := ret[0].(time.Duration) 1277 return ret0 1278 } 1279 1280 // BackgroundHealthCheckInterval indicates an expected call of BackgroundHealthCheckInterval. 1281 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckInterval() *gomock.Call { 1282 mr.mock.ctrl.T.Helper() 1283 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckInterval", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckInterval)) 1284 } 1285 1286 // BackgroundHealthCheckStutter mocks base method. 1287 func (m *MockOptions) BackgroundHealthCheckStutter() time.Duration { 1288 m.ctrl.T.Helper() 1289 ret := m.ctrl.Call(m, "BackgroundHealthCheckStutter") 1290 ret0, _ := ret[0].(time.Duration) 1291 return ret0 1292 } 1293 1294 // BackgroundHealthCheckStutter indicates an expected call of BackgroundHealthCheckStutter. 1295 func (mr *MockOptionsMockRecorder) BackgroundHealthCheckStutter() *gomock.Call { 1296 mr.mock.ctrl.T.Helper() 1297 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckStutter", reflect.TypeOf((*MockOptions)(nil).BackgroundHealthCheckStutter)) 1298 } 1299 1300 // ChannelOptions mocks base method. 1301 func (m *MockOptions) ChannelOptions() *tchannel_go.ChannelOptions { 1302 m.ctrl.T.Helper() 1303 ret := m.ctrl.Call(m, "ChannelOptions") 1304 ret0, _ := ret[0].(*tchannel_go.ChannelOptions) 1305 return ret0 1306 } 1307 1308 // ChannelOptions indicates an expected call of ChannelOptions. 1309 func (mr *MockOptionsMockRecorder) ChannelOptions() *gomock.Call { 1310 mr.mock.ctrl.T.Helper() 1311 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChannelOptions", reflect.TypeOf((*MockOptions)(nil).ChannelOptions)) 1312 } 1313 1314 // CheckedBytesPool mocks base method. 1315 func (m *MockOptions) CheckedBytesPool() pool.CheckedBytesPool { 1316 m.ctrl.T.Helper() 1317 ret := m.ctrl.Call(m, "CheckedBytesPool") 1318 ret0, _ := ret[0].(pool.CheckedBytesPool) 1319 return ret0 1320 } 1321 1322 // CheckedBytesPool indicates an expected call of CheckedBytesPool. 1323 func (mr *MockOptionsMockRecorder) CheckedBytesPool() *gomock.Call { 1324 mr.mock.ctrl.T.Helper() 1325 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesPool", reflect.TypeOf((*MockOptions)(nil).CheckedBytesPool)) 1326 } 1327 1328 // CheckedBytesWrapperPoolSize mocks base method. 1329 func (m *MockOptions) CheckedBytesWrapperPoolSize() pool.Size { 1330 m.ctrl.T.Helper() 1331 ret := m.ctrl.Call(m, "CheckedBytesWrapperPoolSize") 1332 ret0, _ := ret[0].(pool.Size) 1333 return ret0 1334 } 1335 1336 // CheckedBytesWrapperPoolSize indicates an expected call of CheckedBytesWrapperPoolSize. 1337 func (mr *MockOptionsMockRecorder) CheckedBytesWrapperPoolSize() *gomock.Call { 1338 mr.mock.ctrl.T.Helper() 1339 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapperPoolSize", reflect.TypeOf((*MockOptions)(nil).CheckedBytesWrapperPoolSize)) 1340 } 1341 1342 // ClockOptions mocks base method. 1343 func (m *MockOptions) ClockOptions() clock.Options { 1344 m.ctrl.T.Helper() 1345 ret := m.ctrl.Call(m, "ClockOptions") 1346 ret0, _ := ret[0].(clock.Options) 1347 return ret0 1348 } 1349 1350 // ClockOptions indicates an expected call of ClockOptions. 1351 func (mr *MockOptionsMockRecorder) ClockOptions() *gomock.Call { 1352 mr.mock.ctrl.T.Helper() 1353 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClockOptions", reflect.TypeOf((*MockOptions)(nil).ClockOptions)) 1354 } 1355 1356 // ClusterConnectConsistencyLevel mocks base method. 1357 func (m *MockOptions) ClusterConnectConsistencyLevel() topology.ConnectConsistencyLevel { 1358 m.ctrl.T.Helper() 1359 ret := m.ctrl.Call(m, "ClusterConnectConsistencyLevel") 1360 ret0, _ := ret[0].(topology.ConnectConsistencyLevel) 1361 return ret0 1362 } 1363 1364 // ClusterConnectConsistencyLevel indicates an expected call of ClusterConnectConsistencyLevel. 1365 func (mr *MockOptionsMockRecorder) ClusterConnectConsistencyLevel() *gomock.Call { 1366 mr.mock.ctrl.T.Helper() 1367 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).ClusterConnectConsistencyLevel)) 1368 } 1369 1370 // ClusterConnectTimeout mocks base method. 1371 func (m *MockOptions) ClusterConnectTimeout() time.Duration { 1372 m.ctrl.T.Helper() 1373 ret := m.ctrl.Call(m, "ClusterConnectTimeout") 1374 ret0, _ := ret[0].(time.Duration) 1375 return ret0 1376 } 1377 1378 // ClusterConnectTimeout indicates an expected call of ClusterConnectTimeout. 1379 func (mr *MockOptionsMockRecorder) ClusterConnectTimeout() *gomock.Call { 1380 mr.mock.ctrl.T.Helper() 1381 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectTimeout", reflect.TypeOf((*MockOptions)(nil).ClusterConnectTimeout)) 1382 } 1383 1384 // ContextPool mocks base method. 1385 func (m *MockOptions) ContextPool() context0.Pool { 1386 m.ctrl.T.Helper() 1387 ret := m.ctrl.Call(m, "ContextPool") 1388 ret0, _ := ret[0].(context0.Pool) 1389 return ret0 1390 } 1391 1392 // ContextPool indicates an expected call of ContextPool. 1393 func (mr *MockOptionsMockRecorder) ContextPool() *gomock.Call { 1394 mr.mock.ctrl.T.Helper() 1395 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContextPool", reflect.TypeOf((*MockOptions)(nil).ContextPool)) 1396 } 1397 1398 // FetchBatchOpPoolSize mocks base method. 1399 func (m *MockOptions) FetchBatchOpPoolSize() pool.Size { 1400 m.ctrl.T.Helper() 1401 ret := m.ctrl.Call(m, "FetchBatchOpPoolSize") 1402 ret0, _ := ret[0].(pool.Size) 1403 return ret0 1404 } 1405 1406 // FetchBatchOpPoolSize indicates an expected call of FetchBatchOpPoolSize. 1407 func (mr *MockOptionsMockRecorder) FetchBatchOpPoolSize() *gomock.Call { 1408 mr.mock.ctrl.T.Helper() 1409 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchOpPoolSize", reflect.TypeOf((*MockOptions)(nil).FetchBatchOpPoolSize)) 1410 } 1411 1412 // FetchBatchSize mocks base method. 1413 func (m *MockOptions) FetchBatchSize() int { 1414 m.ctrl.T.Helper() 1415 ret := m.ctrl.Call(m, "FetchBatchSize") 1416 ret0, _ := ret[0].(int) 1417 return ret0 1418 } 1419 1420 // FetchBatchSize indicates an expected call of FetchBatchSize. 1421 func (mr *MockOptionsMockRecorder) FetchBatchSize() *gomock.Call { 1422 mr.mock.ctrl.T.Helper() 1423 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchSize", reflect.TypeOf((*MockOptions)(nil).FetchBatchSize)) 1424 } 1425 1426 // FetchRequestTimeout mocks base method. 1427 func (m *MockOptions) FetchRequestTimeout() time.Duration { 1428 m.ctrl.T.Helper() 1429 ret := m.ctrl.Call(m, "FetchRequestTimeout") 1430 ret0, _ := ret[0].(time.Duration) 1431 return ret0 1432 } 1433 1434 // FetchRequestTimeout indicates an expected call of FetchRequestTimeout. 1435 func (mr *MockOptionsMockRecorder) FetchRequestTimeout() *gomock.Call { 1436 mr.mock.ctrl.T.Helper() 1437 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRequestTimeout", reflect.TypeOf((*MockOptions)(nil).FetchRequestTimeout)) 1438 } 1439 1440 // FetchRetrier mocks base method. 1441 func (m *MockOptions) FetchRetrier() retry.Retrier { 1442 m.ctrl.T.Helper() 1443 ret := m.ctrl.Call(m, "FetchRetrier") 1444 ret0, _ := ret[0].(retry.Retrier) 1445 return ret0 1446 } 1447 1448 // FetchRetrier indicates an expected call of FetchRetrier. 1449 func (mr *MockOptionsMockRecorder) FetchRetrier() *gomock.Call { 1450 mr.mock.ctrl.T.Helper() 1451 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRetrier", reflect.TypeOf((*MockOptions)(nil).FetchRetrier)) 1452 } 1453 1454 // HostConnectTimeout mocks base method. 1455 func (m *MockOptions) HostConnectTimeout() time.Duration { 1456 m.ctrl.T.Helper() 1457 ret := m.ctrl.Call(m, "HostConnectTimeout") 1458 ret0, _ := ret[0].(time.Duration) 1459 return ret0 1460 } 1461 1462 // HostConnectTimeout indicates an expected call of HostConnectTimeout. 1463 func (mr *MockOptionsMockRecorder) HostConnectTimeout() *gomock.Call { 1464 mr.mock.ctrl.T.Helper() 1465 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostConnectTimeout", reflect.TypeOf((*MockOptions)(nil).HostConnectTimeout)) 1466 } 1467 1468 // HostQueueEmitsHealthStatus mocks base method. 1469 func (m *MockOptions) HostQueueEmitsHealthStatus() bool { 1470 m.ctrl.T.Helper() 1471 ret := m.ctrl.Call(m, "HostQueueEmitsHealthStatus") 1472 ret0, _ := ret[0].(bool) 1473 return ret0 1474 } 1475 1476 // HostQueueEmitsHealthStatus indicates an expected call of HostQueueEmitsHealthStatus. 1477 func (mr *MockOptionsMockRecorder) HostQueueEmitsHealthStatus() *gomock.Call { 1478 mr.mock.ctrl.T.Helper() 1479 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueEmitsHealthStatus", reflect.TypeOf((*MockOptions)(nil).HostQueueEmitsHealthStatus)) 1480 } 1481 1482 // HostQueueNewPooledWorkerFn mocks base method. 1483 func (m *MockOptions) HostQueueNewPooledWorkerFn() sync.NewPooledWorkerFn { 1484 m.ctrl.T.Helper() 1485 ret := m.ctrl.Call(m, "HostQueueNewPooledWorkerFn") 1486 ret0, _ := ret[0].(sync.NewPooledWorkerFn) 1487 return ret0 1488 } 1489 1490 // HostQueueNewPooledWorkerFn indicates an expected call of HostQueueNewPooledWorkerFn. 1491 func (mr *MockOptionsMockRecorder) HostQueueNewPooledWorkerFn() *gomock.Call { 1492 mr.mock.ctrl.T.Helper() 1493 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueNewPooledWorkerFn", reflect.TypeOf((*MockOptions)(nil).HostQueueNewPooledWorkerFn)) 1494 } 1495 1496 // HostQueueOpsArrayPoolSize mocks base method. 1497 func (m *MockOptions) HostQueueOpsArrayPoolSize() pool.Size { 1498 m.ctrl.T.Helper() 1499 ret := m.ctrl.Call(m, "HostQueueOpsArrayPoolSize") 1500 ret0, _ := ret[0].(pool.Size) 1501 return ret0 1502 } 1503 1504 // HostQueueOpsArrayPoolSize indicates an expected call of HostQueueOpsArrayPoolSize. 1505 func (mr *MockOptionsMockRecorder) HostQueueOpsArrayPoolSize() *gomock.Call { 1506 mr.mock.ctrl.T.Helper() 1507 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsArrayPoolSize", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsArrayPoolSize)) 1508 } 1509 1510 // HostQueueOpsFlushInterval mocks base method. 1511 func (m *MockOptions) HostQueueOpsFlushInterval() time.Duration { 1512 m.ctrl.T.Helper() 1513 ret := m.ctrl.Call(m, "HostQueueOpsFlushInterval") 1514 ret0, _ := ret[0].(time.Duration) 1515 return ret0 1516 } 1517 1518 // HostQueueOpsFlushInterval indicates an expected call of HostQueueOpsFlushInterval. 1519 func (mr *MockOptionsMockRecorder) HostQueueOpsFlushInterval() *gomock.Call { 1520 mr.mock.ctrl.T.Helper() 1521 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushInterval", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsFlushInterval)) 1522 } 1523 1524 // HostQueueOpsFlushSize mocks base method. 1525 func (m *MockOptions) HostQueueOpsFlushSize() int { 1526 m.ctrl.T.Helper() 1527 ret := m.ctrl.Call(m, "HostQueueOpsFlushSize") 1528 ret0, _ := ret[0].(int) 1529 return ret0 1530 } 1531 1532 // HostQueueOpsFlushSize indicates an expected call of HostQueueOpsFlushSize. 1533 func (mr *MockOptionsMockRecorder) HostQueueOpsFlushSize() *gomock.Call { 1534 mr.mock.ctrl.T.Helper() 1535 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushSize", reflect.TypeOf((*MockOptions)(nil).HostQueueOpsFlushSize)) 1536 } 1537 1538 // IdentifierPool mocks base method. 1539 func (m *MockOptions) IdentifierPool() ident.Pool { 1540 m.ctrl.T.Helper() 1541 ret := m.ctrl.Call(m, "IdentifierPool") 1542 ret0, _ := ret[0].(ident.Pool) 1543 return ret0 1544 } 1545 1546 // IdentifierPool indicates an expected call of IdentifierPool. 1547 func (mr *MockOptionsMockRecorder) IdentifierPool() *gomock.Call { 1548 mr.mock.ctrl.T.Helper() 1549 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentifierPool", reflect.TypeOf((*MockOptions)(nil).IdentifierPool)) 1550 } 1551 1552 // InstrumentOptions mocks base method. 1553 func (m *MockOptions) InstrumentOptions() instrument.Options { 1554 m.ctrl.T.Helper() 1555 ret := m.ctrl.Call(m, "InstrumentOptions") 1556 ret0, _ := ret[0].(instrument.Options) 1557 return ret0 1558 } 1559 1560 // InstrumentOptions indicates an expected call of InstrumentOptions. 1561 func (mr *MockOptionsMockRecorder) InstrumentOptions() *gomock.Call { 1562 mr.mock.ctrl.T.Helper() 1563 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstrumentOptions", reflect.TypeOf((*MockOptions)(nil).InstrumentOptions)) 1564 } 1565 1566 // IsSetEncodingProto mocks base method. 1567 func (m *MockOptions) IsSetEncodingProto() bool { 1568 m.ctrl.T.Helper() 1569 ret := m.ctrl.Call(m, "IsSetEncodingProto") 1570 ret0, _ := ret[0].(bool) 1571 return ret0 1572 } 1573 1574 // IsSetEncodingProto indicates an expected call of IsSetEncodingProto. 1575 func (mr *MockOptionsMockRecorder) IsSetEncodingProto() *gomock.Call { 1576 mr.mock.ctrl.T.Helper() 1577 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSetEncodingProto", reflect.TypeOf((*MockOptions)(nil).IsSetEncodingProto)) 1578 } 1579 1580 // IterationOptions mocks base method. 1581 func (m *MockOptions) IterationOptions() index.IterationOptions { 1582 m.ctrl.T.Helper() 1583 ret := m.ctrl.Call(m, "IterationOptions") 1584 ret0, _ := ret[0].(index.IterationOptions) 1585 return ret0 1586 } 1587 1588 // IterationOptions indicates an expected call of IterationOptions. 1589 func (mr *MockOptionsMockRecorder) IterationOptions() *gomock.Call { 1590 mr.mock.ctrl.T.Helper() 1591 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterationOptions", reflect.TypeOf((*MockOptions)(nil).IterationOptions)) 1592 } 1593 1594 // LogErrorSampleRate mocks base method. 1595 func (m *MockOptions) LogErrorSampleRate() sampler.Rate { 1596 m.ctrl.T.Helper() 1597 ret := m.ctrl.Call(m, "LogErrorSampleRate") 1598 ret0, _ := ret[0].(sampler.Rate) 1599 return ret0 1600 } 1601 1602 // LogErrorSampleRate indicates an expected call of LogErrorSampleRate. 1603 func (mr *MockOptionsMockRecorder) LogErrorSampleRate() *gomock.Call { 1604 mr.mock.ctrl.T.Helper() 1605 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).LogErrorSampleRate)) 1606 } 1607 1608 // MaxConnectionCount mocks base method. 1609 func (m *MockOptions) MaxConnectionCount() int { 1610 m.ctrl.T.Helper() 1611 ret := m.ctrl.Call(m, "MaxConnectionCount") 1612 ret0, _ := ret[0].(int) 1613 return ret0 1614 } 1615 1616 // MaxConnectionCount indicates an expected call of MaxConnectionCount. 1617 func (mr *MockOptionsMockRecorder) MaxConnectionCount() *gomock.Call { 1618 mr.mock.ctrl.T.Helper() 1619 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxConnectionCount", reflect.TypeOf((*MockOptions)(nil).MaxConnectionCount)) 1620 } 1621 1622 // MinConnectionCount mocks base method. 1623 func (m *MockOptions) MinConnectionCount() int { 1624 m.ctrl.T.Helper() 1625 ret := m.ctrl.Call(m, "MinConnectionCount") 1626 ret0, _ := ret[0].(int) 1627 return ret0 1628 } 1629 1630 // MinConnectionCount indicates an expected call of MinConnectionCount. 1631 func (mr *MockOptionsMockRecorder) MinConnectionCount() *gomock.Call { 1632 mr.mock.ctrl.T.Helper() 1633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinConnectionCount", reflect.TypeOf((*MockOptions)(nil).MinConnectionCount)) 1634 } 1635 1636 // NamespaceInitializer mocks base method. 1637 func (m *MockOptions) NamespaceInitializer() namespace.Initializer { 1638 m.ctrl.T.Helper() 1639 ret := m.ctrl.Call(m, "NamespaceInitializer") 1640 ret0, _ := ret[0].(namespace.Initializer) 1641 return ret0 1642 } 1643 1644 // NamespaceInitializer indicates an expected call of NamespaceInitializer. 1645 func (mr *MockOptionsMockRecorder) NamespaceInitializer() *gomock.Call { 1646 mr.mock.ctrl.T.Helper() 1647 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NamespaceInitializer", reflect.TypeOf((*MockOptions)(nil).NamespaceInitializer)) 1648 } 1649 1650 // NewConnectionFn mocks base method. 1651 func (m *MockOptions) NewConnectionFn() NewConnectionFn { 1652 m.ctrl.T.Helper() 1653 ret := m.ctrl.Call(m, "NewConnectionFn") 1654 ret0, _ := ret[0].(NewConnectionFn) 1655 return ret0 1656 } 1657 1658 // NewConnectionFn indicates an expected call of NewConnectionFn. 1659 func (mr *MockOptionsMockRecorder) NewConnectionFn() *gomock.Call { 1660 mr.mock.ctrl.T.Helper() 1661 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewConnectionFn", reflect.TypeOf((*MockOptions)(nil).NewConnectionFn)) 1662 } 1663 1664 // ReadConsistencyLevel mocks base method. 1665 func (m *MockOptions) ReadConsistencyLevel() topology.ReadConsistencyLevel { 1666 m.ctrl.T.Helper() 1667 ret := m.ctrl.Call(m, "ReadConsistencyLevel") 1668 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 1669 return ret0 1670 } 1671 1672 // ReadConsistencyLevel indicates an expected call of ReadConsistencyLevel. 1673 func (mr *MockOptionsMockRecorder) ReadConsistencyLevel() *gomock.Call { 1674 mr.mock.ctrl.T.Helper() 1675 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).ReadConsistencyLevel)) 1676 } 1677 1678 // ReaderIteratorAllocate mocks base method. 1679 func (m *MockOptions) ReaderIteratorAllocate() encoding.ReaderIteratorAllocate { 1680 m.ctrl.T.Helper() 1681 ret := m.ctrl.Call(m, "ReaderIteratorAllocate") 1682 ret0, _ := ret[0].(encoding.ReaderIteratorAllocate) 1683 return ret0 1684 } 1685 1686 // ReaderIteratorAllocate indicates an expected call of ReaderIteratorAllocate. 1687 func (mr *MockOptionsMockRecorder) ReaderIteratorAllocate() *gomock.Call { 1688 mr.mock.ctrl.T.Helper() 1689 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReaderIteratorAllocate", reflect.TypeOf((*MockOptions)(nil).ReaderIteratorAllocate)) 1690 } 1691 1692 // RuntimeOptionsManager mocks base method. 1693 func (m *MockOptions) RuntimeOptionsManager() runtime.OptionsManager { 1694 m.ctrl.T.Helper() 1695 ret := m.ctrl.Call(m, "RuntimeOptionsManager") 1696 ret0, _ := ret[0].(runtime.OptionsManager) 1697 return ret0 1698 } 1699 1700 // RuntimeOptionsManager indicates an expected call of RuntimeOptionsManager. 1701 func (mr *MockOptionsMockRecorder) RuntimeOptionsManager() *gomock.Call { 1702 mr.mock.ctrl.T.Helper() 1703 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RuntimeOptionsManager", reflect.TypeOf((*MockOptions)(nil).RuntimeOptionsManager)) 1704 } 1705 1706 // SchemaRegistry mocks base method. 1707 func (m *MockOptions) SchemaRegistry() namespace.SchemaRegistry { 1708 m.ctrl.T.Helper() 1709 ret := m.ctrl.Call(m, "SchemaRegistry") 1710 ret0, _ := ret[0].(namespace.SchemaRegistry) 1711 return ret0 1712 } 1713 1714 // SchemaRegistry indicates an expected call of SchemaRegistry. 1715 func (mr *MockOptionsMockRecorder) SchemaRegistry() *gomock.Call { 1716 mr.mock.ctrl.T.Helper() 1717 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SchemaRegistry", reflect.TypeOf((*MockOptions)(nil).SchemaRegistry)) 1718 } 1719 1720 // SeriesIteratorPoolSize mocks base method. 1721 func (m *MockOptions) SeriesIteratorPoolSize() pool.Size { 1722 m.ctrl.T.Helper() 1723 ret := m.ctrl.Call(m, "SeriesIteratorPoolSize") 1724 ret0, _ := ret[0].(pool.Size) 1725 return ret0 1726 } 1727 1728 // SeriesIteratorPoolSize indicates an expected call of SeriesIteratorPoolSize. 1729 func (mr *MockOptionsMockRecorder) SeriesIteratorPoolSize() *gomock.Call { 1730 mr.mock.ctrl.T.Helper() 1731 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeriesIteratorPoolSize", reflect.TypeOf((*MockOptions)(nil).SeriesIteratorPoolSize)) 1732 } 1733 1734 // SetAsyncTopologyInitializers mocks base method. 1735 func (m *MockOptions) SetAsyncTopologyInitializers(value []topology.Initializer) Options { 1736 m.ctrl.T.Helper() 1737 ret := m.ctrl.Call(m, "SetAsyncTopologyInitializers", value) 1738 ret0, _ := ret[0].(Options) 1739 return ret0 1740 } 1741 1742 // SetAsyncTopologyInitializers indicates an expected call of SetAsyncTopologyInitializers. 1743 func (mr *MockOptionsMockRecorder) SetAsyncTopologyInitializers(value interface{}) *gomock.Call { 1744 mr.mock.ctrl.T.Helper() 1745 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncTopologyInitializers", reflect.TypeOf((*MockOptions)(nil).SetAsyncTopologyInitializers), value) 1746 } 1747 1748 // SetAsyncWriteMaxConcurrency mocks base method. 1749 func (m *MockOptions) SetAsyncWriteMaxConcurrency(value int) Options { 1750 m.ctrl.T.Helper() 1751 ret := m.ctrl.Call(m, "SetAsyncWriteMaxConcurrency", value) 1752 ret0, _ := ret[0].(Options) 1753 return ret0 1754 } 1755 1756 // SetAsyncWriteMaxConcurrency indicates an expected call of SetAsyncWriteMaxConcurrency. 1757 func (mr *MockOptionsMockRecorder) SetAsyncWriteMaxConcurrency(value interface{}) *gomock.Call { 1758 mr.mock.ctrl.T.Helper() 1759 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteMaxConcurrency", reflect.TypeOf((*MockOptions)(nil).SetAsyncWriteMaxConcurrency), value) 1760 } 1761 1762 // SetAsyncWriteWorkerPool mocks base method. 1763 func (m *MockOptions) SetAsyncWriteWorkerPool(value sync.PooledWorkerPool) Options { 1764 m.ctrl.T.Helper() 1765 ret := m.ctrl.Call(m, "SetAsyncWriteWorkerPool", value) 1766 ret0, _ := ret[0].(Options) 1767 return ret0 1768 } 1769 1770 // SetAsyncWriteWorkerPool indicates an expected call of SetAsyncWriteWorkerPool. 1771 func (mr *MockOptionsMockRecorder) SetAsyncWriteWorkerPool(value interface{}) *gomock.Call { 1772 mr.mock.ctrl.T.Helper() 1773 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteWorkerPool", reflect.TypeOf((*MockOptions)(nil).SetAsyncWriteWorkerPool), value) 1774 } 1775 1776 // SetBackgroundConnectInterval mocks base method. 1777 func (m *MockOptions) SetBackgroundConnectInterval(value time.Duration) Options { 1778 m.ctrl.T.Helper() 1779 ret := m.ctrl.Call(m, "SetBackgroundConnectInterval", value) 1780 ret0, _ := ret[0].(Options) 1781 return ret0 1782 } 1783 1784 // SetBackgroundConnectInterval indicates an expected call of SetBackgroundConnectInterval. 1785 func (mr *MockOptionsMockRecorder) SetBackgroundConnectInterval(value interface{}) *gomock.Call { 1786 mr.mock.ctrl.T.Helper() 1787 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectInterval", reflect.TypeOf((*MockOptions)(nil).SetBackgroundConnectInterval), value) 1788 } 1789 1790 // SetBackgroundConnectStutter mocks base method. 1791 func (m *MockOptions) SetBackgroundConnectStutter(value time.Duration) Options { 1792 m.ctrl.T.Helper() 1793 ret := m.ctrl.Call(m, "SetBackgroundConnectStutter", value) 1794 ret0, _ := ret[0].(Options) 1795 return ret0 1796 } 1797 1798 // SetBackgroundConnectStutter indicates an expected call of SetBackgroundConnectStutter. 1799 func (mr *MockOptionsMockRecorder) SetBackgroundConnectStutter(value interface{}) *gomock.Call { 1800 mr.mock.ctrl.T.Helper() 1801 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectStutter", reflect.TypeOf((*MockOptions)(nil).SetBackgroundConnectStutter), value) 1802 } 1803 1804 // SetBackgroundHealthCheckFailLimit mocks base method. 1805 func (m *MockOptions) SetBackgroundHealthCheckFailLimit(value int) Options { 1806 m.ctrl.T.Helper() 1807 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailLimit", value) 1808 ret0, _ := ret[0].(Options) 1809 return ret0 1810 } 1811 1812 // SetBackgroundHealthCheckFailLimit indicates an expected call of SetBackgroundHealthCheckFailLimit. 1813 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckFailLimit(value interface{}) *gomock.Call { 1814 mr.mock.ctrl.T.Helper() 1815 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailLimit", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckFailLimit), value) 1816 } 1817 1818 // SetBackgroundHealthCheckFailThrottleFactor mocks base method. 1819 func (m *MockOptions) SetBackgroundHealthCheckFailThrottleFactor(value float64) Options { 1820 m.ctrl.T.Helper() 1821 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailThrottleFactor", value) 1822 ret0, _ := ret[0].(Options) 1823 return ret0 1824 } 1825 1826 // SetBackgroundHealthCheckFailThrottleFactor indicates an expected call of SetBackgroundHealthCheckFailThrottleFactor. 1827 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckFailThrottleFactor(value interface{}) *gomock.Call { 1828 mr.mock.ctrl.T.Helper() 1829 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckFailThrottleFactor), value) 1830 } 1831 1832 // SetBackgroundHealthCheckInterval mocks base method. 1833 func (m *MockOptions) SetBackgroundHealthCheckInterval(value time.Duration) Options { 1834 m.ctrl.T.Helper() 1835 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckInterval", value) 1836 ret0, _ := ret[0].(Options) 1837 return ret0 1838 } 1839 1840 // SetBackgroundHealthCheckInterval indicates an expected call of SetBackgroundHealthCheckInterval. 1841 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckInterval(value interface{}) *gomock.Call { 1842 mr.mock.ctrl.T.Helper() 1843 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckInterval", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckInterval), value) 1844 } 1845 1846 // SetBackgroundHealthCheckStutter mocks base method. 1847 func (m *MockOptions) SetBackgroundHealthCheckStutter(value time.Duration) Options { 1848 m.ctrl.T.Helper() 1849 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckStutter", value) 1850 ret0, _ := ret[0].(Options) 1851 return ret0 1852 } 1853 1854 // SetBackgroundHealthCheckStutter indicates an expected call of SetBackgroundHealthCheckStutter. 1855 func (mr *MockOptionsMockRecorder) SetBackgroundHealthCheckStutter(value interface{}) *gomock.Call { 1856 mr.mock.ctrl.T.Helper() 1857 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckStutter", reflect.TypeOf((*MockOptions)(nil).SetBackgroundHealthCheckStutter), value) 1858 } 1859 1860 // SetChannelOptions mocks base method. 1861 func (m *MockOptions) SetChannelOptions(value *tchannel_go.ChannelOptions) Options { 1862 m.ctrl.T.Helper() 1863 ret := m.ctrl.Call(m, "SetChannelOptions", value) 1864 ret0, _ := ret[0].(Options) 1865 return ret0 1866 } 1867 1868 // SetChannelOptions indicates an expected call of SetChannelOptions. 1869 func (mr *MockOptionsMockRecorder) SetChannelOptions(value interface{}) *gomock.Call { 1870 mr.mock.ctrl.T.Helper() 1871 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetChannelOptions", reflect.TypeOf((*MockOptions)(nil).SetChannelOptions), value) 1872 } 1873 1874 // SetCheckedBytesPool mocks base method. 1875 func (m *MockOptions) SetCheckedBytesPool(value pool.CheckedBytesPool) Options { 1876 m.ctrl.T.Helper() 1877 ret := m.ctrl.Call(m, "SetCheckedBytesPool", value) 1878 ret0, _ := ret[0].(Options) 1879 return ret0 1880 } 1881 1882 // SetCheckedBytesPool indicates an expected call of SetCheckedBytesPool. 1883 func (mr *MockOptionsMockRecorder) SetCheckedBytesPool(value interface{}) *gomock.Call { 1884 mr.mock.ctrl.T.Helper() 1885 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesPool", reflect.TypeOf((*MockOptions)(nil).SetCheckedBytesPool), value) 1886 } 1887 1888 // SetCheckedBytesWrapperPoolSize mocks base method. 1889 func (m *MockOptions) SetCheckedBytesWrapperPoolSize(value pool.Size) Options { 1890 m.ctrl.T.Helper() 1891 ret := m.ctrl.Call(m, "SetCheckedBytesWrapperPoolSize", value) 1892 ret0, _ := ret[0].(Options) 1893 return ret0 1894 } 1895 1896 // SetCheckedBytesWrapperPoolSize indicates an expected call of SetCheckedBytesWrapperPoolSize. 1897 func (mr *MockOptionsMockRecorder) SetCheckedBytesWrapperPoolSize(value interface{}) *gomock.Call { 1898 mr.mock.ctrl.T.Helper() 1899 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesWrapperPoolSize", reflect.TypeOf((*MockOptions)(nil).SetCheckedBytesWrapperPoolSize), value) 1900 } 1901 1902 // SetClockOptions mocks base method. 1903 func (m *MockOptions) SetClockOptions(value clock.Options) Options { 1904 m.ctrl.T.Helper() 1905 ret := m.ctrl.Call(m, "SetClockOptions", value) 1906 ret0, _ := ret[0].(Options) 1907 return ret0 1908 } 1909 1910 // SetClockOptions indicates an expected call of SetClockOptions. 1911 func (mr *MockOptionsMockRecorder) SetClockOptions(value interface{}) *gomock.Call { 1912 mr.mock.ctrl.T.Helper() 1913 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClockOptions", reflect.TypeOf((*MockOptions)(nil).SetClockOptions), value) 1914 } 1915 1916 // SetClusterConnectConsistencyLevel mocks base method. 1917 func (m *MockOptions) SetClusterConnectConsistencyLevel(value topology.ConnectConsistencyLevel) Options { 1918 m.ctrl.T.Helper() 1919 ret := m.ctrl.Call(m, "SetClusterConnectConsistencyLevel", value) 1920 ret0, _ := ret[0].(Options) 1921 return ret0 1922 } 1923 1924 // SetClusterConnectConsistencyLevel indicates an expected call of SetClusterConnectConsistencyLevel. 1925 func (mr *MockOptionsMockRecorder) SetClusterConnectConsistencyLevel(value interface{}) *gomock.Call { 1926 mr.mock.ctrl.T.Helper() 1927 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetClusterConnectConsistencyLevel), value) 1928 } 1929 1930 // SetClusterConnectTimeout mocks base method. 1931 func (m *MockOptions) SetClusterConnectTimeout(value time.Duration) Options { 1932 m.ctrl.T.Helper() 1933 ret := m.ctrl.Call(m, "SetClusterConnectTimeout", value) 1934 ret0, _ := ret[0].(Options) 1935 return ret0 1936 } 1937 1938 // SetClusterConnectTimeout indicates an expected call of SetClusterConnectTimeout. 1939 func (mr *MockOptionsMockRecorder) SetClusterConnectTimeout(value interface{}) *gomock.Call { 1940 mr.mock.ctrl.T.Helper() 1941 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectTimeout", reflect.TypeOf((*MockOptions)(nil).SetClusterConnectTimeout), value) 1942 } 1943 1944 // SetContextPool mocks base method. 1945 func (m *MockOptions) SetContextPool(value context0.Pool) Options { 1946 m.ctrl.T.Helper() 1947 ret := m.ctrl.Call(m, "SetContextPool", value) 1948 ret0, _ := ret[0].(Options) 1949 return ret0 1950 } 1951 1952 // SetContextPool indicates an expected call of SetContextPool. 1953 func (mr *MockOptionsMockRecorder) SetContextPool(value interface{}) *gomock.Call { 1954 mr.mock.ctrl.T.Helper() 1955 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetContextPool", reflect.TypeOf((*MockOptions)(nil).SetContextPool), value) 1956 } 1957 1958 // SetEncodingM3TSZ mocks base method. 1959 func (m *MockOptions) SetEncodingM3TSZ() Options { 1960 m.ctrl.T.Helper() 1961 ret := m.ctrl.Call(m, "SetEncodingM3TSZ") 1962 ret0, _ := ret[0].(Options) 1963 return ret0 1964 } 1965 1966 // SetEncodingM3TSZ indicates an expected call of SetEncodingM3TSZ. 1967 func (mr *MockOptionsMockRecorder) SetEncodingM3TSZ() *gomock.Call { 1968 mr.mock.ctrl.T.Helper() 1969 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingM3TSZ", reflect.TypeOf((*MockOptions)(nil).SetEncodingM3TSZ)) 1970 } 1971 1972 // SetEncodingProto mocks base method. 1973 func (m *MockOptions) SetEncodingProto(encodingOpts encoding.Options) Options { 1974 m.ctrl.T.Helper() 1975 ret := m.ctrl.Call(m, "SetEncodingProto", encodingOpts) 1976 ret0, _ := ret[0].(Options) 1977 return ret0 1978 } 1979 1980 // SetEncodingProto indicates an expected call of SetEncodingProto. 1981 func (mr *MockOptionsMockRecorder) SetEncodingProto(encodingOpts interface{}) *gomock.Call { 1982 mr.mock.ctrl.T.Helper() 1983 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingProto", reflect.TypeOf((*MockOptions)(nil).SetEncodingProto), encodingOpts) 1984 } 1985 1986 // SetFetchBatchOpPoolSize mocks base method. 1987 func (m *MockOptions) SetFetchBatchOpPoolSize(value pool.Size) Options { 1988 m.ctrl.T.Helper() 1989 ret := m.ctrl.Call(m, "SetFetchBatchOpPoolSize", value) 1990 ret0, _ := ret[0].(Options) 1991 return ret0 1992 } 1993 1994 // SetFetchBatchOpPoolSize indicates an expected call of SetFetchBatchOpPoolSize. 1995 func (mr *MockOptionsMockRecorder) SetFetchBatchOpPoolSize(value interface{}) *gomock.Call { 1996 mr.mock.ctrl.T.Helper() 1997 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetFetchBatchOpPoolSize), value) 1998 } 1999 2000 // SetFetchBatchSize mocks base method. 2001 func (m *MockOptions) SetFetchBatchSize(value int) Options { 2002 m.ctrl.T.Helper() 2003 ret := m.ctrl.Call(m, "SetFetchBatchSize", value) 2004 ret0, _ := ret[0].(Options) 2005 return ret0 2006 } 2007 2008 // SetFetchBatchSize indicates an expected call of SetFetchBatchSize. 2009 func (mr *MockOptionsMockRecorder) SetFetchBatchSize(value interface{}) *gomock.Call { 2010 mr.mock.ctrl.T.Helper() 2011 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchSize", reflect.TypeOf((*MockOptions)(nil).SetFetchBatchSize), value) 2012 } 2013 2014 // SetFetchRequestTimeout mocks base method. 2015 func (m *MockOptions) SetFetchRequestTimeout(value time.Duration) Options { 2016 m.ctrl.T.Helper() 2017 ret := m.ctrl.Call(m, "SetFetchRequestTimeout", value) 2018 ret0, _ := ret[0].(Options) 2019 return ret0 2020 } 2021 2022 // SetFetchRequestTimeout indicates an expected call of SetFetchRequestTimeout. 2023 func (mr *MockOptionsMockRecorder) SetFetchRequestTimeout(value interface{}) *gomock.Call { 2024 mr.mock.ctrl.T.Helper() 2025 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetFetchRequestTimeout), value) 2026 } 2027 2028 // SetFetchRetrier mocks base method. 2029 func (m *MockOptions) SetFetchRetrier(value retry.Retrier) Options { 2030 m.ctrl.T.Helper() 2031 ret := m.ctrl.Call(m, "SetFetchRetrier", value) 2032 ret0, _ := ret[0].(Options) 2033 return ret0 2034 } 2035 2036 // SetFetchRetrier indicates an expected call of SetFetchRetrier. 2037 func (mr *MockOptionsMockRecorder) SetFetchRetrier(value interface{}) *gomock.Call { 2038 mr.mock.ctrl.T.Helper() 2039 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRetrier", reflect.TypeOf((*MockOptions)(nil).SetFetchRetrier), value) 2040 } 2041 2042 // SetHostConnectTimeout mocks base method. 2043 func (m *MockOptions) SetHostConnectTimeout(value time.Duration) Options { 2044 m.ctrl.T.Helper() 2045 ret := m.ctrl.Call(m, "SetHostConnectTimeout", value) 2046 ret0, _ := ret[0].(Options) 2047 return ret0 2048 } 2049 2050 // SetHostConnectTimeout indicates an expected call of SetHostConnectTimeout. 2051 func (mr *MockOptionsMockRecorder) SetHostConnectTimeout(value interface{}) *gomock.Call { 2052 mr.mock.ctrl.T.Helper() 2053 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostConnectTimeout", reflect.TypeOf((*MockOptions)(nil).SetHostConnectTimeout), value) 2054 } 2055 2056 // SetHostQueueEmitsHealthStatus mocks base method. 2057 func (m *MockOptions) SetHostQueueEmitsHealthStatus(value bool) Options { 2058 m.ctrl.T.Helper() 2059 ret := m.ctrl.Call(m, "SetHostQueueEmitsHealthStatus", value) 2060 ret0, _ := ret[0].(Options) 2061 return ret0 2062 } 2063 2064 // SetHostQueueEmitsHealthStatus indicates an expected call of SetHostQueueEmitsHealthStatus. 2065 func (mr *MockOptionsMockRecorder) SetHostQueueEmitsHealthStatus(value interface{}) *gomock.Call { 2066 mr.mock.ctrl.T.Helper() 2067 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueEmitsHealthStatus", reflect.TypeOf((*MockOptions)(nil).SetHostQueueEmitsHealthStatus), value) 2068 } 2069 2070 // SetHostQueueNewPooledWorkerFn mocks base method. 2071 func (m *MockOptions) SetHostQueueNewPooledWorkerFn(value sync.NewPooledWorkerFn) Options { 2072 m.ctrl.T.Helper() 2073 ret := m.ctrl.Call(m, "SetHostQueueNewPooledWorkerFn", value) 2074 ret0, _ := ret[0].(Options) 2075 return ret0 2076 } 2077 2078 // SetHostQueueNewPooledWorkerFn indicates an expected call of SetHostQueueNewPooledWorkerFn. 2079 func (mr *MockOptionsMockRecorder) SetHostQueueNewPooledWorkerFn(value interface{}) *gomock.Call { 2080 mr.mock.ctrl.T.Helper() 2081 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueNewPooledWorkerFn", reflect.TypeOf((*MockOptions)(nil).SetHostQueueNewPooledWorkerFn), value) 2082 } 2083 2084 // SetHostQueueOpsArrayPoolSize mocks base method. 2085 func (m *MockOptions) SetHostQueueOpsArrayPoolSize(value pool.Size) Options { 2086 m.ctrl.T.Helper() 2087 ret := m.ctrl.Call(m, "SetHostQueueOpsArrayPoolSize", value) 2088 ret0, _ := ret[0].(Options) 2089 return ret0 2090 } 2091 2092 // SetHostQueueOpsArrayPoolSize indicates an expected call of SetHostQueueOpsArrayPoolSize. 2093 func (mr *MockOptionsMockRecorder) SetHostQueueOpsArrayPoolSize(value interface{}) *gomock.Call { 2094 mr.mock.ctrl.T.Helper() 2095 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsArrayPoolSize", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsArrayPoolSize), value) 2096 } 2097 2098 // SetHostQueueOpsFlushInterval mocks base method. 2099 func (m *MockOptions) SetHostQueueOpsFlushInterval(value time.Duration) Options { 2100 m.ctrl.T.Helper() 2101 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushInterval", value) 2102 ret0, _ := ret[0].(Options) 2103 return ret0 2104 } 2105 2106 // SetHostQueueOpsFlushInterval indicates an expected call of SetHostQueueOpsFlushInterval. 2107 func (mr *MockOptionsMockRecorder) SetHostQueueOpsFlushInterval(value interface{}) *gomock.Call { 2108 mr.mock.ctrl.T.Helper() 2109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushInterval", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsFlushInterval), value) 2110 } 2111 2112 // SetHostQueueOpsFlushSize mocks base method. 2113 func (m *MockOptions) SetHostQueueOpsFlushSize(value int) Options { 2114 m.ctrl.T.Helper() 2115 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushSize", value) 2116 ret0, _ := ret[0].(Options) 2117 return ret0 2118 } 2119 2120 // SetHostQueueOpsFlushSize indicates an expected call of SetHostQueueOpsFlushSize. 2121 func (mr *MockOptionsMockRecorder) SetHostQueueOpsFlushSize(value interface{}) *gomock.Call { 2122 mr.mock.ctrl.T.Helper() 2123 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushSize", reflect.TypeOf((*MockOptions)(nil).SetHostQueueOpsFlushSize), value) 2124 } 2125 2126 // SetIdentifierPool mocks base method. 2127 func (m *MockOptions) SetIdentifierPool(value ident.Pool) Options { 2128 m.ctrl.T.Helper() 2129 ret := m.ctrl.Call(m, "SetIdentifierPool", value) 2130 ret0, _ := ret[0].(Options) 2131 return ret0 2132 } 2133 2134 // SetIdentifierPool indicates an expected call of SetIdentifierPool. 2135 func (mr *MockOptionsMockRecorder) SetIdentifierPool(value interface{}) *gomock.Call { 2136 mr.mock.ctrl.T.Helper() 2137 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIdentifierPool", reflect.TypeOf((*MockOptions)(nil).SetIdentifierPool), value) 2138 } 2139 2140 // SetInstrumentOptions mocks base method. 2141 func (m *MockOptions) SetInstrumentOptions(value instrument.Options) Options { 2142 m.ctrl.T.Helper() 2143 ret := m.ctrl.Call(m, "SetInstrumentOptions", value) 2144 ret0, _ := ret[0].(Options) 2145 return ret0 2146 } 2147 2148 // SetInstrumentOptions indicates an expected call of SetInstrumentOptions. 2149 func (mr *MockOptionsMockRecorder) SetInstrumentOptions(value interface{}) *gomock.Call { 2150 mr.mock.ctrl.T.Helper() 2151 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInstrumentOptions", reflect.TypeOf((*MockOptions)(nil).SetInstrumentOptions), value) 2152 } 2153 2154 // SetIterationOptions mocks base method. 2155 func (m *MockOptions) SetIterationOptions(arg0 index.IterationOptions) Options { 2156 m.ctrl.T.Helper() 2157 ret := m.ctrl.Call(m, "SetIterationOptions", arg0) 2158 ret0, _ := ret[0].(Options) 2159 return ret0 2160 } 2161 2162 // SetIterationOptions indicates an expected call of SetIterationOptions. 2163 func (mr *MockOptionsMockRecorder) SetIterationOptions(arg0 interface{}) *gomock.Call { 2164 mr.mock.ctrl.T.Helper() 2165 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterationOptions", reflect.TypeOf((*MockOptions)(nil).SetIterationOptions), arg0) 2166 } 2167 2168 // SetLogErrorSampleRate mocks base method. 2169 func (m *MockOptions) SetLogErrorSampleRate(value sampler.Rate) Options { 2170 m.ctrl.T.Helper() 2171 ret := m.ctrl.Call(m, "SetLogErrorSampleRate", value) 2172 ret0, _ := ret[0].(Options) 2173 return ret0 2174 } 2175 2176 // SetLogErrorSampleRate indicates an expected call of SetLogErrorSampleRate. 2177 func (mr *MockOptionsMockRecorder) SetLogErrorSampleRate(value interface{}) *gomock.Call { 2178 mr.mock.ctrl.T.Helper() 2179 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogErrorSampleRate", reflect.TypeOf((*MockOptions)(nil).SetLogErrorSampleRate), value) 2180 } 2181 2182 // SetMaxConnectionCount mocks base method. 2183 func (m *MockOptions) SetMaxConnectionCount(value int) Options { 2184 m.ctrl.T.Helper() 2185 ret := m.ctrl.Call(m, "SetMaxConnectionCount", value) 2186 ret0, _ := ret[0].(Options) 2187 return ret0 2188 } 2189 2190 // SetMaxConnectionCount indicates an expected call of SetMaxConnectionCount. 2191 func (mr *MockOptionsMockRecorder) SetMaxConnectionCount(value interface{}) *gomock.Call { 2192 mr.mock.ctrl.T.Helper() 2193 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxConnectionCount", reflect.TypeOf((*MockOptions)(nil).SetMaxConnectionCount), value) 2194 } 2195 2196 // SetMinConnectionCount mocks base method. 2197 func (m *MockOptions) SetMinConnectionCount(value int) Options { 2198 m.ctrl.T.Helper() 2199 ret := m.ctrl.Call(m, "SetMinConnectionCount", value) 2200 ret0, _ := ret[0].(Options) 2201 return ret0 2202 } 2203 2204 // SetMinConnectionCount indicates an expected call of SetMinConnectionCount. 2205 func (mr *MockOptionsMockRecorder) SetMinConnectionCount(value interface{}) *gomock.Call { 2206 mr.mock.ctrl.T.Helper() 2207 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMinConnectionCount", reflect.TypeOf((*MockOptions)(nil).SetMinConnectionCount), value) 2208 } 2209 2210 // SetNamespaceInitializer mocks base method. 2211 func (m *MockOptions) SetNamespaceInitializer(value namespace.Initializer) Options { 2212 m.ctrl.T.Helper() 2213 ret := m.ctrl.Call(m, "SetNamespaceInitializer", value) 2214 ret0, _ := ret[0].(Options) 2215 return ret0 2216 } 2217 2218 // SetNamespaceInitializer indicates an expected call of SetNamespaceInitializer. 2219 func (mr *MockOptionsMockRecorder) SetNamespaceInitializer(value interface{}) *gomock.Call { 2220 mr.mock.ctrl.T.Helper() 2221 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespaceInitializer", reflect.TypeOf((*MockOptions)(nil).SetNamespaceInitializer), value) 2222 } 2223 2224 // SetNewConnectionFn mocks base method. 2225 func (m *MockOptions) SetNewConnectionFn(value NewConnectionFn) AdminOptions { 2226 m.ctrl.T.Helper() 2227 ret := m.ctrl.Call(m, "SetNewConnectionFn", value) 2228 ret0, _ := ret[0].(AdminOptions) 2229 return ret0 2230 } 2231 2232 // SetNewConnectionFn indicates an expected call of SetNewConnectionFn. 2233 func (mr *MockOptionsMockRecorder) SetNewConnectionFn(value interface{}) *gomock.Call { 2234 mr.mock.ctrl.T.Helper() 2235 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNewConnectionFn", reflect.TypeOf((*MockOptions)(nil).SetNewConnectionFn), value) 2236 } 2237 2238 // SetReadConsistencyLevel mocks base method. 2239 func (m *MockOptions) SetReadConsistencyLevel(value topology.ReadConsistencyLevel) Options { 2240 m.ctrl.T.Helper() 2241 ret := m.ctrl.Call(m, "SetReadConsistencyLevel", value) 2242 ret0, _ := ret[0].(Options) 2243 return ret0 2244 } 2245 2246 // SetReadConsistencyLevel indicates an expected call of SetReadConsistencyLevel. 2247 func (mr *MockOptionsMockRecorder) SetReadConsistencyLevel(value interface{}) *gomock.Call { 2248 mr.mock.ctrl.T.Helper() 2249 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReadConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetReadConsistencyLevel), value) 2250 } 2251 2252 // SetReaderIteratorAllocate mocks base method. 2253 func (m *MockOptions) SetReaderIteratorAllocate(value encoding.ReaderIteratorAllocate) Options { 2254 m.ctrl.T.Helper() 2255 ret := m.ctrl.Call(m, "SetReaderIteratorAllocate", value) 2256 ret0, _ := ret[0].(Options) 2257 return ret0 2258 } 2259 2260 // SetReaderIteratorAllocate indicates an expected call of SetReaderIteratorAllocate. 2261 func (mr *MockOptionsMockRecorder) SetReaderIteratorAllocate(value interface{}) *gomock.Call { 2262 mr.mock.ctrl.T.Helper() 2263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReaderIteratorAllocate", reflect.TypeOf((*MockOptions)(nil).SetReaderIteratorAllocate), value) 2264 } 2265 2266 // SetRuntimeOptionsManager mocks base method. 2267 func (m *MockOptions) SetRuntimeOptionsManager(value runtime.OptionsManager) Options { 2268 m.ctrl.T.Helper() 2269 ret := m.ctrl.Call(m, "SetRuntimeOptionsManager", value) 2270 ret0, _ := ret[0].(Options) 2271 return ret0 2272 } 2273 2274 // SetRuntimeOptionsManager indicates an expected call of SetRuntimeOptionsManager. 2275 func (mr *MockOptionsMockRecorder) SetRuntimeOptionsManager(value interface{}) *gomock.Call { 2276 mr.mock.ctrl.T.Helper() 2277 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeOptionsManager", reflect.TypeOf((*MockOptions)(nil).SetRuntimeOptionsManager), value) 2278 } 2279 2280 // SetSchemaRegistry mocks base method. 2281 func (m *MockOptions) SetSchemaRegistry(registry namespace.SchemaRegistry) AdminOptions { 2282 m.ctrl.T.Helper() 2283 ret := m.ctrl.Call(m, "SetSchemaRegistry", registry) 2284 ret0, _ := ret[0].(AdminOptions) 2285 return ret0 2286 } 2287 2288 // SetSchemaRegistry indicates an expected call of SetSchemaRegistry. 2289 func (mr *MockOptionsMockRecorder) SetSchemaRegistry(registry interface{}) *gomock.Call { 2290 mr.mock.ctrl.T.Helper() 2291 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaRegistry", reflect.TypeOf((*MockOptions)(nil).SetSchemaRegistry), registry) 2292 } 2293 2294 // SetSeriesIteratorPoolSize mocks base method. 2295 func (m *MockOptions) SetSeriesIteratorPoolSize(value pool.Size) Options { 2296 m.ctrl.T.Helper() 2297 ret := m.ctrl.Call(m, "SetSeriesIteratorPoolSize", value) 2298 ret0, _ := ret[0].(Options) 2299 return ret0 2300 } 2301 2302 // SetSeriesIteratorPoolSize indicates an expected call of SetSeriesIteratorPoolSize. 2303 func (mr *MockOptionsMockRecorder) SetSeriesIteratorPoolSize(value interface{}) *gomock.Call { 2304 mr.mock.ctrl.T.Helper() 2305 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSeriesIteratorPoolSize", reflect.TypeOf((*MockOptions)(nil).SetSeriesIteratorPoolSize), value) 2306 } 2307 2308 // SetShardsLeavingCountTowardsConsistency mocks base method. 2309 func (m *MockOptions) SetShardsLeavingCountTowardsConsistency(value bool) Options { 2310 m.ctrl.T.Helper() 2311 ret := m.ctrl.Call(m, "SetShardsLeavingCountTowardsConsistency", value) 2312 ret0, _ := ret[0].(Options) 2313 return ret0 2314 } 2315 2316 // SetShardsLeavingCountTowardsConsistency indicates an expected call of SetShardsLeavingCountTowardsConsistency. 2317 func (mr *MockOptionsMockRecorder) SetShardsLeavingCountTowardsConsistency(value interface{}) *gomock.Call { 2318 mr.mock.ctrl.T.Helper() 2319 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).SetShardsLeavingCountTowardsConsistency), value) 2320 } 2321 2322 // SetTagDecoderOptions mocks base method. 2323 func (m *MockOptions) SetTagDecoderOptions(value serialize.TagDecoderOptions) Options { 2324 m.ctrl.T.Helper() 2325 ret := m.ctrl.Call(m, "SetTagDecoderOptions", value) 2326 ret0, _ := ret[0].(Options) 2327 return ret0 2328 } 2329 2330 // SetTagDecoderOptions indicates an expected call of SetTagDecoderOptions. 2331 func (mr *MockOptionsMockRecorder) SetTagDecoderOptions(value interface{}) *gomock.Call { 2332 mr.mock.ctrl.T.Helper() 2333 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderOptions", reflect.TypeOf((*MockOptions)(nil).SetTagDecoderOptions), value) 2334 } 2335 2336 // SetTagDecoderPoolSize mocks base method. 2337 func (m *MockOptions) SetTagDecoderPoolSize(value pool.Size) Options { 2338 m.ctrl.T.Helper() 2339 ret := m.ctrl.Call(m, "SetTagDecoderPoolSize", value) 2340 ret0, _ := ret[0].(Options) 2341 return ret0 2342 } 2343 2344 // SetTagDecoderPoolSize indicates an expected call of SetTagDecoderPoolSize. 2345 func (mr *MockOptionsMockRecorder) SetTagDecoderPoolSize(value interface{}) *gomock.Call { 2346 mr.mock.ctrl.T.Helper() 2347 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderPoolSize", reflect.TypeOf((*MockOptions)(nil).SetTagDecoderPoolSize), value) 2348 } 2349 2350 // SetTagEncoderOptions mocks base method. 2351 func (m *MockOptions) SetTagEncoderOptions(value serialize.TagEncoderOptions) Options { 2352 m.ctrl.T.Helper() 2353 ret := m.ctrl.Call(m, "SetTagEncoderOptions", value) 2354 ret0, _ := ret[0].(Options) 2355 return ret0 2356 } 2357 2358 // SetTagEncoderOptions indicates an expected call of SetTagEncoderOptions. 2359 func (mr *MockOptionsMockRecorder) SetTagEncoderOptions(value interface{}) *gomock.Call { 2360 mr.mock.ctrl.T.Helper() 2361 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderOptions", reflect.TypeOf((*MockOptions)(nil).SetTagEncoderOptions), value) 2362 } 2363 2364 // SetTagEncoderPoolSize mocks base method. 2365 func (m *MockOptions) SetTagEncoderPoolSize(value pool.Size) Options { 2366 m.ctrl.T.Helper() 2367 ret := m.ctrl.Call(m, "SetTagEncoderPoolSize", value) 2368 ret0, _ := ret[0].(Options) 2369 return ret0 2370 } 2371 2372 // SetTagEncoderPoolSize indicates an expected call of SetTagEncoderPoolSize. 2373 func (mr *MockOptionsMockRecorder) SetTagEncoderPoolSize(value interface{}) *gomock.Call { 2374 mr.mock.ctrl.T.Helper() 2375 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderPoolSize", reflect.TypeOf((*MockOptions)(nil).SetTagEncoderPoolSize), value) 2376 } 2377 2378 // SetThriftContextFn mocks base method. 2379 func (m *MockOptions) SetThriftContextFn(value ThriftContextFn) Options { 2380 m.ctrl.T.Helper() 2381 ret := m.ctrl.Call(m, "SetThriftContextFn", value) 2382 ret0, _ := ret[0].(Options) 2383 return ret0 2384 } 2385 2386 // SetThriftContextFn indicates an expected call of SetThriftContextFn. 2387 func (mr *MockOptionsMockRecorder) SetThriftContextFn(value interface{}) *gomock.Call { 2388 mr.mock.ctrl.T.Helper() 2389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetThriftContextFn", reflect.TypeOf((*MockOptions)(nil).SetThriftContextFn), value) 2390 } 2391 2392 // SetTopologyInitializer mocks base method. 2393 func (m *MockOptions) SetTopologyInitializer(value topology.Initializer) Options { 2394 m.ctrl.T.Helper() 2395 ret := m.ctrl.Call(m, "SetTopologyInitializer", value) 2396 ret0, _ := ret[0].(Options) 2397 return ret0 2398 } 2399 2400 // SetTopologyInitializer indicates an expected call of SetTopologyInitializer. 2401 func (mr *MockOptionsMockRecorder) SetTopologyInitializer(value interface{}) *gomock.Call { 2402 mr.mock.ctrl.T.Helper() 2403 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopologyInitializer", reflect.TypeOf((*MockOptions)(nil).SetTopologyInitializer), value) 2404 } 2405 2406 // SetTruncateRequestTimeout mocks base method. 2407 func (m *MockOptions) SetTruncateRequestTimeout(value time.Duration) Options { 2408 m.ctrl.T.Helper() 2409 ret := m.ctrl.Call(m, "SetTruncateRequestTimeout", value) 2410 ret0, _ := ret[0].(Options) 2411 return ret0 2412 } 2413 2414 // SetTruncateRequestTimeout indicates an expected call of SetTruncateRequestTimeout. 2415 func (mr *MockOptionsMockRecorder) SetTruncateRequestTimeout(value interface{}) *gomock.Call { 2416 mr.mock.ctrl.T.Helper() 2417 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTruncateRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetTruncateRequestTimeout), value) 2418 } 2419 2420 // SetUseV2BatchAPIs mocks base method. 2421 func (m *MockOptions) SetUseV2BatchAPIs(value bool) Options { 2422 m.ctrl.T.Helper() 2423 ret := m.ctrl.Call(m, "SetUseV2BatchAPIs", value) 2424 ret0, _ := ret[0].(Options) 2425 return ret0 2426 } 2427 2428 // SetUseV2BatchAPIs indicates an expected call of SetUseV2BatchAPIs. 2429 func (mr *MockOptionsMockRecorder) SetUseV2BatchAPIs(value interface{}) *gomock.Call { 2430 mr.mock.ctrl.T.Helper() 2431 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUseV2BatchAPIs", reflect.TypeOf((*MockOptions)(nil).SetUseV2BatchAPIs), value) 2432 } 2433 2434 // SetWriteBatchSize mocks base method. 2435 func (m *MockOptions) SetWriteBatchSize(value int) Options { 2436 m.ctrl.T.Helper() 2437 ret := m.ctrl.Call(m, "SetWriteBatchSize", value) 2438 ret0, _ := ret[0].(Options) 2439 return ret0 2440 } 2441 2442 // SetWriteBatchSize indicates an expected call of SetWriteBatchSize. 2443 func (mr *MockOptionsMockRecorder) SetWriteBatchSize(value interface{}) *gomock.Call { 2444 mr.mock.ctrl.T.Helper() 2445 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteBatchSize", reflect.TypeOf((*MockOptions)(nil).SetWriteBatchSize), value) 2446 } 2447 2448 // SetWriteConsistencyLevel mocks base method. 2449 func (m *MockOptions) SetWriteConsistencyLevel(value topology.ConsistencyLevel) Options { 2450 m.ctrl.T.Helper() 2451 ret := m.ctrl.Call(m, "SetWriteConsistencyLevel", value) 2452 ret0, _ := ret[0].(Options) 2453 return ret0 2454 } 2455 2456 // SetWriteConsistencyLevel indicates an expected call of SetWriteConsistencyLevel. 2457 func (mr *MockOptionsMockRecorder) SetWriteConsistencyLevel(value interface{}) *gomock.Call { 2458 mr.mock.ctrl.T.Helper() 2459 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).SetWriteConsistencyLevel), value) 2460 } 2461 2462 // SetWriteOpPoolSize mocks base method. 2463 func (m *MockOptions) SetWriteOpPoolSize(value pool.Size) Options { 2464 m.ctrl.T.Helper() 2465 ret := m.ctrl.Call(m, "SetWriteOpPoolSize", value) 2466 ret0, _ := ret[0].(Options) 2467 return ret0 2468 } 2469 2470 // SetWriteOpPoolSize indicates an expected call of SetWriteOpPoolSize. 2471 func (mr *MockOptionsMockRecorder) SetWriteOpPoolSize(value interface{}) *gomock.Call { 2472 mr.mock.ctrl.T.Helper() 2473 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetWriteOpPoolSize), value) 2474 } 2475 2476 // SetWriteRequestTimeout mocks base method. 2477 func (m *MockOptions) SetWriteRequestTimeout(value time.Duration) Options { 2478 m.ctrl.T.Helper() 2479 ret := m.ctrl.Call(m, "SetWriteRequestTimeout", value) 2480 ret0, _ := ret[0].(Options) 2481 return ret0 2482 } 2483 2484 // SetWriteRequestTimeout indicates an expected call of SetWriteRequestTimeout. 2485 func (mr *MockOptionsMockRecorder) SetWriteRequestTimeout(value interface{}) *gomock.Call { 2486 mr.mock.ctrl.T.Helper() 2487 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRequestTimeout", reflect.TypeOf((*MockOptions)(nil).SetWriteRequestTimeout), value) 2488 } 2489 2490 // SetWriteRetrier mocks base method. 2491 func (m *MockOptions) SetWriteRetrier(value retry.Retrier) Options { 2492 m.ctrl.T.Helper() 2493 ret := m.ctrl.Call(m, "SetWriteRetrier", value) 2494 ret0, _ := ret[0].(Options) 2495 return ret0 2496 } 2497 2498 // SetWriteRetrier indicates an expected call of SetWriteRetrier. 2499 func (mr *MockOptionsMockRecorder) SetWriteRetrier(value interface{}) *gomock.Call { 2500 mr.mock.ctrl.T.Helper() 2501 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRetrier", reflect.TypeOf((*MockOptions)(nil).SetWriteRetrier), value) 2502 } 2503 2504 // SetWriteShardsInitializing mocks base method. 2505 func (m *MockOptions) SetWriteShardsInitializing(value bool) Options { 2506 m.ctrl.T.Helper() 2507 ret := m.ctrl.Call(m, "SetWriteShardsInitializing", value) 2508 ret0, _ := ret[0].(Options) 2509 return ret0 2510 } 2511 2512 // SetWriteShardsInitializing indicates an expected call of SetWriteShardsInitializing. 2513 func (mr *MockOptionsMockRecorder) SetWriteShardsInitializing(value interface{}) *gomock.Call { 2514 mr.mock.ctrl.T.Helper() 2515 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteShardsInitializing", reflect.TypeOf((*MockOptions)(nil).SetWriteShardsInitializing), value) 2516 } 2517 2518 // SetWriteTaggedOpPoolSize mocks base method. 2519 func (m *MockOptions) SetWriteTaggedOpPoolSize(value pool.Size) Options { 2520 m.ctrl.T.Helper() 2521 ret := m.ctrl.Call(m, "SetWriteTaggedOpPoolSize", value) 2522 ret0, _ := ret[0].(Options) 2523 return ret0 2524 } 2525 2526 // SetWriteTaggedOpPoolSize indicates an expected call of SetWriteTaggedOpPoolSize. 2527 func (mr *MockOptionsMockRecorder) SetWriteTaggedOpPoolSize(value interface{}) *gomock.Call { 2528 mr.mock.ctrl.T.Helper() 2529 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTaggedOpPoolSize", reflect.TypeOf((*MockOptions)(nil).SetWriteTaggedOpPoolSize), value) 2530 } 2531 2532 // SetWriteTimestampOffset mocks base method. 2533 func (m *MockOptions) SetWriteTimestampOffset(value time.Duration) AdminOptions { 2534 m.ctrl.T.Helper() 2535 ret := m.ctrl.Call(m, "SetWriteTimestampOffset", value) 2536 ret0, _ := ret[0].(AdminOptions) 2537 return ret0 2538 } 2539 2540 // SetWriteTimestampOffset indicates an expected call of SetWriteTimestampOffset. 2541 func (mr *MockOptionsMockRecorder) SetWriteTimestampOffset(value interface{}) *gomock.Call { 2542 mr.mock.ctrl.T.Helper() 2543 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTimestampOffset", reflect.TypeOf((*MockOptions)(nil).SetWriteTimestampOffset), value) 2544 } 2545 2546 // ShardsLeavingCountTowardsConsistency mocks base method. 2547 func (m *MockOptions) ShardsLeavingCountTowardsConsistency() bool { 2548 m.ctrl.T.Helper() 2549 ret := m.ctrl.Call(m, "ShardsLeavingCountTowardsConsistency") 2550 ret0, _ := ret[0].(bool) 2551 return ret0 2552 } 2553 2554 // ShardsLeavingCountTowardsConsistency indicates an expected call of ShardsLeavingCountTowardsConsistency. 2555 func (mr *MockOptionsMockRecorder) ShardsLeavingCountTowardsConsistency() *gomock.Call { 2556 mr.mock.ctrl.T.Helper() 2557 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockOptions)(nil).ShardsLeavingCountTowardsConsistency)) 2558 } 2559 2560 // TagDecoderOptions mocks base method. 2561 func (m *MockOptions) TagDecoderOptions() serialize.TagDecoderOptions { 2562 m.ctrl.T.Helper() 2563 ret := m.ctrl.Call(m, "TagDecoderOptions") 2564 ret0, _ := ret[0].(serialize.TagDecoderOptions) 2565 return ret0 2566 } 2567 2568 // TagDecoderOptions indicates an expected call of TagDecoderOptions. 2569 func (mr *MockOptionsMockRecorder) TagDecoderOptions() *gomock.Call { 2570 mr.mock.ctrl.T.Helper() 2571 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderOptions", reflect.TypeOf((*MockOptions)(nil).TagDecoderOptions)) 2572 } 2573 2574 // TagDecoderPoolSize mocks base method. 2575 func (m *MockOptions) TagDecoderPoolSize() pool.Size { 2576 m.ctrl.T.Helper() 2577 ret := m.ctrl.Call(m, "TagDecoderPoolSize") 2578 ret0, _ := ret[0].(pool.Size) 2579 return ret0 2580 } 2581 2582 // TagDecoderPoolSize indicates an expected call of TagDecoderPoolSize. 2583 func (mr *MockOptionsMockRecorder) TagDecoderPoolSize() *gomock.Call { 2584 mr.mock.ctrl.T.Helper() 2585 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderPoolSize", reflect.TypeOf((*MockOptions)(nil).TagDecoderPoolSize)) 2586 } 2587 2588 // TagEncoderOptions mocks base method. 2589 func (m *MockOptions) TagEncoderOptions() serialize.TagEncoderOptions { 2590 m.ctrl.T.Helper() 2591 ret := m.ctrl.Call(m, "TagEncoderOptions") 2592 ret0, _ := ret[0].(serialize.TagEncoderOptions) 2593 return ret0 2594 } 2595 2596 // TagEncoderOptions indicates an expected call of TagEncoderOptions. 2597 func (mr *MockOptionsMockRecorder) TagEncoderOptions() *gomock.Call { 2598 mr.mock.ctrl.T.Helper() 2599 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderOptions", reflect.TypeOf((*MockOptions)(nil).TagEncoderOptions)) 2600 } 2601 2602 // TagEncoderPoolSize mocks base method. 2603 func (m *MockOptions) TagEncoderPoolSize() pool.Size { 2604 m.ctrl.T.Helper() 2605 ret := m.ctrl.Call(m, "TagEncoderPoolSize") 2606 ret0, _ := ret[0].(pool.Size) 2607 return ret0 2608 } 2609 2610 // TagEncoderPoolSize indicates an expected call of TagEncoderPoolSize. 2611 func (mr *MockOptionsMockRecorder) TagEncoderPoolSize() *gomock.Call { 2612 mr.mock.ctrl.T.Helper() 2613 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderPoolSize", reflect.TypeOf((*MockOptions)(nil).TagEncoderPoolSize)) 2614 } 2615 2616 // ThriftContextFn mocks base method. 2617 func (m *MockOptions) ThriftContextFn() ThriftContextFn { 2618 m.ctrl.T.Helper() 2619 ret := m.ctrl.Call(m, "ThriftContextFn") 2620 ret0, _ := ret[0].(ThriftContextFn) 2621 return ret0 2622 } 2623 2624 // ThriftContextFn indicates an expected call of ThriftContextFn. 2625 func (mr *MockOptionsMockRecorder) ThriftContextFn() *gomock.Call { 2626 mr.mock.ctrl.T.Helper() 2627 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ThriftContextFn", reflect.TypeOf((*MockOptions)(nil).ThriftContextFn)) 2628 } 2629 2630 // TopologyInitializer mocks base method. 2631 func (m *MockOptions) TopologyInitializer() topology.Initializer { 2632 m.ctrl.T.Helper() 2633 ret := m.ctrl.Call(m, "TopologyInitializer") 2634 ret0, _ := ret[0].(topology.Initializer) 2635 return ret0 2636 } 2637 2638 // TopologyInitializer indicates an expected call of TopologyInitializer. 2639 func (mr *MockOptionsMockRecorder) TopologyInitializer() *gomock.Call { 2640 mr.mock.ctrl.T.Helper() 2641 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyInitializer", reflect.TypeOf((*MockOptions)(nil).TopologyInitializer)) 2642 } 2643 2644 // TruncateRequestTimeout mocks base method. 2645 func (m *MockOptions) TruncateRequestTimeout() time.Duration { 2646 m.ctrl.T.Helper() 2647 ret := m.ctrl.Call(m, "TruncateRequestTimeout") 2648 ret0, _ := ret[0].(time.Duration) 2649 return ret0 2650 } 2651 2652 // TruncateRequestTimeout indicates an expected call of TruncateRequestTimeout. 2653 func (mr *MockOptionsMockRecorder) TruncateRequestTimeout() *gomock.Call { 2654 mr.mock.ctrl.T.Helper() 2655 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateRequestTimeout", reflect.TypeOf((*MockOptions)(nil).TruncateRequestTimeout)) 2656 } 2657 2658 // UseV2BatchAPIs mocks base method. 2659 func (m *MockOptions) UseV2BatchAPIs() bool { 2660 m.ctrl.T.Helper() 2661 ret := m.ctrl.Call(m, "UseV2BatchAPIs") 2662 ret0, _ := ret[0].(bool) 2663 return ret0 2664 } 2665 2666 // UseV2BatchAPIs indicates an expected call of UseV2BatchAPIs. 2667 func (mr *MockOptionsMockRecorder) UseV2BatchAPIs() *gomock.Call { 2668 mr.mock.ctrl.T.Helper() 2669 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseV2BatchAPIs", reflect.TypeOf((*MockOptions)(nil).UseV2BatchAPIs)) 2670 } 2671 2672 // Validate mocks base method. 2673 func (m *MockOptions) Validate() error { 2674 m.ctrl.T.Helper() 2675 ret := m.ctrl.Call(m, "Validate") 2676 ret0, _ := ret[0].(error) 2677 return ret0 2678 } 2679 2680 // Validate indicates an expected call of Validate. 2681 func (mr *MockOptionsMockRecorder) Validate() *gomock.Call { 2682 mr.mock.ctrl.T.Helper() 2683 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockOptions)(nil).Validate)) 2684 } 2685 2686 // WriteBatchSize mocks base method. 2687 func (m *MockOptions) WriteBatchSize() int { 2688 m.ctrl.T.Helper() 2689 ret := m.ctrl.Call(m, "WriteBatchSize") 2690 ret0, _ := ret[0].(int) 2691 return ret0 2692 } 2693 2694 // WriteBatchSize indicates an expected call of WriteBatchSize. 2695 func (mr *MockOptionsMockRecorder) WriteBatchSize() *gomock.Call { 2696 mr.mock.ctrl.T.Helper() 2697 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBatchSize", reflect.TypeOf((*MockOptions)(nil).WriteBatchSize)) 2698 } 2699 2700 // WriteConsistencyLevel mocks base method. 2701 func (m *MockOptions) WriteConsistencyLevel() topology.ConsistencyLevel { 2702 m.ctrl.T.Helper() 2703 ret := m.ctrl.Call(m, "WriteConsistencyLevel") 2704 ret0, _ := ret[0].(topology.ConsistencyLevel) 2705 return ret0 2706 } 2707 2708 // WriteConsistencyLevel indicates an expected call of WriteConsistencyLevel. 2709 func (mr *MockOptionsMockRecorder) WriteConsistencyLevel() *gomock.Call { 2710 mr.mock.ctrl.T.Helper() 2711 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteConsistencyLevel", reflect.TypeOf((*MockOptions)(nil).WriteConsistencyLevel)) 2712 } 2713 2714 // WriteOpPoolSize mocks base method. 2715 func (m *MockOptions) WriteOpPoolSize() pool.Size { 2716 m.ctrl.T.Helper() 2717 ret := m.ctrl.Call(m, "WriteOpPoolSize") 2718 ret0, _ := ret[0].(pool.Size) 2719 return ret0 2720 } 2721 2722 // WriteOpPoolSize indicates an expected call of WriteOpPoolSize. 2723 func (mr *MockOptionsMockRecorder) WriteOpPoolSize() *gomock.Call { 2724 mr.mock.ctrl.T.Helper() 2725 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteOpPoolSize", reflect.TypeOf((*MockOptions)(nil).WriteOpPoolSize)) 2726 } 2727 2728 // WriteRequestTimeout mocks base method. 2729 func (m *MockOptions) WriteRequestTimeout() time.Duration { 2730 m.ctrl.T.Helper() 2731 ret := m.ctrl.Call(m, "WriteRequestTimeout") 2732 ret0, _ := ret[0].(time.Duration) 2733 return ret0 2734 } 2735 2736 // WriteRequestTimeout indicates an expected call of WriteRequestTimeout. 2737 func (mr *MockOptionsMockRecorder) WriteRequestTimeout() *gomock.Call { 2738 mr.mock.ctrl.T.Helper() 2739 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRequestTimeout", reflect.TypeOf((*MockOptions)(nil).WriteRequestTimeout)) 2740 } 2741 2742 // WriteRetrier mocks base method. 2743 func (m *MockOptions) WriteRetrier() retry.Retrier { 2744 m.ctrl.T.Helper() 2745 ret := m.ctrl.Call(m, "WriteRetrier") 2746 ret0, _ := ret[0].(retry.Retrier) 2747 return ret0 2748 } 2749 2750 // WriteRetrier indicates an expected call of WriteRetrier. 2751 func (mr *MockOptionsMockRecorder) WriteRetrier() *gomock.Call { 2752 mr.mock.ctrl.T.Helper() 2753 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRetrier", reflect.TypeOf((*MockOptions)(nil).WriteRetrier)) 2754 } 2755 2756 // WriteShardsInitializing mocks base method. 2757 func (m *MockOptions) WriteShardsInitializing() bool { 2758 m.ctrl.T.Helper() 2759 ret := m.ctrl.Call(m, "WriteShardsInitializing") 2760 ret0, _ := ret[0].(bool) 2761 return ret0 2762 } 2763 2764 // WriteShardsInitializing indicates an expected call of WriteShardsInitializing. 2765 func (mr *MockOptionsMockRecorder) WriteShardsInitializing() *gomock.Call { 2766 mr.mock.ctrl.T.Helper() 2767 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteShardsInitializing", reflect.TypeOf((*MockOptions)(nil).WriteShardsInitializing)) 2768 } 2769 2770 // WriteTaggedOpPoolSize mocks base method. 2771 func (m *MockOptions) WriteTaggedOpPoolSize() pool.Size { 2772 m.ctrl.T.Helper() 2773 ret := m.ctrl.Call(m, "WriteTaggedOpPoolSize") 2774 ret0, _ := ret[0].(pool.Size) 2775 return ret0 2776 } 2777 2778 // WriteTaggedOpPoolSize indicates an expected call of WriteTaggedOpPoolSize. 2779 func (mr *MockOptionsMockRecorder) WriteTaggedOpPoolSize() *gomock.Call { 2780 mr.mock.ctrl.T.Helper() 2781 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTaggedOpPoolSize", reflect.TypeOf((*MockOptions)(nil).WriteTaggedOpPoolSize)) 2782 } 2783 2784 // WriteTimestampOffset mocks base method. 2785 func (m *MockOptions) WriteTimestampOffset() time.Duration { 2786 m.ctrl.T.Helper() 2787 ret := m.ctrl.Call(m, "WriteTimestampOffset") 2788 ret0, _ := ret[0].(time.Duration) 2789 return ret0 2790 } 2791 2792 // WriteTimestampOffset indicates an expected call of WriteTimestampOffset. 2793 func (mr *MockOptionsMockRecorder) WriteTimestampOffset() *gomock.Call { 2794 mr.mock.ctrl.T.Helper() 2795 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTimestampOffset", reflect.TypeOf((*MockOptions)(nil).WriteTimestampOffset)) 2796 } 2797 2798 // MockAdminOptions is a mock of AdminOptions interface. 2799 type MockAdminOptions struct { 2800 ctrl *gomock.Controller 2801 recorder *MockAdminOptionsMockRecorder 2802 } 2803 2804 // MockAdminOptionsMockRecorder is the mock recorder for MockAdminOptions. 2805 type MockAdminOptionsMockRecorder struct { 2806 mock *MockAdminOptions 2807 } 2808 2809 // NewMockAdminOptions creates a new mock instance. 2810 func NewMockAdminOptions(ctrl *gomock.Controller) *MockAdminOptions { 2811 mock := &MockAdminOptions{ctrl: ctrl} 2812 mock.recorder = &MockAdminOptionsMockRecorder{mock} 2813 return mock 2814 } 2815 2816 // EXPECT returns an object that allows the caller to indicate expected use. 2817 func (m *MockAdminOptions) EXPECT() *MockAdminOptionsMockRecorder { 2818 return m.recorder 2819 } 2820 2821 // AsyncTopologyInitializers mocks base method. 2822 func (m *MockAdminOptions) AsyncTopologyInitializers() []topology.Initializer { 2823 m.ctrl.T.Helper() 2824 ret := m.ctrl.Call(m, "AsyncTopologyInitializers") 2825 ret0, _ := ret[0].([]topology.Initializer) 2826 return ret0 2827 } 2828 2829 // AsyncTopologyInitializers indicates an expected call of AsyncTopologyInitializers. 2830 func (mr *MockAdminOptionsMockRecorder) AsyncTopologyInitializers() *gomock.Call { 2831 mr.mock.ctrl.T.Helper() 2832 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncTopologyInitializers", reflect.TypeOf((*MockAdminOptions)(nil).AsyncTopologyInitializers)) 2833 } 2834 2835 // AsyncWriteMaxConcurrency mocks base method. 2836 func (m *MockAdminOptions) AsyncWriteMaxConcurrency() int { 2837 m.ctrl.T.Helper() 2838 ret := m.ctrl.Call(m, "AsyncWriteMaxConcurrency") 2839 ret0, _ := ret[0].(int) 2840 return ret0 2841 } 2842 2843 // AsyncWriteMaxConcurrency indicates an expected call of AsyncWriteMaxConcurrency. 2844 func (mr *MockAdminOptionsMockRecorder) AsyncWriteMaxConcurrency() *gomock.Call { 2845 mr.mock.ctrl.T.Helper() 2846 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteMaxConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).AsyncWriteMaxConcurrency)) 2847 } 2848 2849 // AsyncWriteWorkerPool mocks base method. 2850 func (m *MockAdminOptions) AsyncWriteWorkerPool() sync.PooledWorkerPool { 2851 m.ctrl.T.Helper() 2852 ret := m.ctrl.Call(m, "AsyncWriteWorkerPool") 2853 ret0, _ := ret[0].(sync.PooledWorkerPool) 2854 return ret0 2855 } 2856 2857 // AsyncWriteWorkerPool indicates an expected call of AsyncWriteWorkerPool. 2858 func (mr *MockAdminOptionsMockRecorder) AsyncWriteWorkerPool() *gomock.Call { 2859 mr.mock.ctrl.T.Helper() 2860 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AsyncWriteWorkerPool", reflect.TypeOf((*MockAdminOptions)(nil).AsyncWriteWorkerPool)) 2861 } 2862 2863 // BackgroundConnectInterval mocks base method. 2864 func (m *MockAdminOptions) BackgroundConnectInterval() time.Duration { 2865 m.ctrl.T.Helper() 2866 ret := m.ctrl.Call(m, "BackgroundConnectInterval") 2867 ret0, _ := ret[0].(time.Duration) 2868 return ret0 2869 } 2870 2871 // BackgroundConnectInterval indicates an expected call of BackgroundConnectInterval. 2872 func (mr *MockAdminOptionsMockRecorder) BackgroundConnectInterval() *gomock.Call { 2873 mr.mock.ctrl.T.Helper() 2874 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectInterval", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundConnectInterval)) 2875 } 2876 2877 // BackgroundConnectStutter mocks base method. 2878 func (m *MockAdminOptions) BackgroundConnectStutter() time.Duration { 2879 m.ctrl.T.Helper() 2880 ret := m.ctrl.Call(m, "BackgroundConnectStutter") 2881 ret0, _ := ret[0].(time.Duration) 2882 return ret0 2883 } 2884 2885 // BackgroundConnectStutter indicates an expected call of BackgroundConnectStutter. 2886 func (mr *MockAdminOptionsMockRecorder) BackgroundConnectStutter() *gomock.Call { 2887 mr.mock.ctrl.T.Helper() 2888 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundConnectStutter", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundConnectStutter)) 2889 } 2890 2891 // BackgroundHealthCheckFailLimit mocks base method. 2892 func (m *MockAdminOptions) BackgroundHealthCheckFailLimit() int { 2893 m.ctrl.T.Helper() 2894 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailLimit") 2895 ret0, _ := ret[0].(int) 2896 return ret0 2897 } 2898 2899 // BackgroundHealthCheckFailLimit indicates an expected call of BackgroundHealthCheckFailLimit. 2900 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckFailLimit() *gomock.Call { 2901 mr.mock.ctrl.T.Helper() 2902 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailLimit", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckFailLimit)) 2903 } 2904 2905 // BackgroundHealthCheckFailThrottleFactor mocks base method. 2906 func (m *MockAdminOptions) BackgroundHealthCheckFailThrottleFactor() float64 { 2907 m.ctrl.T.Helper() 2908 ret := m.ctrl.Call(m, "BackgroundHealthCheckFailThrottleFactor") 2909 ret0, _ := ret[0].(float64) 2910 return ret0 2911 } 2912 2913 // BackgroundHealthCheckFailThrottleFactor indicates an expected call of BackgroundHealthCheckFailThrottleFactor. 2914 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckFailThrottleFactor() *gomock.Call { 2915 mr.mock.ctrl.T.Helper() 2916 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckFailThrottleFactor)) 2917 } 2918 2919 // BackgroundHealthCheckInterval mocks base method. 2920 func (m *MockAdminOptions) BackgroundHealthCheckInterval() time.Duration { 2921 m.ctrl.T.Helper() 2922 ret := m.ctrl.Call(m, "BackgroundHealthCheckInterval") 2923 ret0, _ := ret[0].(time.Duration) 2924 return ret0 2925 } 2926 2927 // BackgroundHealthCheckInterval indicates an expected call of BackgroundHealthCheckInterval. 2928 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckInterval() *gomock.Call { 2929 mr.mock.ctrl.T.Helper() 2930 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckInterval", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckInterval)) 2931 } 2932 2933 // BackgroundHealthCheckStutter mocks base method. 2934 func (m *MockAdminOptions) BackgroundHealthCheckStutter() time.Duration { 2935 m.ctrl.T.Helper() 2936 ret := m.ctrl.Call(m, "BackgroundHealthCheckStutter") 2937 ret0, _ := ret[0].(time.Duration) 2938 return ret0 2939 } 2940 2941 // BackgroundHealthCheckStutter indicates an expected call of BackgroundHealthCheckStutter. 2942 func (mr *MockAdminOptionsMockRecorder) BackgroundHealthCheckStutter() *gomock.Call { 2943 mr.mock.ctrl.T.Helper() 2944 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackgroundHealthCheckStutter", reflect.TypeOf((*MockAdminOptions)(nil).BackgroundHealthCheckStutter)) 2945 } 2946 2947 // BootstrapConsistencyLevel mocks base method. 2948 func (m *MockAdminOptions) BootstrapConsistencyLevel() topology.ReadConsistencyLevel { 2949 m.ctrl.T.Helper() 2950 ret := m.ctrl.Call(m, "BootstrapConsistencyLevel") 2951 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 2952 return ret0 2953 } 2954 2955 // BootstrapConsistencyLevel indicates an expected call of BootstrapConsistencyLevel. 2956 func (mr *MockAdminOptionsMockRecorder) BootstrapConsistencyLevel() *gomock.Call { 2957 mr.mock.ctrl.T.Helper() 2958 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BootstrapConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).BootstrapConsistencyLevel)) 2959 } 2960 2961 // ChannelOptions mocks base method. 2962 func (m *MockAdminOptions) ChannelOptions() *tchannel_go.ChannelOptions { 2963 m.ctrl.T.Helper() 2964 ret := m.ctrl.Call(m, "ChannelOptions") 2965 ret0, _ := ret[0].(*tchannel_go.ChannelOptions) 2966 return ret0 2967 } 2968 2969 // ChannelOptions indicates an expected call of ChannelOptions. 2970 func (mr *MockAdminOptionsMockRecorder) ChannelOptions() *gomock.Call { 2971 mr.mock.ctrl.T.Helper() 2972 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChannelOptions", reflect.TypeOf((*MockAdminOptions)(nil).ChannelOptions)) 2973 } 2974 2975 // CheckedBytesPool mocks base method. 2976 func (m *MockAdminOptions) CheckedBytesPool() pool.CheckedBytesPool { 2977 m.ctrl.T.Helper() 2978 ret := m.ctrl.Call(m, "CheckedBytesPool") 2979 ret0, _ := ret[0].(pool.CheckedBytesPool) 2980 return ret0 2981 } 2982 2983 // CheckedBytesPool indicates an expected call of CheckedBytesPool. 2984 func (mr *MockAdminOptionsMockRecorder) CheckedBytesPool() *gomock.Call { 2985 mr.mock.ctrl.T.Helper() 2986 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesPool", reflect.TypeOf((*MockAdminOptions)(nil).CheckedBytesPool)) 2987 } 2988 2989 // CheckedBytesWrapperPoolSize mocks base method. 2990 func (m *MockAdminOptions) CheckedBytesWrapperPoolSize() pool.Size { 2991 m.ctrl.T.Helper() 2992 ret := m.ctrl.Call(m, "CheckedBytesWrapperPoolSize") 2993 ret0, _ := ret[0].(pool.Size) 2994 return ret0 2995 } 2996 2997 // CheckedBytesWrapperPoolSize indicates an expected call of CheckedBytesWrapperPoolSize. 2998 func (mr *MockAdminOptionsMockRecorder) CheckedBytesWrapperPoolSize() *gomock.Call { 2999 mr.mock.ctrl.T.Helper() 3000 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapperPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).CheckedBytesWrapperPoolSize)) 3001 } 3002 3003 // ClockOptions mocks base method. 3004 func (m *MockAdminOptions) ClockOptions() clock.Options { 3005 m.ctrl.T.Helper() 3006 ret := m.ctrl.Call(m, "ClockOptions") 3007 ret0, _ := ret[0].(clock.Options) 3008 return ret0 3009 } 3010 3011 // ClockOptions indicates an expected call of ClockOptions. 3012 func (mr *MockAdminOptionsMockRecorder) ClockOptions() *gomock.Call { 3013 mr.mock.ctrl.T.Helper() 3014 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClockOptions", reflect.TypeOf((*MockAdminOptions)(nil).ClockOptions)) 3015 } 3016 3017 // ClusterConnectConsistencyLevel mocks base method. 3018 func (m *MockAdminOptions) ClusterConnectConsistencyLevel() topology.ConnectConsistencyLevel { 3019 m.ctrl.T.Helper() 3020 ret := m.ctrl.Call(m, "ClusterConnectConsistencyLevel") 3021 ret0, _ := ret[0].(topology.ConnectConsistencyLevel) 3022 return ret0 3023 } 3024 3025 // ClusterConnectConsistencyLevel indicates an expected call of ClusterConnectConsistencyLevel. 3026 func (mr *MockAdminOptionsMockRecorder) ClusterConnectConsistencyLevel() *gomock.Call { 3027 mr.mock.ctrl.T.Helper() 3028 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).ClusterConnectConsistencyLevel)) 3029 } 3030 3031 // ClusterConnectTimeout mocks base method. 3032 func (m *MockAdminOptions) ClusterConnectTimeout() time.Duration { 3033 m.ctrl.T.Helper() 3034 ret := m.ctrl.Call(m, "ClusterConnectTimeout") 3035 ret0, _ := ret[0].(time.Duration) 3036 return ret0 3037 } 3038 3039 // ClusterConnectTimeout indicates an expected call of ClusterConnectTimeout. 3040 func (mr *MockAdminOptionsMockRecorder) ClusterConnectTimeout() *gomock.Call { 3041 mr.mock.ctrl.T.Helper() 3042 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClusterConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).ClusterConnectTimeout)) 3043 } 3044 3045 // ContextPool mocks base method. 3046 func (m *MockAdminOptions) ContextPool() context0.Pool { 3047 m.ctrl.T.Helper() 3048 ret := m.ctrl.Call(m, "ContextPool") 3049 ret0, _ := ret[0].(context0.Pool) 3050 return ret0 3051 } 3052 3053 // ContextPool indicates an expected call of ContextPool. 3054 func (mr *MockAdminOptionsMockRecorder) ContextPool() *gomock.Call { 3055 mr.mock.ctrl.T.Helper() 3056 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContextPool", reflect.TypeOf((*MockAdminOptions)(nil).ContextPool)) 3057 } 3058 3059 // FetchBatchOpPoolSize mocks base method. 3060 func (m *MockAdminOptions) FetchBatchOpPoolSize() pool.Size { 3061 m.ctrl.T.Helper() 3062 ret := m.ctrl.Call(m, "FetchBatchOpPoolSize") 3063 ret0, _ := ret[0].(pool.Size) 3064 return ret0 3065 } 3066 3067 // FetchBatchOpPoolSize indicates an expected call of FetchBatchOpPoolSize. 3068 func (mr *MockAdminOptionsMockRecorder) FetchBatchOpPoolSize() *gomock.Call { 3069 mr.mock.ctrl.T.Helper() 3070 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchBatchOpPoolSize)) 3071 } 3072 3073 // FetchBatchSize mocks base method. 3074 func (m *MockAdminOptions) FetchBatchSize() int { 3075 m.ctrl.T.Helper() 3076 ret := m.ctrl.Call(m, "FetchBatchSize") 3077 ret0, _ := ret[0].(int) 3078 return ret0 3079 } 3080 3081 // FetchBatchSize indicates an expected call of FetchBatchSize. 3082 func (mr *MockAdminOptionsMockRecorder) FetchBatchSize() *gomock.Call { 3083 mr.mock.ctrl.T.Helper() 3084 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchBatchSize)) 3085 } 3086 3087 // FetchRequestTimeout mocks base method. 3088 func (m *MockAdminOptions) FetchRequestTimeout() time.Duration { 3089 m.ctrl.T.Helper() 3090 ret := m.ctrl.Call(m, "FetchRequestTimeout") 3091 ret0, _ := ret[0].(time.Duration) 3092 return ret0 3093 } 3094 3095 // FetchRequestTimeout indicates an expected call of FetchRequestTimeout. 3096 func (mr *MockAdminOptionsMockRecorder) FetchRequestTimeout() *gomock.Call { 3097 mr.mock.ctrl.T.Helper() 3098 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchRequestTimeout)) 3099 } 3100 3101 // FetchRetrier mocks base method. 3102 func (m *MockAdminOptions) FetchRetrier() retry.Retrier { 3103 m.ctrl.T.Helper() 3104 ret := m.ctrl.Call(m, "FetchRetrier") 3105 ret0, _ := ret[0].(retry.Retrier) 3106 return ret0 3107 } 3108 3109 // FetchRetrier indicates an expected call of FetchRetrier. 3110 func (mr *MockAdminOptionsMockRecorder) FetchRetrier() *gomock.Call { 3111 mr.mock.ctrl.T.Helper() 3112 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchRetrier", reflect.TypeOf((*MockAdminOptions)(nil).FetchRetrier)) 3113 } 3114 3115 // FetchSeriesBlocksBatchConcurrency mocks base method. 3116 func (m *MockAdminOptions) FetchSeriesBlocksBatchConcurrency() int { 3117 m.ctrl.T.Helper() 3118 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchConcurrency") 3119 ret0, _ := ret[0].(int) 3120 return ret0 3121 } 3122 3123 // FetchSeriesBlocksBatchConcurrency indicates an expected call of FetchSeriesBlocksBatchConcurrency. 3124 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchConcurrency() *gomock.Call { 3125 mr.mock.ctrl.T.Helper() 3126 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchConcurrency)) 3127 } 3128 3129 // FetchSeriesBlocksBatchSize mocks base method. 3130 func (m *MockAdminOptions) FetchSeriesBlocksBatchSize() int { 3131 m.ctrl.T.Helper() 3132 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchSize") 3133 ret0, _ := ret[0].(int) 3134 return ret0 3135 } 3136 3137 // FetchSeriesBlocksBatchSize indicates an expected call of FetchSeriesBlocksBatchSize. 3138 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchSize() *gomock.Call { 3139 mr.mock.ctrl.T.Helper() 3140 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchSize)) 3141 } 3142 3143 // FetchSeriesBlocksBatchTimeout mocks base method. 3144 func (m *MockAdminOptions) FetchSeriesBlocksBatchTimeout() time.Duration { 3145 m.ctrl.T.Helper() 3146 ret := m.ctrl.Call(m, "FetchSeriesBlocksBatchTimeout") 3147 ret0, _ := ret[0].(time.Duration) 3148 return ret0 3149 } 3150 3151 // FetchSeriesBlocksBatchTimeout indicates an expected call of FetchSeriesBlocksBatchTimeout. 3152 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksBatchTimeout() *gomock.Call { 3153 mr.mock.ctrl.T.Helper() 3154 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksBatchTimeout)) 3155 } 3156 3157 // FetchSeriesBlocksMaxBlockRetries mocks base method. 3158 func (m *MockAdminOptions) FetchSeriesBlocksMaxBlockRetries() int { 3159 m.ctrl.T.Helper() 3160 ret := m.ctrl.Call(m, "FetchSeriesBlocksMaxBlockRetries") 3161 ret0, _ := ret[0].(int) 3162 return ret0 3163 } 3164 3165 // FetchSeriesBlocksMaxBlockRetries indicates an expected call of FetchSeriesBlocksMaxBlockRetries. 3166 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksMaxBlockRetries() *gomock.Call { 3167 mr.mock.ctrl.T.Helper() 3168 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksMaxBlockRetries", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksMaxBlockRetries)) 3169 } 3170 3171 // FetchSeriesBlocksMetadataBatchTimeout mocks base method. 3172 func (m *MockAdminOptions) FetchSeriesBlocksMetadataBatchTimeout() time.Duration { 3173 m.ctrl.T.Helper() 3174 ret := m.ctrl.Call(m, "FetchSeriesBlocksMetadataBatchTimeout") 3175 ret0, _ := ret[0].(time.Duration) 3176 return ret0 3177 } 3178 3179 // FetchSeriesBlocksMetadataBatchTimeout indicates an expected call of FetchSeriesBlocksMetadataBatchTimeout. 3180 func (mr *MockAdminOptionsMockRecorder) FetchSeriesBlocksMetadataBatchTimeout() *gomock.Call { 3181 mr.mock.ctrl.T.Helper() 3182 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchSeriesBlocksMetadataBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).FetchSeriesBlocksMetadataBatchTimeout)) 3183 } 3184 3185 // HostConnectTimeout mocks base method. 3186 func (m *MockAdminOptions) HostConnectTimeout() time.Duration { 3187 m.ctrl.T.Helper() 3188 ret := m.ctrl.Call(m, "HostConnectTimeout") 3189 ret0, _ := ret[0].(time.Duration) 3190 return ret0 3191 } 3192 3193 // HostConnectTimeout indicates an expected call of HostConnectTimeout. 3194 func (mr *MockAdminOptionsMockRecorder) HostConnectTimeout() *gomock.Call { 3195 mr.mock.ctrl.T.Helper() 3196 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).HostConnectTimeout)) 3197 } 3198 3199 // HostQueueEmitsHealthStatus mocks base method. 3200 func (m *MockAdminOptions) HostQueueEmitsHealthStatus() bool { 3201 m.ctrl.T.Helper() 3202 ret := m.ctrl.Call(m, "HostQueueEmitsHealthStatus") 3203 ret0, _ := ret[0].(bool) 3204 return ret0 3205 } 3206 3207 // HostQueueEmitsHealthStatus indicates an expected call of HostQueueEmitsHealthStatus. 3208 func (mr *MockAdminOptionsMockRecorder) HostQueueEmitsHealthStatus() *gomock.Call { 3209 mr.mock.ctrl.T.Helper() 3210 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueEmitsHealthStatus", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueEmitsHealthStatus)) 3211 } 3212 3213 // HostQueueNewPooledWorkerFn mocks base method. 3214 func (m *MockAdminOptions) HostQueueNewPooledWorkerFn() sync.NewPooledWorkerFn { 3215 m.ctrl.T.Helper() 3216 ret := m.ctrl.Call(m, "HostQueueNewPooledWorkerFn") 3217 ret0, _ := ret[0].(sync.NewPooledWorkerFn) 3218 return ret0 3219 } 3220 3221 // HostQueueNewPooledWorkerFn indicates an expected call of HostQueueNewPooledWorkerFn. 3222 func (mr *MockAdminOptionsMockRecorder) HostQueueNewPooledWorkerFn() *gomock.Call { 3223 mr.mock.ctrl.T.Helper() 3224 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueNewPooledWorkerFn", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueNewPooledWorkerFn)) 3225 } 3226 3227 // HostQueueOpsArrayPoolSize mocks base method. 3228 func (m *MockAdminOptions) HostQueueOpsArrayPoolSize() pool.Size { 3229 m.ctrl.T.Helper() 3230 ret := m.ctrl.Call(m, "HostQueueOpsArrayPoolSize") 3231 ret0, _ := ret[0].(pool.Size) 3232 return ret0 3233 } 3234 3235 // HostQueueOpsArrayPoolSize indicates an expected call of HostQueueOpsArrayPoolSize. 3236 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsArrayPoolSize() *gomock.Call { 3237 mr.mock.ctrl.T.Helper() 3238 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsArrayPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsArrayPoolSize)) 3239 } 3240 3241 // HostQueueOpsFlushInterval mocks base method. 3242 func (m *MockAdminOptions) HostQueueOpsFlushInterval() time.Duration { 3243 m.ctrl.T.Helper() 3244 ret := m.ctrl.Call(m, "HostQueueOpsFlushInterval") 3245 ret0, _ := ret[0].(time.Duration) 3246 return ret0 3247 } 3248 3249 // HostQueueOpsFlushInterval indicates an expected call of HostQueueOpsFlushInterval. 3250 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsFlushInterval() *gomock.Call { 3251 mr.mock.ctrl.T.Helper() 3252 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushInterval", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsFlushInterval)) 3253 } 3254 3255 // HostQueueOpsFlushSize mocks base method. 3256 func (m *MockAdminOptions) HostQueueOpsFlushSize() int { 3257 m.ctrl.T.Helper() 3258 ret := m.ctrl.Call(m, "HostQueueOpsFlushSize") 3259 ret0, _ := ret[0].(int) 3260 return ret0 3261 } 3262 3263 // HostQueueOpsFlushSize indicates an expected call of HostQueueOpsFlushSize. 3264 func (mr *MockAdminOptionsMockRecorder) HostQueueOpsFlushSize() *gomock.Call { 3265 mr.mock.ctrl.T.Helper() 3266 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostQueueOpsFlushSize", reflect.TypeOf((*MockAdminOptions)(nil).HostQueueOpsFlushSize)) 3267 } 3268 3269 // IdentifierPool mocks base method. 3270 func (m *MockAdminOptions) IdentifierPool() ident.Pool { 3271 m.ctrl.T.Helper() 3272 ret := m.ctrl.Call(m, "IdentifierPool") 3273 ret0, _ := ret[0].(ident.Pool) 3274 return ret0 3275 } 3276 3277 // IdentifierPool indicates an expected call of IdentifierPool. 3278 func (mr *MockAdminOptionsMockRecorder) IdentifierPool() *gomock.Call { 3279 mr.mock.ctrl.T.Helper() 3280 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentifierPool", reflect.TypeOf((*MockAdminOptions)(nil).IdentifierPool)) 3281 } 3282 3283 // InstrumentOptions mocks base method. 3284 func (m *MockAdminOptions) InstrumentOptions() instrument.Options { 3285 m.ctrl.T.Helper() 3286 ret := m.ctrl.Call(m, "InstrumentOptions") 3287 ret0, _ := ret[0].(instrument.Options) 3288 return ret0 3289 } 3290 3291 // InstrumentOptions indicates an expected call of InstrumentOptions. 3292 func (mr *MockAdminOptionsMockRecorder) InstrumentOptions() *gomock.Call { 3293 mr.mock.ctrl.T.Helper() 3294 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstrumentOptions", reflect.TypeOf((*MockAdminOptions)(nil).InstrumentOptions)) 3295 } 3296 3297 // IsSetEncodingProto mocks base method. 3298 func (m *MockAdminOptions) IsSetEncodingProto() bool { 3299 m.ctrl.T.Helper() 3300 ret := m.ctrl.Call(m, "IsSetEncodingProto") 3301 ret0, _ := ret[0].(bool) 3302 return ret0 3303 } 3304 3305 // IsSetEncodingProto indicates an expected call of IsSetEncodingProto. 3306 func (mr *MockAdminOptionsMockRecorder) IsSetEncodingProto() *gomock.Call { 3307 mr.mock.ctrl.T.Helper() 3308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSetEncodingProto", reflect.TypeOf((*MockAdminOptions)(nil).IsSetEncodingProto)) 3309 } 3310 3311 // IterationOptions mocks base method. 3312 func (m *MockAdminOptions) IterationOptions() index.IterationOptions { 3313 m.ctrl.T.Helper() 3314 ret := m.ctrl.Call(m, "IterationOptions") 3315 ret0, _ := ret[0].(index.IterationOptions) 3316 return ret0 3317 } 3318 3319 // IterationOptions indicates an expected call of IterationOptions. 3320 func (mr *MockAdminOptionsMockRecorder) IterationOptions() *gomock.Call { 3321 mr.mock.ctrl.T.Helper() 3322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterationOptions", reflect.TypeOf((*MockAdminOptions)(nil).IterationOptions)) 3323 } 3324 3325 // LogErrorSampleRate mocks base method. 3326 func (m *MockAdminOptions) LogErrorSampleRate() sampler.Rate { 3327 m.ctrl.T.Helper() 3328 ret := m.ctrl.Call(m, "LogErrorSampleRate") 3329 ret0, _ := ret[0].(sampler.Rate) 3330 return ret0 3331 } 3332 3333 // LogErrorSampleRate indicates an expected call of LogErrorSampleRate. 3334 func (mr *MockAdminOptionsMockRecorder) LogErrorSampleRate() *gomock.Call { 3335 mr.mock.ctrl.T.Helper() 3336 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).LogErrorSampleRate)) 3337 } 3338 3339 // MaxConnectionCount mocks base method. 3340 func (m *MockAdminOptions) MaxConnectionCount() int { 3341 m.ctrl.T.Helper() 3342 ret := m.ctrl.Call(m, "MaxConnectionCount") 3343 ret0, _ := ret[0].(int) 3344 return ret0 3345 } 3346 3347 // MaxConnectionCount indicates an expected call of MaxConnectionCount. 3348 func (mr *MockAdminOptionsMockRecorder) MaxConnectionCount() *gomock.Call { 3349 mr.mock.ctrl.T.Helper() 3350 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MaxConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).MaxConnectionCount)) 3351 } 3352 3353 // MinConnectionCount mocks base method. 3354 func (m *MockAdminOptions) MinConnectionCount() int { 3355 m.ctrl.T.Helper() 3356 ret := m.ctrl.Call(m, "MinConnectionCount") 3357 ret0, _ := ret[0].(int) 3358 return ret0 3359 } 3360 3361 // MinConnectionCount indicates an expected call of MinConnectionCount. 3362 func (mr *MockAdminOptionsMockRecorder) MinConnectionCount() *gomock.Call { 3363 mr.mock.ctrl.T.Helper() 3364 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).MinConnectionCount)) 3365 } 3366 3367 // NamespaceInitializer mocks base method. 3368 func (m *MockAdminOptions) NamespaceInitializer() namespace.Initializer { 3369 m.ctrl.T.Helper() 3370 ret := m.ctrl.Call(m, "NamespaceInitializer") 3371 ret0, _ := ret[0].(namespace.Initializer) 3372 return ret0 3373 } 3374 3375 // NamespaceInitializer indicates an expected call of NamespaceInitializer. 3376 func (mr *MockAdminOptionsMockRecorder) NamespaceInitializer() *gomock.Call { 3377 mr.mock.ctrl.T.Helper() 3378 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NamespaceInitializer", reflect.TypeOf((*MockAdminOptions)(nil).NamespaceInitializer)) 3379 } 3380 3381 // NewConnectionFn mocks base method. 3382 func (m *MockAdminOptions) NewConnectionFn() NewConnectionFn { 3383 m.ctrl.T.Helper() 3384 ret := m.ctrl.Call(m, "NewConnectionFn") 3385 ret0, _ := ret[0].(NewConnectionFn) 3386 return ret0 3387 } 3388 3389 // NewConnectionFn indicates an expected call of NewConnectionFn. 3390 func (mr *MockAdminOptionsMockRecorder) NewConnectionFn() *gomock.Call { 3391 mr.mock.ctrl.T.Helper() 3392 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewConnectionFn", reflect.TypeOf((*MockAdminOptions)(nil).NewConnectionFn)) 3393 } 3394 3395 // Origin mocks base method. 3396 func (m *MockAdminOptions) Origin() topology.Host { 3397 m.ctrl.T.Helper() 3398 ret := m.ctrl.Call(m, "Origin") 3399 ret0, _ := ret[0].(topology.Host) 3400 return ret0 3401 } 3402 3403 // Origin indicates an expected call of Origin. 3404 func (mr *MockAdminOptionsMockRecorder) Origin() *gomock.Call { 3405 mr.mock.ctrl.T.Helper() 3406 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockAdminOptions)(nil).Origin)) 3407 } 3408 3409 // ReadConsistencyLevel mocks base method. 3410 func (m *MockAdminOptions) ReadConsistencyLevel() topology.ReadConsistencyLevel { 3411 m.ctrl.T.Helper() 3412 ret := m.ctrl.Call(m, "ReadConsistencyLevel") 3413 ret0, _ := ret[0].(topology.ReadConsistencyLevel) 3414 return ret0 3415 } 3416 3417 // ReadConsistencyLevel indicates an expected call of ReadConsistencyLevel. 3418 func (mr *MockAdminOptionsMockRecorder) ReadConsistencyLevel() *gomock.Call { 3419 mr.mock.ctrl.T.Helper() 3420 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).ReadConsistencyLevel)) 3421 } 3422 3423 // ReaderIteratorAllocate mocks base method. 3424 func (m *MockAdminOptions) ReaderIteratorAllocate() encoding.ReaderIteratorAllocate { 3425 m.ctrl.T.Helper() 3426 ret := m.ctrl.Call(m, "ReaderIteratorAllocate") 3427 ret0, _ := ret[0].(encoding.ReaderIteratorAllocate) 3428 return ret0 3429 } 3430 3431 // ReaderIteratorAllocate indicates an expected call of ReaderIteratorAllocate. 3432 func (mr *MockAdminOptionsMockRecorder) ReaderIteratorAllocate() *gomock.Call { 3433 mr.mock.ctrl.T.Helper() 3434 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReaderIteratorAllocate", reflect.TypeOf((*MockAdminOptions)(nil).ReaderIteratorAllocate)) 3435 } 3436 3437 // RuntimeOptionsManager mocks base method. 3438 func (m *MockAdminOptions) RuntimeOptionsManager() runtime.OptionsManager { 3439 m.ctrl.T.Helper() 3440 ret := m.ctrl.Call(m, "RuntimeOptionsManager") 3441 ret0, _ := ret[0].(runtime.OptionsManager) 3442 return ret0 3443 } 3444 3445 // RuntimeOptionsManager indicates an expected call of RuntimeOptionsManager. 3446 func (mr *MockAdminOptionsMockRecorder) RuntimeOptionsManager() *gomock.Call { 3447 mr.mock.ctrl.T.Helper() 3448 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RuntimeOptionsManager", reflect.TypeOf((*MockAdminOptions)(nil).RuntimeOptionsManager)) 3449 } 3450 3451 // SchemaRegistry mocks base method. 3452 func (m *MockAdminOptions) SchemaRegistry() namespace.SchemaRegistry { 3453 m.ctrl.T.Helper() 3454 ret := m.ctrl.Call(m, "SchemaRegistry") 3455 ret0, _ := ret[0].(namespace.SchemaRegistry) 3456 return ret0 3457 } 3458 3459 // SchemaRegistry indicates an expected call of SchemaRegistry. 3460 func (mr *MockAdminOptionsMockRecorder) SchemaRegistry() *gomock.Call { 3461 mr.mock.ctrl.T.Helper() 3462 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SchemaRegistry", reflect.TypeOf((*MockAdminOptions)(nil).SchemaRegistry)) 3463 } 3464 3465 // SeriesIteratorPoolSize mocks base method. 3466 func (m *MockAdminOptions) SeriesIteratorPoolSize() pool.Size { 3467 m.ctrl.T.Helper() 3468 ret := m.ctrl.Call(m, "SeriesIteratorPoolSize") 3469 ret0, _ := ret[0].(pool.Size) 3470 return ret0 3471 } 3472 3473 // SeriesIteratorPoolSize indicates an expected call of SeriesIteratorPoolSize. 3474 func (mr *MockAdminOptionsMockRecorder) SeriesIteratorPoolSize() *gomock.Call { 3475 mr.mock.ctrl.T.Helper() 3476 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeriesIteratorPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SeriesIteratorPoolSize)) 3477 } 3478 3479 // SetAsyncTopologyInitializers mocks base method. 3480 func (m *MockAdminOptions) SetAsyncTopologyInitializers(value []topology.Initializer) Options { 3481 m.ctrl.T.Helper() 3482 ret := m.ctrl.Call(m, "SetAsyncTopologyInitializers", value) 3483 ret0, _ := ret[0].(Options) 3484 return ret0 3485 } 3486 3487 // SetAsyncTopologyInitializers indicates an expected call of SetAsyncTopologyInitializers. 3488 func (mr *MockAdminOptionsMockRecorder) SetAsyncTopologyInitializers(value interface{}) *gomock.Call { 3489 mr.mock.ctrl.T.Helper() 3490 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncTopologyInitializers", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncTopologyInitializers), value) 3491 } 3492 3493 // SetAsyncWriteMaxConcurrency mocks base method. 3494 func (m *MockAdminOptions) SetAsyncWriteMaxConcurrency(value int) Options { 3495 m.ctrl.T.Helper() 3496 ret := m.ctrl.Call(m, "SetAsyncWriteMaxConcurrency", value) 3497 ret0, _ := ret[0].(Options) 3498 return ret0 3499 } 3500 3501 // SetAsyncWriteMaxConcurrency indicates an expected call of SetAsyncWriteMaxConcurrency. 3502 func (mr *MockAdminOptionsMockRecorder) SetAsyncWriteMaxConcurrency(value interface{}) *gomock.Call { 3503 mr.mock.ctrl.T.Helper() 3504 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteMaxConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncWriteMaxConcurrency), value) 3505 } 3506 3507 // SetAsyncWriteWorkerPool mocks base method. 3508 func (m *MockAdminOptions) SetAsyncWriteWorkerPool(value sync.PooledWorkerPool) Options { 3509 m.ctrl.T.Helper() 3510 ret := m.ctrl.Call(m, "SetAsyncWriteWorkerPool", value) 3511 ret0, _ := ret[0].(Options) 3512 return ret0 3513 } 3514 3515 // SetAsyncWriteWorkerPool indicates an expected call of SetAsyncWriteWorkerPool. 3516 func (mr *MockAdminOptionsMockRecorder) SetAsyncWriteWorkerPool(value interface{}) *gomock.Call { 3517 mr.mock.ctrl.T.Helper() 3518 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAsyncWriteWorkerPool", reflect.TypeOf((*MockAdminOptions)(nil).SetAsyncWriteWorkerPool), value) 3519 } 3520 3521 // SetBackgroundConnectInterval mocks base method. 3522 func (m *MockAdminOptions) SetBackgroundConnectInterval(value time.Duration) Options { 3523 m.ctrl.T.Helper() 3524 ret := m.ctrl.Call(m, "SetBackgroundConnectInterval", value) 3525 ret0, _ := ret[0].(Options) 3526 return ret0 3527 } 3528 3529 // SetBackgroundConnectInterval indicates an expected call of SetBackgroundConnectInterval. 3530 func (mr *MockAdminOptionsMockRecorder) SetBackgroundConnectInterval(value interface{}) *gomock.Call { 3531 mr.mock.ctrl.T.Helper() 3532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundConnectInterval), value) 3533 } 3534 3535 // SetBackgroundConnectStutter mocks base method. 3536 func (m *MockAdminOptions) SetBackgroundConnectStutter(value time.Duration) Options { 3537 m.ctrl.T.Helper() 3538 ret := m.ctrl.Call(m, "SetBackgroundConnectStutter", value) 3539 ret0, _ := ret[0].(Options) 3540 return ret0 3541 } 3542 3543 // SetBackgroundConnectStutter indicates an expected call of SetBackgroundConnectStutter. 3544 func (mr *MockAdminOptionsMockRecorder) SetBackgroundConnectStutter(value interface{}) *gomock.Call { 3545 mr.mock.ctrl.T.Helper() 3546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundConnectStutter", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundConnectStutter), value) 3547 } 3548 3549 // SetBackgroundHealthCheckFailLimit mocks base method. 3550 func (m *MockAdminOptions) SetBackgroundHealthCheckFailLimit(value int) Options { 3551 m.ctrl.T.Helper() 3552 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailLimit", value) 3553 ret0, _ := ret[0].(Options) 3554 return ret0 3555 } 3556 3557 // SetBackgroundHealthCheckFailLimit indicates an expected call of SetBackgroundHealthCheckFailLimit. 3558 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckFailLimit(value interface{}) *gomock.Call { 3559 mr.mock.ctrl.T.Helper() 3560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailLimit", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckFailLimit), value) 3561 } 3562 3563 // SetBackgroundHealthCheckFailThrottleFactor mocks base method. 3564 func (m *MockAdminOptions) SetBackgroundHealthCheckFailThrottleFactor(value float64) Options { 3565 m.ctrl.T.Helper() 3566 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckFailThrottleFactor", value) 3567 ret0, _ := ret[0].(Options) 3568 return ret0 3569 } 3570 3571 // SetBackgroundHealthCheckFailThrottleFactor indicates an expected call of SetBackgroundHealthCheckFailThrottleFactor. 3572 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckFailThrottleFactor(value interface{}) *gomock.Call { 3573 mr.mock.ctrl.T.Helper() 3574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckFailThrottleFactor", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckFailThrottleFactor), value) 3575 } 3576 3577 // SetBackgroundHealthCheckInterval mocks base method. 3578 func (m *MockAdminOptions) SetBackgroundHealthCheckInterval(value time.Duration) Options { 3579 m.ctrl.T.Helper() 3580 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckInterval", value) 3581 ret0, _ := ret[0].(Options) 3582 return ret0 3583 } 3584 3585 // SetBackgroundHealthCheckInterval indicates an expected call of SetBackgroundHealthCheckInterval. 3586 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckInterval(value interface{}) *gomock.Call { 3587 mr.mock.ctrl.T.Helper() 3588 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckInterval), value) 3589 } 3590 3591 // SetBackgroundHealthCheckStutter mocks base method. 3592 func (m *MockAdminOptions) SetBackgroundHealthCheckStutter(value time.Duration) Options { 3593 m.ctrl.T.Helper() 3594 ret := m.ctrl.Call(m, "SetBackgroundHealthCheckStutter", value) 3595 ret0, _ := ret[0].(Options) 3596 return ret0 3597 } 3598 3599 // SetBackgroundHealthCheckStutter indicates an expected call of SetBackgroundHealthCheckStutter. 3600 func (mr *MockAdminOptionsMockRecorder) SetBackgroundHealthCheckStutter(value interface{}) *gomock.Call { 3601 mr.mock.ctrl.T.Helper() 3602 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackgroundHealthCheckStutter", reflect.TypeOf((*MockAdminOptions)(nil).SetBackgroundHealthCheckStutter), value) 3603 } 3604 3605 // SetBootstrapConsistencyLevel mocks base method. 3606 func (m *MockAdminOptions) SetBootstrapConsistencyLevel(value topology.ReadConsistencyLevel) AdminOptions { 3607 m.ctrl.T.Helper() 3608 ret := m.ctrl.Call(m, "SetBootstrapConsistencyLevel", value) 3609 ret0, _ := ret[0].(AdminOptions) 3610 return ret0 3611 } 3612 3613 // SetBootstrapConsistencyLevel indicates an expected call of SetBootstrapConsistencyLevel. 3614 func (mr *MockAdminOptionsMockRecorder) SetBootstrapConsistencyLevel(value interface{}) *gomock.Call { 3615 mr.mock.ctrl.T.Helper() 3616 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBootstrapConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetBootstrapConsistencyLevel), value) 3617 } 3618 3619 // SetChannelOptions mocks base method. 3620 func (m *MockAdminOptions) SetChannelOptions(value *tchannel_go.ChannelOptions) Options { 3621 m.ctrl.T.Helper() 3622 ret := m.ctrl.Call(m, "SetChannelOptions", value) 3623 ret0, _ := ret[0].(Options) 3624 return ret0 3625 } 3626 3627 // SetChannelOptions indicates an expected call of SetChannelOptions. 3628 func (mr *MockAdminOptionsMockRecorder) SetChannelOptions(value interface{}) *gomock.Call { 3629 mr.mock.ctrl.T.Helper() 3630 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetChannelOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetChannelOptions), value) 3631 } 3632 3633 // SetCheckedBytesPool mocks base method. 3634 func (m *MockAdminOptions) SetCheckedBytesPool(value pool.CheckedBytesPool) Options { 3635 m.ctrl.T.Helper() 3636 ret := m.ctrl.Call(m, "SetCheckedBytesPool", value) 3637 ret0, _ := ret[0].(Options) 3638 return ret0 3639 } 3640 3641 // SetCheckedBytesPool indicates an expected call of SetCheckedBytesPool. 3642 func (mr *MockAdminOptionsMockRecorder) SetCheckedBytesPool(value interface{}) *gomock.Call { 3643 mr.mock.ctrl.T.Helper() 3644 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesPool", reflect.TypeOf((*MockAdminOptions)(nil).SetCheckedBytesPool), value) 3645 } 3646 3647 // SetCheckedBytesWrapperPoolSize mocks base method. 3648 func (m *MockAdminOptions) SetCheckedBytesWrapperPoolSize(value pool.Size) Options { 3649 m.ctrl.T.Helper() 3650 ret := m.ctrl.Call(m, "SetCheckedBytesWrapperPoolSize", value) 3651 ret0, _ := ret[0].(Options) 3652 return ret0 3653 } 3654 3655 // SetCheckedBytesWrapperPoolSize indicates an expected call of SetCheckedBytesWrapperPoolSize. 3656 func (mr *MockAdminOptionsMockRecorder) SetCheckedBytesWrapperPoolSize(value interface{}) *gomock.Call { 3657 mr.mock.ctrl.T.Helper() 3658 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesWrapperPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetCheckedBytesWrapperPoolSize), value) 3659 } 3660 3661 // SetClockOptions mocks base method. 3662 func (m *MockAdminOptions) SetClockOptions(value clock.Options) Options { 3663 m.ctrl.T.Helper() 3664 ret := m.ctrl.Call(m, "SetClockOptions", value) 3665 ret0, _ := ret[0].(Options) 3666 return ret0 3667 } 3668 3669 // SetClockOptions indicates an expected call of SetClockOptions. 3670 func (mr *MockAdminOptionsMockRecorder) SetClockOptions(value interface{}) *gomock.Call { 3671 mr.mock.ctrl.T.Helper() 3672 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClockOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetClockOptions), value) 3673 } 3674 3675 // SetClusterConnectConsistencyLevel mocks base method. 3676 func (m *MockAdminOptions) SetClusterConnectConsistencyLevel(value topology.ConnectConsistencyLevel) Options { 3677 m.ctrl.T.Helper() 3678 ret := m.ctrl.Call(m, "SetClusterConnectConsistencyLevel", value) 3679 ret0, _ := ret[0].(Options) 3680 return ret0 3681 } 3682 3683 // SetClusterConnectConsistencyLevel indicates an expected call of SetClusterConnectConsistencyLevel. 3684 func (mr *MockAdminOptionsMockRecorder) SetClusterConnectConsistencyLevel(value interface{}) *gomock.Call { 3685 mr.mock.ctrl.T.Helper() 3686 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetClusterConnectConsistencyLevel), value) 3687 } 3688 3689 // SetClusterConnectTimeout mocks base method. 3690 func (m *MockAdminOptions) SetClusterConnectTimeout(value time.Duration) Options { 3691 m.ctrl.T.Helper() 3692 ret := m.ctrl.Call(m, "SetClusterConnectTimeout", value) 3693 ret0, _ := ret[0].(Options) 3694 return ret0 3695 } 3696 3697 // SetClusterConnectTimeout indicates an expected call of SetClusterConnectTimeout. 3698 func (mr *MockAdminOptionsMockRecorder) SetClusterConnectTimeout(value interface{}) *gomock.Call { 3699 mr.mock.ctrl.T.Helper() 3700 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetClusterConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetClusterConnectTimeout), value) 3701 } 3702 3703 // SetContextPool mocks base method. 3704 func (m *MockAdminOptions) SetContextPool(value context0.Pool) Options { 3705 m.ctrl.T.Helper() 3706 ret := m.ctrl.Call(m, "SetContextPool", value) 3707 ret0, _ := ret[0].(Options) 3708 return ret0 3709 } 3710 3711 // SetContextPool indicates an expected call of SetContextPool. 3712 func (mr *MockAdminOptionsMockRecorder) SetContextPool(value interface{}) *gomock.Call { 3713 mr.mock.ctrl.T.Helper() 3714 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetContextPool", reflect.TypeOf((*MockAdminOptions)(nil).SetContextPool), value) 3715 } 3716 3717 // SetEncodingM3TSZ mocks base method. 3718 func (m *MockAdminOptions) SetEncodingM3TSZ() Options { 3719 m.ctrl.T.Helper() 3720 ret := m.ctrl.Call(m, "SetEncodingM3TSZ") 3721 ret0, _ := ret[0].(Options) 3722 return ret0 3723 } 3724 3725 // SetEncodingM3TSZ indicates an expected call of SetEncodingM3TSZ. 3726 func (mr *MockAdminOptionsMockRecorder) SetEncodingM3TSZ() *gomock.Call { 3727 mr.mock.ctrl.T.Helper() 3728 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingM3TSZ", reflect.TypeOf((*MockAdminOptions)(nil).SetEncodingM3TSZ)) 3729 } 3730 3731 // SetEncodingProto mocks base method. 3732 func (m *MockAdminOptions) SetEncodingProto(encodingOpts encoding.Options) Options { 3733 m.ctrl.T.Helper() 3734 ret := m.ctrl.Call(m, "SetEncodingProto", encodingOpts) 3735 ret0, _ := ret[0].(Options) 3736 return ret0 3737 } 3738 3739 // SetEncodingProto indicates an expected call of SetEncodingProto. 3740 func (mr *MockAdminOptionsMockRecorder) SetEncodingProto(encodingOpts interface{}) *gomock.Call { 3741 mr.mock.ctrl.T.Helper() 3742 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncodingProto", reflect.TypeOf((*MockAdminOptions)(nil).SetEncodingProto), encodingOpts) 3743 } 3744 3745 // SetFetchBatchOpPoolSize mocks base method. 3746 func (m *MockAdminOptions) SetFetchBatchOpPoolSize(value pool.Size) Options { 3747 m.ctrl.T.Helper() 3748 ret := m.ctrl.Call(m, "SetFetchBatchOpPoolSize", value) 3749 ret0, _ := ret[0].(Options) 3750 return ret0 3751 } 3752 3753 // SetFetchBatchOpPoolSize indicates an expected call of SetFetchBatchOpPoolSize. 3754 func (mr *MockAdminOptionsMockRecorder) SetFetchBatchOpPoolSize(value interface{}) *gomock.Call { 3755 mr.mock.ctrl.T.Helper() 3756 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchBatchOpPoolSize), value) 3757 } 3758 3759 // SetFetchBatchSize mocks base method. 3760 func (m *MockAdminOptions) SetFetchBatchSize(value int) Options { 3761 m.ctrl.T.Helper() 3762 ret := m.ctrl.Call(m, "SetFetchBatchSize", value) 3763 ret0, _ := ret[0].(Options) 3764 return ret0 3765 } 3766 3767 // SetFetchBatchSize indicates an expected call of SetFetchBatchSize. 3768 func (mr *MockAdminOptionsMockRecorder) SetFetchBatchSize(value interface{}) *gomock.Call { 3769 mr.mock.ctrl.T.Helper() 3770 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchBatchSize), value) 3771 } 3772 3773 // SetFetchRequestTimeout mocks base method. 3774 func (m *MockAdminOptions) SetFetchRequestTimeout(value time.Duration) Options { 3775 m.ctrl.T.Helper() 3776 ret := m.ctrl.Call(m, "SetFetchRequestTimeout", value) 3777 ret0, _ := ret[0].(Options) 3778 return ret0 3779 } 3780 3781 // SetFetchRequestTimeout indicates an expected call of SetFetchRequestTimeout. 3782 func (mr *MockAdminOptionsMockRecorder) SetFetchRequestTimeout(value interface{}) *gomock.Call { 3783 mr.mock.ctrl.T.Helper() 3784 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchRequestTimeout), value) 3785 } 3786 3787 // SetFetchRetrier mocks base method. 3788 func (m *MockAdminOptions) SetFetchRetrier(value retry.Retrier) Options { 3789 m.ctrl.T.Helper() 3790 ret := m.ctrl.Call(m, "SetFetchRetrier", value) 3791 ret0, _ := ret[0].(Options) 3792 return ret0 3793 } 3794 3795 // SetFetchRetrier indicates an expected call of SetFetchRetrier. 3796 func (mr *MockAdminOptionsMockRecorder) SetFetchRetrier(value interface{}) *gomock.Call { 3797 mr.mock.ctrl.T.Helper() 3798 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchRetrier), value) 3799 } 3800 3801 // SetFetchSeriesBlocksBatchConcurrency mocks base method. 3802 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchConcurrency(value int) AdminOptions { 3803 m.ctrl.T.Helper() 3804 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchConcurrency", value) 3805 ret0, _ := ret[0].(AdminOptions) 3806 return ret0 3807 } 3808 3809 // SetFetchSeriesBlocksBatchConcurrency indicates an expected call of SetFetchSeriesBlocksBatchConcurrency. 3810 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchConcurrency(value interface{}) *gomock.Call { 3811 mr.mock.ctrl.T.Helper() 3812 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchConcurrency", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchConcurrency), value) 3813 } 3814 3815 // SetFetchSeriesBlocksBatchSize mocks base method. 3816 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchSize(value int) AdminOptions { 3817 m.ctrl.T.Helper() 3818 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchSize", value) 3819 ret0, _ := ret[0].(AdminOptions) 3820 return ret0 3821 } 3822 3823 // SetFetchSeriesBlocksBatchSize indicates an expected call of SetFetchSeriesBlocksBatchSize. 3824 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchSize(value interface{}) *gomock.Call { 3825 mr.mock.ctrl.T.Helper() 3826 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchSize), value) 3827 } 3828 3829 // SetFetchSeriesBlocksBatchTimeout mocks base method. 3830 func (m *MockAdminOptions) SetFetchSeriesBlocksBatchTimeout(value time.Duration) AdminOptions { 3831 m.ctrl.T.Helper() 3832 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksBatchTimeout", value) 3833 ret0, _ := ret[0].(AdminOptions) 3834 return ret0 3835 } 3836 3837 // SetFetchSeriesBlocksBatchTimeout indicates an expected call of SetFetchSeriesBlocksBatchTimeout. 3838 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksBatchTimeout(value interface{}) *gomock.Call { 3839 mr.mock.ctrl.T.Helper() 3840 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksBatchTimeout), value) 3841 } 3842 3843 // SetFetchSeriesBlocksMaxBlockRetries mocks base method. 3844 func (m *MockAdminOptions) SetFetchSeriesBlocksMaxBlockRetries(value int) AdminOptions { 3845 m.ctrl.T.Helper() 3846 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksMaxBlockRetries", value) 3847 ret0, _ := ret[0].(AdminOptions) 3848 return ret0 3849 } 3850 3851 // SetFetchSeriesBlocksMaxBlockRetries indicates an expected call of SetFetchSeriesBlocksMaxBlockRetries. 3852 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksMaxBlockRetries(value interface{}) *gomock.Call { 3853 mr.mock.ctrl.T.Helper() 3854 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksMaxBlockRetries", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksMaxBlockRetries), value) 3855 } 3856 3857 // SetFetchSeriesBlocksMetadataBatchTimeout mocks base method. 3858 func (m *MockAdminOptions) SetFetchSeriesBlocksMetadataBatchTimeout(value time.Duration) AdminOptions { 3859 m.ctrl.T.Helper() 3860 ret := m.ctrl.Call(m, "SetFetchSeriesBlocksMetadataBatchTimeout", value) 3861 ret0, _ := ret[0].(AdminOptions) 3862 return ret0 3863 } 3864 3865 // SetFetchSeriesBlocksMetadataBatchTimeout indicates an expected call of SetFetchSeriesBlocksMetadataBatchTimeout. 3866 func (mr *MockAdminOptionsMockRecorder) SetFetchSeriesBlocksMetadataBatchTimeout(value interface{}) *gomock.Call { 3867 mr.mock.ctrl.T.Helper() 3868 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFetchSeriesBlocksMetadataBatchTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetFetchSeriesBlocksMetadataBatchTimeout), value) 3869 } 3870 3871 // SetHostConnectTimeout mocks base method. 3872 func (m *MockAdminOptions) SetHostConnectTimeout(value time.Duration) Options { 3873 m.ctrl.T.Helper() 3874 ret := m.ctrl.Call(m, "SetHostConnectTimeout", value) 3875 ret0, _ := ret[0].(Options) 3876 return ret0 3877 } 3878 3879 // SetHostConnectTimeout indicates an expected call of SetHostConnectTimeout. 3880 func (mr *MockAdminOptionsMockRecorder) SetHostConnectTimeout(value interface{}) *gomock.Call { 3881 mr.mock.ctrl.T.Helper() 3882 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostConnectTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetHostConnectTimeout), value) 3883 } 3884 3885 // SetHostQueueEmitsHealthStatus mocks base method. 3886 func (m *MockAdminOptions) SetHostQueueEmitsHealthStatus(value bool) Options { 3887 m.ctrl.T.Helper() 3888 ret := m.ctrl.Call(m, "SetHostQueueEmitsHealthStatus", value) 3889 ret0, _ := ret[0].(Options) 3890 return ret0 3891 } 3892 3893 // SetHostQueueEmitsHealthStatus indicates an expected call of SetHostQueueEmitsHealthStatus. 3894 func (mr *MockAdminOptionsMockRecorder) SetHostQueueEmitsHealthStatus(value interface{}) *gomock.Call { 3895 mr.mock.ctrl.T.Helper() 3896 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueEmitsHealthStatus", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueEmitsHealthStatus), value) 3897 } 3898 3899 // SetHostQueueNewPooledWorkerFn mocks base method. 3900 func (m *MockAdminOptions) SetHostQueueNewPooledWorkerFn(value sync.NewPooledWorkerFn) Options { 3901 m.ctrl.T.Helper() 3902 ret := m.ctrl.Call(m, "SetHostQueueNewPooledWorkerFn", value) 3903 ret0, _ := ret[0].(Options) 3904 return ret0 3905 } 3906 3907 // SetHostQueueNewPooledWorkerFn indicates an expected call of SetHostQueueNewPooledWorkerFn. 3908 func (mr *MockAdminOptionsMockRecorder) SetHostQueueNewPooledWorkerFn(value interface{}) *gomock.Call { 3909 mr.mock.ctrl.T.Helper() 3910 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueNewPooledWorkerFn", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueNewPooledWorkerFn), value) 3911 } 3912 3913 // SetHostQueueOpsArrayPoolSize mocks base method. 3914 func (m *MockAdminOptions) SetHostQueueOpsArrayPoolSize(value pool.Size) Options { 3915 m.ctrl.T.Helper() 3916 ret := m.ctrl.Call(m, "SetHostQueueOpsArrayPoolSize", value) 3917 ret0, _ := ret[0].(Options) 3918 return ret0 3919 } 3920 3921 // SetHostQueueOpsArrayPoolSize indicates an expected call of SetHostQueueOpsArrayPoolSize. 3922 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsArrayPoolSize(value interface{}) *gomock.Call { 3923 mr.mock.ctrl.T.Helper() 3924 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsArrayPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsArrayPoolSize), value) 3925 } 3926 3927 // SetHostQueueOpsFlushInterval mocks base method. 3928 func (m *MockAdminOptions) SetHostQueueOpsFlushInterval(value time.Duration) Options { 3929 m.ctrl.T.Helper() 3930 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushInterval", value) 3931 ret0, _ := ret[0].(Options) 3932 return ret0 3933 } 3934 3935 // SetHostQueueOpsFlushInterval indicates an expected call of SetHostQueueOpsFlushInterval. 3936 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsFlushInterval(value interface{}) *gomock.Call { 3937 mr.mock.ctrl.T.Helper() 3938 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushInterval", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsFlushInterval), value) 3939 } 3940 3941 // SetHostQueueOpsFlushSize mocks base method. 3942 func (m *MockAdminOptions) SetHostQueueOpsFlushSize(value int) Options { 3943 m.ctrl.T.Helper() 3944 ret := m.ctrl.Call(m, "SetHostQueueOpsFlushSize", value) 3945 ret0, _ := ret[0].(Options) 3946 return ret0 3947 } 3948 3949 // SetHostQueueOpsFlushSize indicates an expected call of SetHostQueueOpsFlushSize. 3950 func (mr *MockAdminOptionsMockRecorder) SetHostQueueOpsFlushSize(value interface{}) *gomock.Call { 3951 mr.mock.ctrl.T.Helper() 3952 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHostQueueOpsFlushSize", reflect.TypeOf((*MockAdminOptions)(nil).SetHostQueueOpsFlushSize), value) 3953 } 3954 3955 // SetIdentifierPool mocks base method. 3956 func (m *MockAdminOptions) SetIdentifierPool(value ident.Pool) Options { 3957 m.ctrl.T.Helper() 3958 ret := m.ctrl.Call(m, "SetIdentifierPool", value) 3959 ret0, _ := ret[0].(Options) 3960 return ret0 3961 } 3962 3963 // SetIdentifierPool indicates an expected call of SetIdentifierPool. 3964 func (mr *MockAdminOptionsMockRecorder) SetIdentifierPool(value interface{}) *gomock.Call { 3965 mr.mock.ctrl.T.Helper() 3966 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIdentifierPool", reflect.TypeOf((*MockAdminOptions)(nil).SetIdentifierPool), value) 3967 } 3968 3969 // SetInstrumentOptions mocks base method. 3970 func (m *MockAdminOptions) SetInstrumentOptions(value instrument.Options) Options { 3971 m.ctrl.T.Helper() 3972 ret := m.ctrl.Call(m, "SetInstrumentOptions", value) 3973 ret0, _ := ret[0].(Options) 3974 return ret0 3975 } 3976 3977 // SetInstrumentOptions indicates an expected call of SetInstrumentOptions. 3978 func (mr *MockAdminOptionsMockRecorder) SetInstrumentOptions(value interface{}) *gomock.Call { 3979 mr.mock.ctrl.T.Helper() 3980 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInstrumentOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetInstrumentOptions), value) 3981 } 3982 3983 // SetIterationOptions mocks base method. 3984 func (m *MockAdminOptions) SetIterationOptions(arg0 index.IterationOptions) Options { 3985 m.ctrl.T.Helper() 3986 ret := m.ctrl.Call(m, "SetIterationOptions", arg0) 3987 ret0, _ := ret[0].(Options) 3988 return ret0 3989 } 3990 3991 // SetIterationOptions indicates an expected call of SetIterationOptions. 3992 func (mr *MockAdminOptionsMockRecorder) SetIterationOptions(arg0 interface{}) *gomock.Call { 3993 mr.mock.ctrl.T.Helper() 3994 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterationOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetIterationOptions), arg0) 3995 } 3996 3997 // SetLogErrorSampleRate mocks base method. 3998 func (m *MockAdminOptions) SetLogErrorSampleRate(value sampler.Rate) Options { 3999 m.ctrl.T.Helper() 4000 ret := m.ctrl.Call(m, "SetLogErrorSampleRate", value) 4001 ret0, _ := ret[0].(Options) 4002 return ret0 4003 } 4004 4005 // SetLogErrorSampleRate indicates an expected call of SetLogErrorSampleRate. 4006 func (mr *MockAdminOptionsMockRecorder) SetLogErrorSampleRate(value interface{}) *gomock.Call { 4007 mr.mock.ctrl.T.Helper() 4008 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogErrorSampleRate", reflect.TypeOf((*MockAdminOptions)(nil).SetLogErrorSampleRate), value) 4009 } 4010 4011 // SetMaxConnectionCount mocks base method. 4012 func (m *MockAdminOptions) SetMaxConnectionCount(value int) Options { 4013 m.ctrl.T.Helper() 4014 ret := m.ctrl.Call(m, "SetMaxConnectionCount", value) 4015 ret0, _ := ret[0].(Options) 4016 return ret0 4017 } 4018 4019 // SetMaxConnectionCount indicates an expected call of SetMaxConnectionCount. 4020 func (mr *MockAdminOptionsMockRecorder) SetMaxConnectionCount(value interface{}) *gomock.Call { 4021 mr.mock.ctrl.T.Helper() 4022 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMaxConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).SetMaxConnectionCount), value) 4023 } 4024 4025 // SetMinConnectionCount mocks base method. 4026 func (m *MockAdminOptions) SetMinConnectionCount(value int) Options { 4027 m.ctrl.T.Helper() 4028 ret := m.ctrl.Call(m, "SetMinConnectionCount", value) 4029 ret0, _ := ret[0].(Options) 4030 return ret0 4031 } 4032 4033 // SetMinConnectionCount indicates an expected call of SetMinConnectionCount. 4034 func (mr *MockAdminOptionsMockRecorder) SetMinConnectionCount(value interface{}) *gomock.Call { 4035 mr.mock.ctrl.T.Helper() 4036 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMinConnectionCount", reflect.TypeOf((*MockAdminOptions)(nil).SetMinConnectionCount), value) 4037 } 4038 4039 // SetNamespaceInitializer mocks base method. 4040 func (m *MockAdminOptions) SetNamespaceInitializer(value namespace.Initializer) Options { 4041 m.ctrl.T.Helper() 4042 ret := m.ctrl.Call(m, "SetNamespaceInitializer", value) 4043 ret0, _ := ret[0].(Options) 4044 return ret0 4045 } 4046 4047 // SetNamespaceInitializer indicates an expected call of SetNamespaceInitializer. 4048 func (mr *MockAdminOptionsMockRecorder) SetNamespaceInitializer(value interface{}) *gomock.Call { 4049 mr.mock.ctrl.T.Helper() 4050 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespaceInitializer", reflect.TypeOf((*MockAdminOptions)(nil).SetNamespaceInitializer), value) 4051 } 4052 4053 // SetNewConnectionFn mocks base method. 4054 func (m *MockAdminOptions) SetNewConnectionFn(value NewConnectionFn) AdminOptions { 4055 m.ctrl.T.Helper() 4056 ret := m.ctrl.Call(m, "SetNewConnectionFn", value) 4057 ret0, _ := ret[0].(AdminOptions) 4058 return ret0 4059 } 4060 4061 // SetNewConnectionFn indicates an expected call of SetNewConnectionFn. 4062 func (mr *MockAdminOptionsMockRecorder) SetNewConnectionFn(value interface{}) *gomock.Call { 4063 mr.mock.ctrl.T.Helper() 4064 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNewConnectionFn", reflect.TypeOf((*MockAdminOptions)(nil).SetNewConnectionFn), value) 4065 } 4066 4067 // SetOrigin mocks base method. 4068 func (m *MockAdminOptions) SetOrigin(value topology.Host) AdminOptions { 4069 m.ctrl.T.Helper() 4070 ret := m.ctrl.Call(m, "SetOrigin", value) 4071 ret0, _ := ret[0].(AdminOptions) 4072 return ret0 4073 } 4074 4075 // SetOrigin indicates an expected call of SetOrigin. 4076 func (mr *MockAdminOptionsMockRecorder) SetOrigin(value interface{}) *gomock.Call { 4077 mr.mock.ctrl.T.Helper() 4078 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOrigin", reflect.TypeOf((*MockAdminOptions)(nil).SetOrigin), value) 4079 } 4080 4081 // SetReadConsistencyLevel mocks base method. 4082 func (m *MockAdminOptions) SetReadConsistencyLevel(value topology.ReadConsistencyLevel) Options { 4083 m.ctrl.T.Helper() 4084 ret := m.ctrl.Call(m, "SetReadConsistencyLevel", value) 4085 ret0, _ := ret[0].(Options) 4086 return ret0 4087 } 4088 4089 // SetReadConsistencyLevel indicates an expected call of SetReadConsistencyLevel. 4090 func (mr *MockAdminOptionsMockRecorder) SetReadConsistencyLevel(value interface{}) *gomock.Call { 4091 mr.mock.ctrl.T.Helper() 4092 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReadConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetReadConsistencyLevel), value) 4093 } 4094 4095 // SetReaderIteratorAllocate mocks base method. 4096 func (m *MockAdminOptions) SetReaderIteratorAllocate(value encoding.ReaderIteratorAllocate) Options { 4097 m.ctrl.T.Helper() 4098 ret := m.ctrl.Call(m, "SetReaderIteratorAllocate", value) 4099 ret0, _ := ret[0].(Options) 4100 return ret0 4101 } 4102 4103 // SetReaderIteratorAllocate indicates an expected call of SetReaderIteratorAllocate. 4104 func (mr *MockAdminOptionsMockRecorder) SetReaderIteratorAllocate(value interface{}) *gomock.Call { 4105 mr.mock.ctrl.T.Helper() 4106 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReaderIteratorAllocate", reflect.TypeOf((*MockAdminOptions)(nil).SetReaderIteratorAllocate), value) 4107 } 4108 4109 // SetRuntimeOptionsManager mocks base method. 4110 func (m *MockAdminOptions) SetRuntimeOptionsManager(value runtime.OptionsManager) Options { 4111 m.ctrl.T.Helper() 4112 ret := m.ctrl.Call(m, "SetRuntimeOptionsManager", value) 4113 ret0, _ := ret[0].(Options) 4114 return ret0 4115 } 4116 4117 // SetRuntimeOptionsManager indicates an expected call of SetRuntimeOptionsManager. 4118 func (mr *MockAdminOptionsMockRecorder) SetRuntimeOptionsManager(value interface{}) *gomock.Call { 4119 mr.mock.ctrl.T.Helper() 4120 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetRuntimeOptionsManager", reflect.TypeOf((*MockAdminOptions)(nil).SetRuntimeOptionsManager), value) 4121 } 4122 4123 // SetSchemaRegistry mocks base method. 4124 func (m *MockAdminOptions) SetSchemaRegistry(registry namespace.SchemaRegistry) AdminOptions { 4125 m.ctrl.T.Helper() 4126 ret := m.ctrl.Call(m, "SetSchemaRegistry", registry) 4127 ret0, _ := ret[0].(AdminOptions) 4128 return ret0 4129 } 4130 4131 // SetSchemaRegistry indicates an expected call of SetSchemaRegistry. 4132 func (mr *MockAdminOptionsMockRecorder) SetSchemaRegistry(registry interface{}) *gomock.Call { 4133 mr.mock.ctrl.T.Helper() 4134 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchemaRegistry", reflect.TypeOf((*MockAdminOptions)(nil).SetSchemaRegistry), registry) 4135 } 4136 4137 // SetSeriesIteratorPoolSize mocks base method. 4138 func (m *MockAdminOptions) SetSeriesIteratorPoolSize(value pool.Size) Options { 4139 m.ctrl.T.Helper() 4140 ret := m.ctrl.Call(m, "SetSeriesIteratorPoolSize", value) 4141 ret0, _ := ret[0].(Options) 4142 return ret0 4143 } 4144 4145 // SetSeriesIteratorPoolSize indicates an expected call of SetSeriesIteratorPoolSize. 4146 func (mr *MockAdminOptionsMockRecorder) SetSeriesIteratorPoolSize(value interface{}) *gomock.Call { 4147 mr.mock.ctrl.T.Helper() 4148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSeriesIteratorPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetSeriesIteratorPoolSize), value) 4149 } 4150 4151 // SetShardsLeavingCountTowardsConsistency mocks base method. 4152 func (m *MockAdminOptions) SetShardsLeavingCountTowardsConsistency(value bool) Options { 4153 m.ctrl.T.Helper() 4154 ret := m.ctrl.Call(m, "SetShardsLeavingCountTowardsConsistency", value) 4155 ret0, _ := ret[0].(Options) 4156 return ret0 4157 } 4158 4159 // SetShardsLeavingCountTowardsConsistency indicates an expected call of SetShardsLeavingCountTowardsConsistency. 4160 func (mr *MockAdminOptionsMockRecorder) SetShardsLeavingCountTowardsConsistency(value interface{}) *gomock.Call { 4161 mr.mock.ctrl.T.Helper() 4162 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).SetShardsLeavingCountTowardsConsistency), value) 4163 } 4164 4165 // SetStreamBlocksRetrier mocks base method. 4166 func (m *MockAdminOptions) SetStreamBlocksRetrier(value retry.Retrier) AdminOptions { 4167 m.ctrl.T.Helper() 4168 ret := m.ctrl.Call(m, "SetStreamBlocksRetrier", value) 4169 ret0, _ := ret[0].(AdminOptions) 4170 return ret0 4171 } 4172 4173 // SetStreamBlocksRetrier indicates an expected call of SetStreamBlocksRetrier. 4174 func (mr *MockAdminOptionsMockRecorder) SetStreamBlocksRetrier(value interface{}) *gomock.Call { 4175 mr.mock.ctrl.T.Helper() 4176 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetStreamBlocksRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetStreamBlocksRetrier), value) 4177 } 4178 4179 // SetTagDecoderOptions mocks base method. 4180 func (m *MockAdminOptions) SetTagDecoderOptions(value serialize.TagDecoderOptions) Options { 4181 m.ctrl.T.Helper() 4182 ret := m.ctrl.Call(m, "SetTagDecoderOptions", value) 4183 ret0, _ := ret[0].(Options) 4184 return ret0 4185 } 4186 4187 // SetTagDecoderOptions indicates an expected call of SetTagDecoderOptions. 4188 func (mr *MockAdminOptionsMockRecorder) SetTagDecoderOptions(value interface{}) *gomock.Call { 4189 mr.mock.ctrl.T.Helper() 4190 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetTagDecoderOptions), value) 4191 } 4192 4193 // SetTagDecoderPoolSize mocks base method. 4194 func (m *MockAdminOptions) SetTagDecoderPoolSize(value pool.Size) Options { 4195 m.ctrl.T.Helper() 4196 ret := m.ctrl.Call(m, "SetTagDecoderPoolSize", value) 4197 ret0, _ := ret[0].(Options) 4198 return ret0 4199 } 4200 4201 // SetTagDecoderPoolSize indicates an expected call of SetTagDecoderPoolSize. 4202 func (mr *MockAdminOptionsMockRecorder) SetTagDecoderPoolSize(value interface{}) *gomock.Call { 4203 mr.mock.ctrl.T.Helper() 4204 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagDecoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetTagDecoderPoolSize), value) 4205 } 4206 4207 // SetTagEncoderOptions mocks base method. 4208 func (m *MockAdminOptions) SetTagEncoderOptions(value serialize.TagEncoderOptions) Options { 4209 m.ctrl.T.Helper() 4210 ret := m.ctrl.Call(m, "SetTagEncoderOptions", value) 4211 ret0, _ := ret[0].(Options) 4212 return ret0 4213 } 4214 4215 // SetTagEncoderOptions indicates an expected call of SetTagEncoderOptions. 4216 func (mr *MockAdminOptionsMockRecorder) SetTagEncoderOptions(value interface{}) *gomock.Call { 4217 mr.mock.ctrl.T.Helper() 4218 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).SetTagEncoderOptions), value) 4219 } 4220 4221 // SetTagEncoderPoolSize mocks base method. 4222 func (m *MockAdminOptions) SetTagEncoderPoolSize(value pool.Size) Options { 4223 m.ctrl.T.Helper() 4224 ret := m.ctrl.Call(m, "SetTagEncoderPoolSize", value) 4225 ret0, _ := ret[0].(Options) 4226 return ret0 4227 } 4228 4229 // SetTagEncoderPoolSize indicates an expected call of SetTagEncoderPoolSize. 4230 func (mr *MockAdminOptionsMockRecorder) SetTagEncoderPoolSize(value interface{}) *gomock.Call { 4231 mr.mock.ctrl.T.Helper() 4232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTagEncoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetTagEncoderPoolSize), value) 4233 } 4234 4235 // SetThriftContextFn mocks base method. 4236 func (m *MockAdminOptions) SetThriftContextFn(value ThriftContextFn) Options { 4237 m.ctrl.T.Helper() 4238 ret := m.ctrl.Call(m, "SetThriftContextFn", value) 4239 ret0, _ := ret[0].(Options) 4240 return ret0 4241 } 4242 4243 // SetThriftContextFn indicates an expected call of SetThriftContextFn. 4244 func (mr *MockAdminOptionsMockRecorder) SetThriftContextFn(value interface{}) *gomock.Call { 4245 mr.mock.ctrl.T.Helper() 4246 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetThriftContextFn", reflect.TypeOf((*MockAdminOptions)(nil).SetThriftContextFn), value) 4247 } 4248 4249 // SetTopologyInitializer mocks base method. 4250 func (m *MockAdminOptions) SetTopologyInitializer(value topology.Initializer) Options { 4251 m.ctrl.T.Helper() 4252 ret := m.ctrl.Call(m, "SetTopologyInitializer", value) 4253 ret0, _ := ret[0].(Options) 4254 return ret0 4255 } 4256 4257 // SetTopologyInitializer indicates an expected call of SetTopologyInitializer. 4258 func (mr *MockAdminOptionsMockRecorder) SetTopologyInitializer(value interface{}) *gomock.Call { 4259 mr.mock.ctrl.T.Helper() 4260 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopologyInitializer", reflect.TypeOf((*MockAdminOptions)(nil).SetTopologyInitializer), value) 4261 } 4262 4263 // SetTruncateRequestTimeout mocks base method. 4264 func (m *MockAdminOptions) SetTruncateRequestTimeout(value time.Duration) Options { 4265 m.ctrl.T.Helper() 4266 ret := m.ctrl.Call(m, "SetTruncateRequestTimeout", value) 4267 ret0, _ := ret[0].(Options) 4268 return ret0 4269 } 4270 4271 // SetTruncateRequestTimeout indicates an expected call of SetTruncateRequestTimeout. 4272 func (mr *MockAdminOptionsMockRecorder) SetTruncateRequestTimeout(value interface{}) *gomock.Call { 4273 mr.mock.ctrl.T.Helper() 4274 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTruncateRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetTruncateRequestTimeout), value) 4275 } 4276 4277 // SetUseV2BatchAPIs mocks base method. 4278 func (m *MockAdminOptions) SetUseV2BatchAPIs(value bool) Options { 4279 m.ctrl.T.Helper() 4280 ret := m.ctrl.Call(m, "SetUseV2BatchAPIs", value) 4281 ret0, _ := ret[0].(Options) 4282 return ret0 4283 } 4284 4285 // SetUseV2BatchAPIs indicates an expected call of SetUseV2BatchAPIs. 4286 func (mr *MockAdminOptionsMockRecorder) SetUseV2BatchAPIs(value interface{}) *gomock.Call { 4287 mr.mock.ctrl.T.Helper() 4288 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUseV2BatchAPIs", reflect.TypeOf((*MockAdminOptions)(nil).SetUseV2BatchAPIs), value) 4289 } 4290 4291 // SetWriteBatchSize mocks base method. 4292 func (m *MockAdminOptions) SetWriteBatchSize(value int) Options { 4293 m.ctrl.T.Helper() 4294 ret := m.ctrl.Call(m, "SetWriteBatchSize", value) 4295 ret0, _ := ret[0].(Options) 4296 return ret0 4297 } 4298 4299 // SetWriteBatchSize indicates an expected call of SetWriteBatchSize. 4300 func (mr *MockAdminOptionsMockRecorder) SetWriteBatchSize(value interface{}) *gomock.Call { 4301 mr.mock.ctrl.T.Helper() 4302 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteBatchSize), value) 4303 } 4304 4305 // SetWriteConsistencyLevel mocks base method. 4306 func (m *MockAdminOptions) SetWriteConsistencyLevel(value topology.ConsistencyLevel) Options { 4307 m.ctrl.T.Helper() 4308 ret := m.ctrl.Call(m, "SetWriteConsistencyLevel", value) 4309 ret0, _ := ret[0].(Options) 4310 return ret0 4311 } 4312 4313 // SetWriteConsistencyLevel indicates an expected call of SetWriteConsistencyLevel. 4314 func (mr *MockAdminOptionsMockRecorder) SetWriteConsistencyLevel(value interface{}) *gomock.Call { 4315 mr.mock.ctrl.T.Helper() 4316 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteConsistencyLevel), value) 4317 } 4318 4319 // SetWriteOpPoolSize mocks base method. 4320 func (m *MockAdminOptions) SetWriteOpPoolSize(value pool.Size) Options { 4321 m.ctrl.T.Helper() 4322 ret := m.ctrl.Call(m, "SetWriteOpPoolSize", value) 4323 ret0, _ := ret[0].(Options) 4324 return ret0 4325 } 4326 4327 // SetWriteOpPoolSize indicates an expected call of SetWriteOpPoolSize. 4328 func (mr *MockAdminOptionsMockRecorder) SetWriteOpPoolSize(value interface{}) *gomock.Call { 4329 mr.mock.ctrl.T.Helper() 4330 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteOpPoolSize), value) 4331 } 4332 4333 // SetWriteRequestTimeout mocks base method. 4334 func (m *MockAdminOptions) SetWriteRequestTimeout(value time.Duration) Options { 4335 m.ctrl.T.Helper() 4336 ret := m.ctrl.Call(m, "SetWriteRequestTimeout", value) 4337 ret0, _ := ret[0].(Options) 4338 return ret0 4339 } 4340 4341 // SetWriteRequestTimeout indicates an expected call of SetWriteRequestTimeout. 4342 func (mr *MockAdminOptionsMockRecorder) SetWriteRequestTimeout(value interface{}) *gomock.Call { 4343 mr.mock.ctrl.T.Helper() 4344 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteRequestTimeout), value) 4345 } 4346 4347 // SetWriteRetrier mocks base method. 4348 func (m *MockAdminOptions) SetWriteRetrier(value retry.Retrier) Options { 4349 m.ctrl.T.Helper() 4350 ret := m.ctrl.Call(m, "SetWriteRetrier", value) 4351 ret0, _ := ret[0].(Options) 4352 return ret0 4353 } 4354 4355 // SetWriteRetrier indicates an expected call of SetWriteRetrier. 4356 func (mr *MockAdminOptionsMockRecorder) SetWriteRetrier(value interface{}) *gomock.Call { 4357 mr.mock.ctrl.T.Helper() 4358 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteRetrier", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteRetrier), value) 4359 } 4360 4361 // SetWriteShardsInitializing mocks base method. 4362 func (m *MockAdminOptions) SetWriteShardsInitializing(value bool) Options { 4363 m.ctrl.T.Helper() 4364 ret := m.ctrl.Call(m, "SetWriteShardsInitializing", value) 4365 ret0, _ := ret[0].(Options) 4366 return ret0 4367 } 4368 4369 // SetWriteShardsInitializing indicates an expected call of SetWriteShardsInitializing. 4370 func (mr *MockAdminOptionsMockRecorder) SetWriteShardsInitializing(value interface{}) *gomock.Call { 4371 mr.mock.ctrl.T.Helper() 4372 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteShardsInitializing", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteShardsInitializing), value) 4373 } 4374 4375 // SetWriteTaggedOpPoolSize mocks base method. 4376 func (m *MockAdminOptions) SetWriteTaggedOpPoolSize(value pool.Size) Options { 4377 m.ctrl.T.Helper() 4378 ret := m.ctrl.Call(m, "SetWriteTaggedOpPoolSize", value) 4379 ret0, _ := ret[0].(Options) 4380 return ret0 4381 } 4382 4383 // SetWriteTaggedOpPoolSize indicates an expected call of SetWriteTaggedOpPoolSize. 4384 func (mr *MockAdminOptionsMockRecorder) SetWriteTaggedOpPoolSize(value interface{}) *gomock.Call { 4385 mr.mock.ctrl.T.Helper() 4386 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTaggedOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteTaggedOpPoolSize), value) 4387 } 4388 4389 // SetWriteTimestampOffset mocks base method. 4390 func (m *MockAdminOptions) SetWriteTimestampOffset(value time.Duration) AdminOptions { 4391 m.ctrl.T.Helper() 4392 ret := m.ctrl.Call(m, "SetWriteTimestampOffset", value) 4393 ret0, _ := ret[0].(AdminOptions) 4394 return ret0 4395 } 4396 4397 // SetWriteTimestampOffset indicates an expected call of SetWriteTimestampOffset. 4398 func (mr *MockAdminOptionsMockRecorder) SetWriteTimestampOffset(value interface{}) *gomock.Call { 4399 mr.mock.ctrl.T.Helper() 4400 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWriteTimestampOffset", reflect.TypeOf((*MockAdminOptions)(nil).SetWriteTimestampOffset), value) 4401 } 4402 4403 // ShardsLeavingCountTowardsConsistency mocks base method. 4404 func (m *MockAdminOptions) ShardsLeavingCountTowardsConsistency() bool { 4405 m.ctrl.T.Helper() 4406 ret := m.ctrl.Call(m, "ShardsLeavingCountTowardsConsistency") 4407 ret0, _ := ret[0].(bool) 4408 return ret0 4409 } 4410 4411 // ShardsLeavingCountTowardsConsistency indicates an expected call of ShardsLeavingCountTowardsConsistency. 4412 func (mr *MockAdminOptionsMockRecorder) ShardsLeavingCountTowardsConsistency() *gomock.Call { 4413 mr.mock.ctrl.T.Helper() 4414 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardsLeavingCountTowardsConsistency", reflect.TypeOf((*MockAdminOptions)(nil).ShardsLeavingCountTowardsConsistency)) 4415 } 4416 4417 // StreamBlocksRetrier mocks base method. 4418 func (m *MockAdminOptions) StreamBlocksRetrier() retry.Retrier { 4419 m.ctrl.T.Helper() 4420 ret := m.ctrl.Call(m, "StreamBlocksRetrier") 4421 ret0, _ := ret[0].(retry.Retrier) 4422 return ret0 4423 } 4424 4425 // StreamBlocksRetrier indicates an expected call of StreamBlocksRetrier. 4426 func (mr *MockAdminOptionsMockRecorder) StreamBlocksRetrier() *gomock.Call { 4427 mr.mock.ctrl.T.Helper() 4428 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamBlocksRetrier", reflect.TypeOf((*MockAdminOptions)(nil).StreamBlocksRetrier)) 4429 } 4430 4431 // TagDecoderOptions mocks base method. 4432 func (m *MockAdminOptions) TagDecoderOptions() serialize.TagDecoderOptions { 4433 m.ctrl.T.Helper() 4434 ret := m.ctrl.Call(m, "TagDecoderOptions") 4435 ret0, _ := ret[0].(serialize.TagDecoderOptions) 4436 return ret0 4437 } 4438 4439 // TagDecoderOptions indicates an expected call of TagDecoderOptions. 4440 func (mr *MockAdminOptionsMockRecorder) TagDecoderOptions() *gomock.Call { 4441 mr.mock.ctrl.T.Helper() 4442 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).TagDecoderOptions)) 4443 } 4444 4445 // TagDecoderPoolSize mocks base method. 4446 func (m *MockAdminOptions) TagDecoderPoolSize() pool.Size { 4447 m.ctrl.T.Helper() 4448 ret := m.ctrl.Call(m, "TagDecoderPoolSize") 4449 ret0, _ := ret[0].(pool.Size) 4450 return ret0 4451 } 4452 4453 // TagDecoderPoolSize indicates an expected call of TagDecoderPoolSize. 4454 func (mr *MockAdminOptionsMockRecorder) TagDecoderPoolSize() *gomock.Call { 4455 mr.mock.ctrl.T.Helper() 4456 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).TagDecoderPoolSize)) 4457 } 4458 4459 // TagEncoderOptions mocks base method. 4460 func (m *MockAdminOptions) TagEncoderOptions() serialize.TagEncoderOptions { 4461 m.ctrl.T.Helper() 4462 ret := m.ctrl.Call(m, "TagEncoderOptions") 4463 ret0, _ := ret[0].(serialize.TagEncoderOptions) 4464 return ret0 4465 } 4466 4467 // TagEncoderOptions indicates an expected call of TagEncoderOptions. 4468 func (mr *MockAdminOptionsMockRecorder) TagEncoderOptions() *gomock.Call { 4469 mr.mock.ctrl.T.Helper() 4470 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderOptions", reflect.TypeOf((*MockAdminOptions)(nil).TagEncoderOptions)) 4471 } 4472 4473 // TagEncoderPoolSize mocks base method. 4474 func (m *MockAdminOptions) TagEncoderPoolSize() pool.Size { 4475 m.ctrl.T.Helper() 4476 ret := m.ctrl.Call(m, "TagEncoderPoolSize") 4477 ret0, _ := ret[0].(pool.Size) 4478 return ret0 4479 } 4480 4481 // TagEncoderPoolSize indicates an expected call of TagEncoderPoolSize. 4482 func (mr *MockAdminOptionsMockRecorder) TagEncoderPoolSize() *gomock.Call { 4483 mr.mock.ctrl.T.Helper() 4484 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoderPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).TagEncoderPoolSize)) 4485 } 4486 4487 // ThriftContextFn mocks base method. 4488 func (m *MockAdminOptions) ThriftContextFn() ThriftContextFn { 4489 m.ctrl.T.Helper() 4490 ret := m.ctrl.Call(m, "ThriftContextFn") 4491 ret0, _ := ret[0].(ThriftContextFn) 4492 return ret0 4493 } 4494 4495 // ThriftContextFn indicates an expected call of ThriftContextFn. 4496 func (mr *MockAdminOptionsMockRecorder) ThriftContextFn() *gomock.Call { 4497 mr.mock.ctrl.T.Helper() 4498 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ThriftContextFn", reflect.TypeOf((*MockAdminOptions)(nil).ThriftContextFn)) 4499 } 4500 4501 // TopologyInitializer mocks base method. 4502 func (m *MockAdminOptions) TopologyInitializer() topology.Initializer { 4503 m.ctrl.T.Helper() 4504 ret := m.ctrl.Call(m, "TopologyInitializer") 4505 ret0, _ := ret[0].(topology.Initializer) 4506 return ret0 4507 } 4508 4509 // TopologyInitializer indicates an expected call of TopologyInitializer. 4510 func (mr *MockAdminOptionsMockRecorder) TopologyInitializer() *gomock.Call { 4511 mr.mock.ctrl.T.Helper() 4512 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyInitializer", reflect.TypeOf((*MockAdminOptions)(nil).TopologyInitializer)) 4513 } 4514 4515 // TruncateRequestTimeout mocks base method. 4516 func (m *MockAdminOptions) TruncateRequestTimeout() time.Duration { 4517 m.ctrl.T.Helper() 4518 ret := m.ctrl.Call(m, "TruncateRequestTimeout") 4519 ret0, _ := ret[0].(time.Duration) 4520 return ret0 4521 } 4522 4523 // TruncateRequestTimeout indicates an expected call of TruncateRequestTimeout. 4524 func (mr *MockAdminOptionsMockRecorder) TruncateRequestTimeout() *gomock.Call { 4525 mr.mock.ctrl.T.Helper() 4526 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).TruncateRequestTimeout)) 4527 } 4528 4529 // UseV2BatchAPIs mocks base method. 4530 func (m *MockAdminOptions) UseV2BatchAPIs() bool { 4531 m.ctrl.T.Helper() 4532 ret := m.ctrl.Call(m, "UseV2BatchAPIs") 4533 ret0, _ := ret[0].(bool) 4534 return ret0 4535 } 4536 4537 // UseV2BatchAPIs indicates an expected call of UseV2BatchAPIs. 4538 func (mr *MockAdminOptionsMockRecorder) UseV2BatchAPIs() *gomock.Call { 4539 mr.mock.ctrl.T.Helper() 4540 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UseV2BatchAPIs", reflect.TypeOf((*MockAdminOptions)(nil).UseV2BatchAPIs)) 4541 } 4542 4543 // Validate mocks base method. 4544 func (m *MockAdminOptions) Validate() error { 4545 m.ctrl.T.Helper() 4546 ret := m.ctrl.Call(m, "Validate") 4547 ret0, _ := ret[0].(error) 4548 return ret0 4549 } 4550 4551 // Validate indicates an expected call of Validate. 4552 func (mr *MockAdminOptionsMockRecorder) Validate() *gomock.Call { 4553 mr.mock.ctrl.T.Helper() 4554 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockAdminOptions)(nil).Validate)) 4555 } 4556 4557 // WriteBatchSize mocks base method. 4558 func (m *MockAdminOptions) WriteBatchSize() int { 4559 m.ctrl.T.Helper() 4560 ret := m.ctrl.Call(m, "WriteBatchSize") 4561 ret0, _ := ret[0].(int) 4562 return ret0 4563 } 4564 4565 // WriteBatchSize indicates an expected call of WriteBatchSize. 4566 func (mr *MockAdminOptionsMockRecorder) WriteBatchSize() *gomock.Call { 4567 mr.mock.ctrl.T.Helper() 4568 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBatchSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteBatchSize)) 4569 } 4570 4571 // WriteConsistencyLevel mocks base method. 4572 func (m *MockAdminOptions) WriteConsistencyLevel() topology.ConsistencyLevel { 4573 m.ctrl.T.Helper() 4574 ret := m.ctrl.Call(m, "WriteConsistencyLevel") 4575 ret0, _ := ret[0].(topology.ConsistencyLevel) 4576 return ret0 4577 } 4578 4579 // WriteConsistencyLevel indicates an expected call of WriteConsistencyLevel. 4580 func (mr *MockAdminOptionsMockRecorder) WriteConsistencyLevel() *gomock.Call { 4581 mr.mock.ctrl.T.Helper() 4582 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteConsistencyLevel", reflect.TypeOf((*MockAdminOptions)(nil).WriteConsistencyLevel)) 4583 } 4584 4585 // WriteOpPoolSize mocks base method. 4586 func (m *MockAdminOptions) WriteOpPoolSize() pool.Size { 4587 m.ctrl.T.Helper() 4588 ret := m.ctrl.Call(m, "WriteOpPoolSize") 4589 ret0, _ := ret[0].(pool.Size) 4590 return ret0 4591 } 4592 4593 // WriteOpPoolSize indicates an expected call of WriteOpPoolSize. 4594 func (mr *MockAdminOptionsMockRecorder) WriteOpPoolSize() *gomock.Call { 4595 mr.mock.ctrl.T.Helper() 4596 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteOpPoolSize)) 4597 } 4598 4599 // WriteRequestTimeout mocks base method. 4600 func (m *MockAdminOptions) WriteRequestTimeout() time.Duration { 4601 m.ctrl.T.Helper() 4602 ret := m.ctrl.Call(m, "WriteRequestTimeout") 4603 ret0, _ := ret[0].(time.Duration) 4604 return ret0 4605 } 4606 4607 // WriteRequestTimeout indicates an expected call of WriteRequestTimeout. 4608 func (mr *MockAdminOptionsMockRecorder) WriteRequestTimeout() *gomock.Call { 4609 mr.mock.ctrl.T.Helper() 4610 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRequestTimeout", reflect.TypeOf((*MockAdminOptions)(nil).WriteRequestTimeout)) 4611 } 4612 4613 // WriteRetrier mocks base method. 4614 func (m *MockAdminOptions) WriteRetrier() retry.Retrier { 4615 m.ctrl.T.Helper() 4616 ret := m.ctrl.Call(m, "WriteRetrier") 4617 ret0, _ := ret[0].(retry.Retrier) 4618 return ret0 4619 } 4620 4621 // WriteRetrier indicates an expected call of WriteRetrier. 4622 func (mr *MockAdminOptionsMockRecorder) WriteRetrier() *gomock.Call { 4623 mr.mock.ctrl.T.Helper() 4624 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteRetrier", reflect.TypeOf((*MockAdminOptions)(nil).WriteRetrier)) 4625 } 4626 4627 // WriteShardsInitializing mocks base method. 4628 func (m *MockAdminOptions) WriteShardsInitializing() bool { 4629 m.ctrl.T.Helper() 4630 ret := m.ctrl.Call(m, "WriteShardsInitializing") 4631 ret0, _ := ret[0].(bool) 4632 return ret0 4633 } 4634 4635 // WriteShardsInitializing indicates an expected call of WriteShardsInitializing. 4636 func (mr *MockAdminOptionsMockRecorder) WriteShardsInitializing() *gomock.Call { 4637 mr.mock.ctrl.T.Helper() 4638 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteShardsInitializing", reflect.TypeOf((*MockAdminOptions)(nil).WriteShardsInitializing)) 4639 } 4640 4641 // WriteTaggedOpPoolSize mocks base method. 4642 func (m *MockAdminOptions) WriteTaggedOpPoolSize() pool.Size { 4643 m.ctrl.T.Helper() 4644 ret := m.ctrl.Call(m, "WriteTaggedOpPoolSize") 4645 ret0, _ := ret[0].(pool.Size) 4646 return ret0 4647 } 4648 4649 // WriteTaggedOpPoolSize indicates an expected call of WriteTaggedOpPoolSize. 4650 func (mr *MockAdminOptionsMockRecorder) WriteTaggedOpPoolSize() *gomock.Call { 4651 mr.mock.ctrl.T.Helper() 4652 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTaggedOpPoolSize", reflect.TypeOf((*MockAdminOptions)(nil).WriteTaggedOpPoolSize)) 4653 } 4654 4655 // WriteTimestampOffset mocks base method. 4656 func (m *MockAdminOptions) WriteTimestampOffset() time.Duration { 4657 m.ctrl.T.Helper() 4658 ret := m.ctrl.Call(m, "WriteTimestampOffset") 4659 ret0, _ := ret[0].(time.Duration) 4660 return ret0 4661 } 4662 4663 // WriteTimestampOffset indicates an expected call of WriteTimestampOffset. 4664 func (mr *MockAdminOptionsMockRecorder) WriteTimestampOffset() *gomock.Call { 4665 mr.mock.ctrl.T.Helper() 4666 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTimestampOffset", reflect.TypeOf((*MockAdminOptions)(nil).WriteTimestampOffset)) 4667 } 4668 4669 // MockclientSession is a mock of clientSession interface. 4670 type MockclientSession struct { 4671 ctrl *gomock.Controller 4672 recorder *MockclientSessionMockRecorder 4673 } 4674 4675 // MockclientSessionMockRecorder is the mock recorder for MockclientSession. 4676 type MockclientSessionMockRecorder struct { 4677 mock *MockclientSession 4678 } 4679 4680 // NewMockclientSession creates a new mock instance. 4681 func NewMockclientSession(ctrl *gomock.Controller) *MockclientSession { 4682 mock := &MockclientSession{ctrl: ctrl} 4683 mock.recorder = &MockclientSessionMockRecorder{mock} 4684 return mock 4685 } 4686 4687 // EXPECT returns an object that allows the caller to indicate expected use. 4688 func (m *MockclientSession) EXPECT() *MockclientSessionMockRecorder { 4689 return m.recorder 4690 } 4691 4692 // Aggregate mocks base method. 4693 func (m *MockclientSession) Aggregate(ctx context.Context, namespace ident.ID, q index.Query, opts index.AggregationOptions) (AggregatedTagsIterator, FetchResponseMetadata, error) { 4694 m.ctrl.T.Helper() 4695 ret := m.ctrl.Call(m, "Aggregate", ctx, namespace, q, opts) 4696 ret0, _ := ret[0].(AggregatedTagsIterator) 4697 ret1, _ := ret[1].(FetchResponseMetadata) 4698 ret2, _ := ret[2].(error) 4699 return ret0, ret1, ret2 4700 } 4701 4702 // Aggregate indicates an expected call of Aggregate. 4703 func (mr *MockclientSessionMockRecorder) Aggregate(ctx, namespace, q, opts interface{}) *gomock.Call { 4704 mr.mock.ctrl.T.Helper() 4705 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Aggregate", reflect.TypeOf((*MockclientSession)(nil).Aggregate), ctx, namespace, q, opts) 4706 } 4707 4708 // BorrowConnections mocks base method. 4709 func (m *MockclientSession) BorrowConnections(shardID uint32, fn WithBorrowConnectionFn, opts BorrowConnectionOptions) (BorrowConnectionsResult, error) { 4710 m.ctrl.T.Helper() 4711 ret := m.ctrl.Call(m, "BorrowConnections", shardID, fn, opts) 4712 ret0, _ := ret[0].(BorrowConnectionsResult) 4713 ret1, _ := ret[1].(error) 4714 return ret0, ret1 4715 } 4716 4717 // BorrowConnections indicates an expected call of BorrowConnections. 4718 func (mr *MockclientSessionMockRecorder) BorrowConnections(shardID, fn, opts interface{}) *gomock.Call { 4719 mr.mock.ctrl.T.Helper() 4720 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnections", reflect.TypeOf((*MockclientSession)(nil).BorrowConnections), shardID, fn, opts) 4721 } 4722 4723 // Close mocks base method. 4724 func (m *MockclientSession) Close() error { 4725 m.ctrl.T.Helper() 4726 ret := m.ctrl.Call(m, "Close") 4727 ret0, _ := ret[0].(error) 4728 return ret0 4729 } 4730 4731 // Close indicates an expected call of Close. 4732 func (mr *MockclientSessionMockRecorder) Close() *gomock.Call { 4733 mr.mock.ctrl.T.Helper() 4734 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockclientSession)(nil).Close)) 4735 } 4736 4737 // DedicatedConnection mocks base method. 4738 func (m *MockclientSession) DedicatedConnection(shardID uint32, opts DedicatedConnectionOptions) (rpc.TChanNode, Channel, error) { 4739 m.ctrl.T.Helper() 4740 ret := m.ctrl.Call(m, "DedicatedConnection", shardID, opts) 4741 ret0, _ := ret[0].(rpc.TChanNode) 4742 ret1, _ := ret[1].(Channel) 4743 ret2, _ := ret[2].(error) 4744 return ret0, ret1, ret2 4745 } 4746 4747 // DedicatedConnection indicates an expected call of DedicatedConnection. 4748 func (mr *MockclientSessionMockRecorder) DedicatedConnection(shardID, opts interface{}) *gomock.Call { 4749 mr.mock.ctrl.T.Helper() 4750 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DedicatedConnection", reflect.TypeOf((*MockclientSession)(nil).DedicatedConnection), shardID, opts) 4751 } 4752 4753 // Fetch mocks base method. 4754 func (m *MockclientSession) Fetch(namespace, id ident.ID, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterator, error) { 4755 m.ctrl.T.Helper() 4756 ret := m.ctrl.Call(m, "Fetch", namespace, id, startInclusive, endExclusive) 4757 ret0, _ := ret[0].(encoding.SeriesIterator) 4758 ret1, _ := ret[1].(error) 4759 return ret0, ret1 4760 } 4761 4762 // Fetch indicates an expected call of Fetch. 4763 func (mr *MockclientSessionMockRecorder) Fetch(namespace, id, startInclusive, endExclusive interface{}) *gomock.Call { 4764 mr.mock.ctrl.T.Helper() 4765 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fetch", reflect.TypeOf((*MockclientSession)(nil).Fetch), namespace, id, startInclusive, endExclusive) 4766 } 4767 4768 // FetchBlocksFromPeers mocks base method. 4769 func (m *MockclientSession) FetchBlocksFromPeers(namespace namespace.Metadata, shard uint32, consistencyLevel topology.ReadConsistencyLevel, metadatas []block.ReplicaMetadata, opts result.Options) (PeerBlocksIter, error) { 4770 m.ctrl.T.Helper() 4771 ret := m.ctrl.Call(m, "FetchBlocksFromPeers", namespace, shard, consistencyLevel, metadatas, opts) 4772 ret0, _ := ret[0].(PeerBlocksIter) 4773 ret1, _ := ret[1].(error) 4774 return ret0, ret1 4775 } 4776 4777 // FetchBlocksFromPeers indicates an expected call of FetchBlocksFromPeers. 4778 func (mr *MockclientSessionMockRecorder) FetchBlocksFromPeers(namespace, shard, consistencyLevel, metadatas, opts interface{}) *gomock.Call { 4779 mr.mock.ctrl.T.Helper() 4780 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBlocksFromPeers), namespace, shard, consistencyLevel, metadatas, opts) 4781 } 4782 4783 // FetchBlocksMetadataFromPeers mocks base method. 4784 func (m *MockclientSession) FetchBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, consistencyLevel topology.ReadConsistencyLevel, result result.Options) (PeerBlockMetadataIter, error) { 4785 m.ctrl.T.Helper() 4786 ret := m.ctrl.Call(m, "FetchBlocksMetadataFromPeers", namespace, shard, start, end, consistencyLevel, result) 4787 ret0, _ := ret[0].(PeerBlockMetadataIter) 4788 ret1, _ := ret[1].(error) 4789 return ret0, ret1 4790 } 4791 4792 // FetchBlocksMetadataFromPeers indicates an expected call of FetchBlocksMetadataFromPeers. 4793 func (mr *MockclientSessionMockRecorder) FetchBlocksMetadataFromPeers(namespace, shard, start, end, consistencyLevel, result interface{}) *gomock.Call { 4794 mr.mock.ctrl.T.Helper() 4795 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBlocksMetadataFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBlocksMetadataFromPeers), namespace, shard, start, end, consistencyLevel, result) 4796 } 4797 4798 // FetchBootstrapBlocksFromPeers mocks base method. 4799 func (m *MockclientSession) FetchBootstrapBlocksFromPeers(namespace namespace.Metadata, shard uint32, start, end time0.UnixNano, opts result.Options) (result.ShardResult, error) { 4800 m.ctrl.T.Helper() 4801 ret := m.ctrl.Call(m, "FetchBootstrapBlocksFromPeers", namespace, shard, start, end, opts) 4802 ret0, _ := ret[0].(result.ShardResult) 4803 ret1, _ := ret[1].(error) 4804 return ret0, ret1 4805 } 4806 4807 // FetchBootstrapBlocksFromPeers indicates an expected call of FetchBootstrapBlocksFromPeers. 4808 func (mr *MockclientSessionMockRecorder) FetchBootstrapBlocksFromPeers(namespace, shard, start, end, opts interface{}) *gomock.Call { 4809 mr.mock.ctrl.T.Helper() 4810 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBootstrapBlocksFromPeers), namespace, shard, start, end, opts) 4811 } 4812 4813 // FetchBootstrapBlocksMetadataFromPeers mocks base method. 4814 func (m *MockclientSession) FetchBootstrapBlocksMetadataFromPeers(namespace ident.ID, shard uint32, start, end time0.UnixNano, result result.Options) (PeerBlockMetadataIter, error) { 4815 m.ctrl.T.Helper() 4816 ret := m.ctrl.Call(m, "FetchBootstrapBlocksMetadataFromPeers", namespace, shard, start, end, result) 4817 ret0, _ := ret[0].(PeerBlockMetadataIter) 4818 ret1, _ := ret[1].(error) 4819 return ret0, ret1 4820 } 4821 4822 // FetchBootstrapBlocksMetadataFromPeers indicates an expected call of FetchBootstrapBlocksMetadataFromPeers. 4823 func (mr *MockclientSessionMockRecorder) FetchBootstrapBlocksMetadataFromPeers(namespace, shard, start, end, result interface{}) *gomock.Call { 4824 mr.mock.ctrl.T.Helper() 4825 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchBootstrapBlocksMetadataFromPeers", reflect.TypeOf((*MockclientSession)(nil).FetchBootstrapBlocksMetadataFromPeers), namespace, shard, start, end, result) 4826 } 4827 4828 // FetchIDs mocks base method. 4829 func (m *MockclientSession) FetchIDs(namespace ident.ID, ids ident.Iterator, startInclusive, endExclusive time0.UnixNano) (encoding.SeriesIterators, error) { 4830 m.ctrl.T.Helper() 4831 ret := m.ctrl.Call(m, "FetchIDs", namespace, ids, startInclusive, endExclusive) 4832 ret0, _ := ret[0].(encoding.SeriesIterators) 4833 ret1, _ := ret[1].(error) 4834 return ret0, ret1 4835 } 4836 4837 // FetchIDs indicates an expected call of FetchIDs. 4838 func (mr *MockclientSessionMockRecorder) FetchIDs(namespace, ids, startInclusive, endExclusive interface{}) *gomock.Call { 4839 mr.mock.ctrl.T.Helper() 4840 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchIDs", reflect.TypeOf((*MockclientSession)(nil).FetchIDs), namespace, ids, startInclusive, endExclusive) 4841 } 4842 4843 // FetchTagged mocks base method. 4844 func (m *MockclientSession) FetchTagged(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (encoding.SeriesIterators, FetchResponseMetadata, error) { 4845 m.ctrl.T.Helper() 4846 ret := m.ctrl.Call(m, "FetchTagged", ctx, namespace, q, opts) 4847 ret0, _ := ret[0].(encoding.SeriesIterators) 4848 ret1, _ := ret[1].(FetchResponseMetadata) 4849 ret2, _ := ret[2].(error) 4850 return ret0, ret1, ret2 4851 } 4852 4853 // FetchTagged indicates an expected call of FetchTagged. 4854 func (mr *MockclientSessionMockRecorder) FetchTagged(ctx, namespace, q, opts interface{}) *gomock.Call { 4855 mr.mock.ctrl.T.Helper() 4856 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTagged", reflect.TypeOf((*MockclientSession)(nil).FetchTagged), ctx, namespace, q, opts) 4857 } 4858 4859 // FetchTaggedIDs mocks base method. 4860 func (m *MockclientSession) FetchTaggedIDs(ctx context.Context, namespace ident.ID, q index.Query, opts index.QueryOptions) (TaggedIDsIterator, FetchResponseMetadata, error) { 4861 m.ctrl.T.Helper() 4862 ret := m.ctrl.Call(m, "FetchTaggedIDs", ctx, namespace, q, opts) 4863 ret0, _ := ret[0].(TaggedIDsIterator) 4864 ret1, _ := ret[1].(FetchResponseMetadata) 4865 ret2, _ := ret[2].(error) 4866 return ret0, ret1, ret2 4867 } 4868 4869 // FetchTaggedIDs indicates an expected call of FetchTaggedIDs. 4870 func (mr *MockclientSessionMockRecorder) FetchTaggedIDs(ctx, namespace, q, opts interface{}) *gomock.Call { 4871 mr.mock.ctrl.T.Helper() 4872 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaggedIDs", reflect.TypeOf((*MockclientSession)(nil).FetchTaggedIDs), ctx, namespace, q, opts) 4873 } 4874 4875 // IteratorPools mocks base method. 4876 func (m *MockclientSession) IteratorPools() (encoding.IteratorPools, error) { 4877 m.ctrl.T.Helper() 4878 ret := m.ctrl.Call(m, "IteratorPools") 4879 ret0, _ := ret[0].(encoding.IteratorPools) 4880 ret1, _ := ret[1].(error) 4881 return ret0, ret1 4882 } 4883 4884 // IteratorPools indicates an expected call of IteratorPools. 4885 func (mr *MockclientSessionMockRecorder) IteratorPools() *gomock.Call { 4886 mr.mock.ctrl.T.Helper() 4887 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IteratorPools", reflect.TypeOf((*MockclientSession)(nil).IteratorPools)) 4888 } 4889 4890 // Open mocks base method. 4891 func (m *MockclientSession) Open() error { 4892 m.ctrl.T.Helper() 4893 ret := m.ctrl.Call(m, "Open") 4894 ret0, _ := ret[0].(error) 4895 return ret0 4896 } 4897 4898 // Open indicates an expected call of Open. 4899 func (mr *MockclientSessionMockRecorder) Open() *gomock.Call { 4900 mr.mock.ctrl.T.Helper() 4901 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockclientSession)(nil).Open)) 4902 } 4903 4904 // Origin mocks base method. 4905 func (m *MockclientSession) Origin() topology.Host { 4906 m.ctrl.T.Helper() 4907 ret := m.ctrl.Call(m, "Origin") 4908 ret0, _ := ret[0].(topology.Host) 4909 return ret0 4910 } 4911 4912 // Origin indicates an expected call of Origin. 4913 func (mr *MockclientSessionMockRecorder) Origin() *gomock.Call { 4914 mr.mock.ctrl.T.Helper() 4915 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Origin", reflect.TypeOf((*MockclientSession)(nil).Origin)) 4916 } 4917 4918 // ReadClusterAvailability mocks base method. 4919 func (m *MockclientSession) ReadClusterAvailability() (bool, error) { 4920 m.ctrl.T.Helper() 4921 ret := m.ctrl.Call(m, "ReadClusterAvailability") 4922 ret0, _ := ret[0].(bool) 4923 ret1, _ := ret[1].(error) 4924 return ret0, ret1 4925 } 4926 4927 // ReadClusterAvailability indicates an expected call of ReadClusterAvailability. 4928 func (mr *MockclientSessionMockRecorder) ReadClusterAvailability() *gomock.Call { 4929 mr.mock.ctrl.T.Helper() 4930 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadClusterAvailability", reflect.TypeOf((*MockclientSession)(nil).ReadClusterAvailability)) 4931 } 4932 4933 // Replicas mocks base method. 4934 func (m *MockclientSession) Replicas() int { 4935 m.ctrl.T.Helper() 4936 ret := m.ctrl.Call(m, "Replicas") 4937 ret0, _ := ret[0].(int) 4938 return ret0 4939 } 4940 4941 // Replicas indicates an expected call of Replicas. 4942 func (mr *MockclientSessionMockRecorder) Replicas() *gomock.Call { 4943 mr.mock.ctrl.T.Helper() 4944 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockclientSession)(nil).Replicas)) 4945 } 4946 4947 // ShardID mocks base method. 4948 func (m *MockclientSession) ShardID(id ident.ID) (uint32, error) { 4949 m.ctrl.T.Helper() 4950 ret := m.ctrl.Call(m, "ShardID", id) 4951 ret0, _ := ret[0].(uint32) 4952 ret1, _ := ret[1].(error) 4953 return ret0, ret1 4954 } 4955 4956 // ShardID indicates an expected call of ShardID. 4957 func (mr *MockclientSessionMockRecorder) ShardID(id interface{}) *gomock.Call { 4958 mr.mock.ctrl.T.Helper() 4959 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShardID", reflect.TypeOf((*MockclientSession)(nil).ShardID), id) 4960 } 4961 4962 // TopologyMap mocks base method. 4963 func (m *MockclientSession) TopologyMap() (topology.Map, error) { 4964 m.ctrl.T.Helper() 4965 ret := m.ctrl.Call(m, "TopologyMap") 4966 ret0, _ := ret[0].(topology.Map) 4967 ret1, _ := ret[1].(error) 4968 return ret0, ret1 4969 } 4970 4971 // TopologyMap indicates an expected call of TopologyMap. 4972 func (mr *MockclientSessionMockRecorder) TopologyMap() *gomock.Call { 4973 mr.mock.ctrl.T.Helper() 4974 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopologyMap", reflect.TypeOf((*MockclientSession)(nil).TopologyMap)) 4975 } 4976 4977 // Truncate mocks base method. 4978 func (m *MockclientSession) Truncate(namespace ident.ID) (int64, error) { 4979 m.ctrl.T.Helper() 4980 ret := m.ctrl.Call(m, "Truncate", namespace) 4981 ret0, _ := ret[0].(int64) 4982 ret1, _ := ret[1].(error) 4983 return ret0, ret1 4984 } 4985 4986 // Truncate indicates an expected call of Truncate. 4987 func (mr *MockclientSessionMockRecorder) Truncate(namespace interface{}) *gomock.Call { 4988 mr.mock.ctrl.T.Helper() 4989 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockclientSession)(nil).Truncate), namespace) 4990 } 4991 4992 // Write mocks base method. 4993 func (m *MockclientSession) Write(namespace, id ident.ID, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 4994 m.ctrl.T.Helper() 4995 ret := m.ctrl.Call(m, "Write", namespace, id, t, value, unit, annotation) 4996 ret0, _ := ret[0].(error) 4997 return ret0 4998 } 4999 5000 // Write indicates an expected call of Write. 5001 func (mr *MockclientSessionMockRecorder) Write(namespace, id, t, value, unit, annotation interface{}) *gomock.Call { 5002 mr.mock.ctrl.T.Helper() 5003 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockclientSession)(nil).Write), namespace, id, t, value, unit, annotation) 5004 } 5005 5006 // WriteClusterAvailability mocks base method. 5007 func (m *MockclientSession) WriteClusterAvailability() (bool, error) { 5008 m.ctrl.T.Helper() 5009 ret := m.ctrl.Call(m, "WriteClusterAvailability") 5010 ret0, _ := ret[0].(bool) 5011 ret1, _ := ret[1].(error) 5012 return ret0, ret1 5013 } 5014 5015 // WriteClusterAvailability indicates an expected call of WriteClusterAvailability. 5016 func (mr *MockclientSessionMockRecorder) WriteClusterAvailability() *gomock.Call { 5017 mr.mock.ctrl.T.Helper() 5018 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteClusterAvailability", reflect.TypeOf((*MockclientSession)(nil).WriteClusterAvailability)) 5019 } 5020 5021 // WriteTagged mocks base method. 5022 func (m *MockclientSession) WriteTagged(namespace, id ident.ID, tags ident.TagIterator, t time0.UnixNano, value float64, unit time0.Unit, annotation []byte) error { 5023 m.ctrl.T.Helper() 5024 ret := m.ctrl.Call(m, "WriteTagged", namespace, id, tags, t, value, unit, annotation) 5025 ret0, _ := ret[0].(error) 5026 return ret0 5027 } 5028 5029 // WriteTagged indicates an expected call of WriteTagged. 5030 func (mr *MockclientSessionMockRecorder) WriteTagged(namespace, id, tags, t, value, unit, annotation interface{}) *gomock.Call { 5031 mr.mock.ctrl.T.Helper() 5032 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTagged", reflect.TypeOf((*MockclientSession)(nil).WriteTagged), namespace, id, tags, t, value, unit, annotation) 5033 } 5034 5035 // MockhostQueue is a mock of hostQueue interface. 5036 type MockhostQueue struct { 5037 ctrl *gomock.Controller 5038 recorder *MockhostQueueMockRecorder 5039 } 5040 5041 // MockhostQueueMockRecorder is the mock recorder for MockhostQueue. 5042 type MockhostQueueMockRecorder struct { 5043 mock *MockhostQueue 5044 } 5045 5046 // NewMockhostQueue creates a new mock instance. 5047 func NewMockhostQueue(ctrl *gomock.Controller) *MockhostQueue { 5048 mock := &MockhostQueue{ctrl: ctrl} 5049 mock.recorder = &MockhostQueueMockRecorder{mock} 5050 return mock 5051 } 5052 5053 // EXPECT returns an object that allows the caller to indicate expected use. 5054 func (m *MockhostQueue) EXPECT() *MockhostQueueMockRecorder { 5055 return m.recorder 5056 } 5057 5058 // BorrowConnection mocks base method. 5059 func (m *MockhostQueue) BorrowConnection(fn WithConnectionFn) error { 5060 m.ctrl.T.Helper() 5061 ret := m.ctrl.Call(m, "BorrowConnection", fn) 5062 ret0, _ := ret[0].(error) 5063 return ret0 5064 } 5065 5066 // BorrowConnection indicates an expected call of BorrowConnection. 5067 func (mr *MockhostQueueMockRecorder) BorrowConnection(fn interface{}) *gomock.Call { 5068 mr.mock.ctrl.T.Helper() 5069 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*MockhostQueue)(nil).BorrowConnection), fn) 5070 } 5071 5072 // Close mocks base method. 5073 func (m *MockhostQueue) Close() { 5074 m.ctrl.T.Helper() 5075 m.ctrl.Call(m, "Close") 5076 } 5077 5078 // Close indicates an expected call of Close. 5079 func (mr *MockhostQueueMockRecorder) Close() *gomock.Call { 5080 mr.mock.ctrl.T.Helper() 5081 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockhostQueue)(nil).Close)) 5082 } 5083 5084 // ConnectionCount mocks base method. 5085 func (m *MockhostQueue) ConnectionCount() int { 5086 m.ctrl.T.Helper() 5087 ret := m.ctrl.Call(m, "ConnectionCount") 5088 ret0, _ := ret[0].(int) 5089 return ret0 5090 } 5091 5092 // ConnectionCount indicates an expected call of ConnectionCount. 5093 func (mr *MockhostQueueMockRecorder) ConnectionCount() *gomock.Call { 5094 mr.mock.ctrl.T.Helper() 5095 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionCount", reflect.TypeOf((*MockhostQueue)(nil).ConnectionCount)) 5096 } 5097 5098 // ConnectionPool mocks base method. 5099 func (m *MockhostQueue) ConnectionPool() connectionPool { 5100 m.ctrl.T.Helper() 5101 ret := m.ctrl.Call(m, "ConnectionPool") 5102 ret0, _ := ret[0].(connectionPool) 5103 return ret0 5104 } 5105 5106 // ConnectionPool indicates an expected call of ConnectionPool. 5107 func (mr *MockhostQueueMockRecorder) ConnectionPool() *gomock.Call { 5108 mr.mock.ctrl.T.Helper() 5109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionPool", reflect.TypeOf((*MockhostQueue)(nil).ConnectionPool)) 5110 } 5111 5112 // Enqueue mocks base method. 5113 func (m *MockhostQueue) Enqueue(op op) error { 5114 m.ctrl.T.Helper() 5115 ret := m.ctrl.Call(m, "Enqueue", op) 5116 ret0, _ := ret[0].(error) 5117 return ret0 5118 } 5119 5120 // Enqueue indicates an expected call of Enqueue. 5121 func (mr *MockhostQueueMockRecorder) Enqueue(op interface{}) *gomock.Call { 5122 mr.mock.ctrl.T.Helper() 5123 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enqueue", reflect.TypeOf((*MockhostQueue)(nil).Enqueue), op) 5124 } 5125 5126 // Host mocks base method. 5127 func (m *MockhostQueue) Host() topology.Host { 5128 m.ctrl.T.Helper() 5129 ret := m.ctrl.Call(m, "Host") 5130 ret0, _ := ret[0].(topology.Host) 5131 return ret0 5132 } 5133 5134 // Host indicates an expected call of Host. 5135 func (mr *MockhostQueueMockRecorder) Host() *gomock.Call { 5136 mr.mock.ctrl.T.Helper() 5137 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Host", reflect.TypeOf((*MockhostQueue)(nil).Host)) 5138 } 5139 5140 // Len mocks base method. 5141 func (m *MockhostQueue) Len() int { 5142 m.ctrl.T.Helper() 5143 ret := m.ctrl.Call(m, "Len") 5144 ret0, _ := ret[0].(int) 5145 return ret0 5146 } 5147 5148 // Len indicates an expected call of Len. 5149 func (mr *MockhostQueueMockRecorder) Len() *gomock.Call { 5150 mr.mock.ctrl.T.Helper() 5151 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockhostQueue)(nil).Len)) 5152 } 5153 5154 // Open mocks base method. 5155 func (m *MockhostQueue) Open() { 5156 m.ctrl.T.Helper() 5157 m.ctrl.Call(m, "Open") 5158 } 5159 5160 // Open indicates an expected call of Open. 5161 func (mr *MockhostQueueMockRecorder) Open() *gomock.Call { 5162 mr.mock.ctrl.T.Helper() 5163 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockhostQueue)(nil).Open)) 5164 } 5165 5166 // MockChannel is a mock of Channel interface. 5167 type MockChannel struct { 5168 ctrl *gomock.Controller 5169 recorder *MockChannelMockRecorder 5170 } 5171 5172 // MockChannelMockRecorder is the mock recorder for MockChannel. 5173 type MockChannelMockRecorder struct { 5174 mock *MockChannel 5175 } 5176 5177 // NewMockChannel creates a new mock instance. 5178 func NewMockChannel(ctrl *gomock.Controller) *MockChannel { 5179 mock := &MockChannel{ctrl: ctrl} 5180 mock.recorder = &MockChannelMockRecorder{mock} 5181 return mock 5182 } 5183 5184 // EXPECT returns an object that allows the caller to indicate expected use. 5185 func (m *MockChannel) EXPECT() *MockChannelMockRecorder { 5186 return m.recorder 5187 } 5188 5189 // Close mocks base method. 5190 func (m *MockChannel) Close() { 5191 m.ctrl.T.Helper() 5192 m.ctrl.Call(m, "Close") 5193 } 5194 5195 // Close indicates an expected call of Close. 5196 func (mr *MockChannelMockRecorder) Close() *gomock.Call { 5197 mr.mock.ctrl.T.Helper() 5198 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockChannel)(nil).Close)) 5199 } 5200 5201 // GetSubChannel mocks base method. 5202 func (m *MockChannel) GetSubChannel(serviceName string, opts ...tchannel_go.SubChannelOption) *tchannel_go.SubChannel { 5203 m.ctrl.T.Helper() 5204 varargs := []interface{}{serviceName} 5205 for _, a := range opts { 5206 varargs = append(varargs, a) 5207 } 5208 ret := m.ctrl.Call(m, "GetSubChannel", varargs...) 5209 ret0, _ := ret[0].(*tchannel_go.SubChannel) 5210 return ret0 5211 } 5212 5213 // GetSubChannel indicates an expected call of GetSubChannel. 5214 func (mr *MockChannelMockRecorder) GetSubChannel(serviceName interface{}, opts ...interface{}) *gomock.Call { 5215 mr.mock.ctrl.T.Helper() 5216 varargs := append([]interface{}{serviceName}, opts...) 5217 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubChannel", reflect.TypeOf((*MockChannel)(nil).GetSubChannel), varargs...) 5218 } 5219 5220 // MockconnectionPool is a mock of connectionPool interface. 5221 type MockconnectionPool struct { 5222 ctrl *gomock.Controller 5223 recorder *MockconnectionPoolMockRecorder 5224 } 5225 5226 // MockconnectionPoolMockRecorder is the mock recorder for MockconnectionPool. 5227 type MockconnectionPoolMockRecorder struct { 5228 mock *MockconnectionPool 5229 } 5230 5231 // NewMockconnectionPool creates a new mock instance. 5232 func NewMockconnectionPool(ctrl *gomock.Controller) *MockconnectionPool { 5233 mock := &MockconnectionPool{ctrl: ctrl} 5234 mock.recorder = &MockconnectionPoolMockRecorder{mock} 5235 return mock 5236 } 5237 5238 // EXPECT returns an object that allows the caller to indicate expected use. 5239 func (m *MockconnectionPool) EXPECT() *MockconnectionPoolMockRecorder { 5240 return m.recorder 5241 } 5242 5243 // Close mocks base method. 5244 func (m *MockconnectionPool) Close() { 5245 m.ctrl.T.Helper() 5246 m.ctrl.Call(m, "Close") 5247 } 5248 5249 // Close indicates an expected call of Close. 5250 func (mr *MockconnectionPoolMockRecorder) Close() *gomock.Call { 5251 mr.mock.ctrl.T.Helper() 5252 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockconnectionPool)(nil).Close)) 5253 } 5254 5255 // ConnectionCount mocks base method. 5256 func (m *MockconnectionPool) ConnectionCount() int { 5257 m.ctrl.T.Helper() 5258 ret := m.ctrl.Call(m, "ConnectionCount") 5259 ret0, _ := ret[0].(int) 5260 return ret0 5261 } 5262 5263 // ConnectionCount indicates an expected call of ConnectionCount. 5264 func (mr *MockconnectionPoolMockRecorder) ConnectionCount() *gomock.Call { 5265 mr.mock.ctrl.T.Helper() 5266 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionCount", reflect.TypeOf((*MockconnectionPool)(nil).ConnectionCount)) 5267 } 5268 5269 // NextClient mocks base method. 5270 func (m *MockconnectionPool) NextClient() (rpc.TChanNode, Channel, error) { 5271 m.ctrl.T.Helper() 5272 ret := m.ctrl.Call(m, "NextClient") 5273 ret0, _ := ret[0].(rpc.TChanNode) 5274 ret1, _ := ret[1].(Channel) 5275 ret2, _ := ret[2].(error) 5276 return ret0, ret1, ret2 5277 } 5278 5279 // NextClient indicates an expected call of NextClient. 5280 func (mr *MockconnectionPoolMockRecorder) NextClient() *gomock.Call { 5281 mr.mock.ctrl.T.Helper() 5282 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextClient", reflect.TypeOf((*MockconnectionPool)(nil).NextClient)) 5283 } 5284 5285 // Open mocks base method. 5286 func (m *MockconnectionPool) Open() { 5287 m.ctrl.T.Helper() 5288 m.ctrl.Call(m, "Open") 5289 } 5290 5291 // Open indicates an expected call of Open. 5292 func (mr *MockconnectionPoolMockRecorder) Open() *gomock.Call { 5293 mr.mock.ctrl.T.Helper() 5294 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockconnectionPool)(nil).Open)) 5295 } 5296 5297 // MockpeerSource is a mock of peerSource interface. 5298 type MockpeerSource struct { 5299 ctrl *gomock.Controller 5300 recorder *MockpeerSourceMockRecorder 5301 } 5302 5303 // MockpeerSourceMockRecorder is the mock recorder for MockpeerSource. 5304 type MockpeerSourceMockRecorder struct { 5305 mock *MockpeerSource 5306 } 5307 5308 // NewMockpeerSource creates a new mock instance. 5309 func NewMockpeerSource(ctrl *gomock.Controller) *MockpeerSource { 5310 mock := &MockpeerSource{ctrl: ctrl} 5311 mock.recorder = &MockpeerSourceMockRecorder{mock} 5312 return mock 5313 } 5314 5315 // EXPECT returns an object that allows the caller to indicate expected use. 5316 func (m *MockpeerSource) EXPECT() *MockpeerSourceMockRecorder { 5317 return m.recorder 5318 } 5319 5320 // BorrowConnection mocks base method. 5321 func (m *MockpeerSource) BorrowConnection(hostID string, fn WithConnectionFn) error { 5322 m.ctrl.T.Helper() 5323 ret := m.ctrl.Call(m, "BorrowConnection", hostID, fn) 5324 ret0, _ := ret[0].(error) 5325 return ret0 5326 } 5327 5328 // BorrowConnection indicates an expected call of BorrowConnection. 5329 func (mr *MockpeerSourceMockRecorder) BorrowConnection(hostID, fn interface{}) *gomock.Call { 5330 mr.mock.ctrl.T.Helper() 5331 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*MockpeerSource)(nil).BorrowConnection), hostID, fn) 5332 } 5333 5334 // Mockpeer is a mock of peer interface. 5335 type Mockpeer struct { 5336 ctrl *gomock.Controller 5337 recorder *MockpeerMockRecorder 5338 } 5339 5340 // MockpeerMockRecorder is the mock recorder for Mockpeer. 5341 type MockpeerMockRecorder struct { 5342 mock *Mockpeer 5343 } 5344 5345 // NewMockpeer creates a new mock instance. 5346 func NewMockpeer(ctrl *gomock.Controller) *Mockpeer { 5347 mock := &Mockpeer{ctrl: ctrl} 5348 mock.recorder = &MockpeerMockRecorder{mock} 5349 return mock 5350 } 5351 5352 // EXPECT returns an object that allows the caller to indicate expected use. 5353 func (m *Mockpeer) EXPECT() *MockpeerMockRecorder { 5354 return m.recorder 5355 } 5356 5357 // BorrowConnection mocks base method. 5358 func (m *Mockpeer) BorrowConnection(fn WithConnectionFn) error { 5359 m.ctrl.T.Helper() 5360 ret := m.ctrl.Call(m, "BorrowConnection", fn) 5361 ret0, _ := ret[0].(error) 5362 return ret0 5363 } 5364 5365 // BorrowConnection indicates an expected call of BorrowConnection. 5366 func (mr *MockpeerMockRecorder) BorrowConnection(fn interface{}) *gomock.Call { 5367 mr.mock.ctrl.T.Helper() 5368 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BorrowConnection", reflect.TypeOf((*Mockpeer)(nil).BorrowConnection), fn) 5369 } 5370 5371 // Host mocks base method. 5372 func (m *Mockpeer) Host() topology.Host { 5373 m.ctrl.T.Helper() 5374 ret := m.ctrl.Call(m, "Host") 5375 ret0, _ := ret[0].(topology.Host) 5376 return ret0 5377 } 5378 5379 // Host indicates an expected call of Host. 5380 func (mr *MockpeerMockRecorder) Host() *gomock.Call { 5381 mr.mock.ctrl.T.Helper() 5382 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Host", reflect.TypeOf((*Mockpeer)(nil).Host)) 5383 } 5384 5385 // Mockop is a mock of op interface. 5386 type Mockop struct { 5387 ctrl *gomock.Controller 5388 recorder *MockopMockRecorder 5389 } 5390 5391 // MockopMockRecorder is the mock recorder for Mockop. 5392 type MockopMockRecorder struct { 5393 mock *Mockop 5394 } 5395 5396 // NewMockop creates a new mock instance. 5397 func NewMockop(ctrl *gomock.Controller) *Mockop { 5398 mock := &Mockop{ctrl: ctrl} 5399 mock.recorder = &MockopMockRecorder{mock} 5400 return mock 5401 } 5402 5403 // EXPECT returns an object that allows the caller to indicate expected use. 5404 func (m *Mockop) EXPECT() *MockopMockRecorder { 5405 return m.recorder 5406 } 5407 5408 // CompletionFn mocks base method. 5409 func (m *Mockop) CompletionFn() completionFn { 5410 m.ctrl.T.Helper() 5411 ret := m.ctrl.Call(m, "CompletionFn") 5412 ret0, _ := ret[0].(completionFn) 5413 return ret0 5414 } 5415 5416 // CompletionFn indicates an expected call of CompletionFn. 5417 func (mr *MockopMockRecorder) CompletionFn() *gomock.Call { 5418 mr.mock.ctrl.T.Helper() 5419 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CompletionFn", reflect.TypeOf((*Mockop)(nil).CompletionFn)) 5420 } 5421 5422 // Size mocks base method. 5423 func (m *Mockop) Size() int { 5424 m.ctrl.T.Helper() 5425 ret := m.ctrl.Call(m, "Size") 5426 ret0, _ := ret[0].(int) 5427 return ret0 5428 } 5429 5430 // Size indicates an expected call of Size. 5431 func (mr *MockopMockRecorder) Size() *gomock.Call { 5432 mr.mock.ctrl.T.Helper() 5433 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*Mockop)(nil).Size)) 5434 } 5435 5436 // MockenqueueChannel is a mock of enqueueChannel interface. 5437 type MockenqueueChannel struct { 5438 ctrl *gomock.Controller 5439 recorder *MockenqueueChannelMockRecorder 5440 } 5441 5442 // MockenqueueChannelMockRecorder is the mock recorder for MockenqueueChannel. 5443 type MockenqueueChannelMockRecorder struct { 5444 mock *MockenqueueChannel 5445 } 5446 5447 // NewMockenqueueChannel creates a new mock instance. 5448 func NewMockenqueueChannel(ctrl *gomock.Controller) *MockenqueueChannel { 5449 mock := &MockenqueueChannel{ctrl: ctrl} 5450 mock.recorder = &MockenqueueChannelMockRecorder{mock} 5451 return mock 5452 } 5453 5454 // EXPECT returns an object that allows the caller to indicate expected use. 5455 func (m *MockenqueueChannel) EXPECT() *MockenqueueChannelMockRecorder { 5456 return m.recorder 5457 } 5458 5459 // closeOnAllProcessed mocks base method. 5460 func (m *MockenqueueChannel) closeOnAllProcessed() { 5461 m.ctrl.T.Helper() 5462 m.ctrl.Call(m, "closeOnAllProcessed") 5463 } 5464 5465 // closeOnAllProcessed indicates an expected call of closeOnAllProcessed. 5466 func (mr *MockenqueueChannelMockRecorder) closeOnAllProcessed() *gomock.Call { 5467 mr.mock.ctrl.T.Helper() 5468 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "closeOnAllProcessed", reflect.TypeOf((*MockenqueueChannel)(nil).closeOnAllProcessed)) 5469 } 5470 5471 // enqueue mocks base method. 5472 func (m *MockenqueueChannel) enqueue(peersMetadata []receivedBlockMetadata) error { 5473 m.ctrl.T.Helper() 5474 ret := m.ctrl.Call(m, "enqueue", peersMetadata) 5475 ret0, _ := ret[0].(error) 5476 return ret0 5477 } 5478 5479 // enqueue indicates an expected call of enqueue. 5480 func (mr *MockenqueueChannelMockRecorder) enqueue(peersMetadata interface{}) *gomock.Call { 5481 mr.mock.ctrl.T.Helper() 5482 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "enqueue", reflect.TypeOf((*MockenqueueChannel)(nil).enqueue), peersMetadata) 5483 } 5484 5485 // enqueueDelayed mocks base method. 5486 func (m *MockenqueueChannel) enqueueDelayed(numToEnqueue int) (enqueueDelayedFn, enqueueDelayedDoneFn, error) { 5487 m.ctrl.T.Helper() 5488 ret := m.ctrl.Call(m, "enqueueDelayed", numToEnqueue) 5489 ret0, _ := ret[0].(enqueueDelayedFn) 5490 ret1, _ := ret[1].(enqueueDelayedDoneFn) 5491 ret2, _ := ret[2].(error) 5492 return ret0, ret1, ret2 5493 } 5494 5495 // enqueueDelayed indicates an expected call of enqueueDelayed. 5496 func (mr *MockenqueueChannelMockRecorder) enqueueDelayed(numToEnqueue interface{}) *gomock.Call { 5497 mr.mock.ctrl.T.Helper() 5498 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "enqueueDelayed", reflect.TypeOf((*MockenqueueChannel)(nil).enqueueDelayed), numToEnqueue) 5499 } 5500 5501 // read mocks base method. 5502 func (m *MockenqueueChannel) read() <-chan []receivedBlockMetadata { 5503 m.ctrl.T.Helper() 5504 ret := m.ctrl.Call(m, "read") 5505 ret0, _ := ret[0].(<-chan []receivedBlockMetadata) 5506 return ret0 5507 } 5508 5509 // read indicates an expected call of read. 5510 func (mr *MockenqueueChannelMockRecorder) read() *gomock.Call { 5511 mr.mock.ctrl.T.Helper() 5512 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "read", reflect.TypeOf((*MockenqueueChannel)(nil).read)) 5513 } 5514 5515 // trackPending mocks base method. 5516 func (m *MockenqueueChannel) trackPending(amount int) { 5517 m.ctrl.T.Helper() 5518 m.ctrl.Call(m, "trackPending", amount) 5519 } 5520 5521 // trackPending indicates an expected call of trackPending. 5522 func (mr *MockenqueueChannelMockRecorder) trackPending(amount interface{}) *gomock.Call { 5523 mr.mock.ctrl.T.Helper() 5524 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "trackPending", reflect.TypeOf((*MockenqueueChannel)(nil).trackPending), amount) 5525 } 5526 5527 // trackProcessed mocks base method. 5528 func (m *MockenqueueChannel) trackProcessed(amount int) { 5529 m.ctrl.T.Helper() 5530 m.ctrl.Call(m, "trackProcessed", amount) 5531 } 5532 5533 // trackProcessed indicates an expected call of trackProcessed. 5534 func (mr *MockenqueueChannelMockRecorder) trackProcessed(amount interface{}) *gomock.Call { 5535 mr.mock.ctrl.T.Helper() 5536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "trackProcessed", reflect.TypeOf((*MockenqueueChannel)(nil).trackProcessed), amount) 5537 } 5538 5539 // unprocessedLen mocks base method. 5540 func (m *MockenqueueChannel) unprocessedLen() int { 5541 m.ctrl.T.Helper() 5542 ret := m.ctrl.Call(m, "unprocessedLen") 5543 ret0, _ := ret[0].(int) 5544 return ret0 5545 } 5546 5547 // unprocessedLen indicates an expected call of unprocessedLen. 5548 func (mr *MockenqueueChannelMockRecorder) unprocessedLen() *gomock.Call { 5549 mr.mock.ctrl.T.Helper() 5550 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "unprocessedLen", reflect.TypeOf((*MockenqueueChannel)(nil).unprocessedLen)) 5551 }