Package io.dingodb.coordinator
Interface Coordinator.GetGCSafePointRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Coordinator.GetGCSafePointRequest,Coordinator.GetGCSafePointRequest.Builder
- Enclosing class:
- Coordinator
public static interface Coordinator.GetGCSafePointRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanif this is true, coordinator will return all tenant's safe point.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longgetTenantIds(int index) if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenantintif tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenantif tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenantlonggetTenantResolveLockIds(int index) repeated int64 tenant_resolve_lock_ids = 4;intrepeated int64 tenant_resolve_lock_ids = 4;repeated int64 tenant_resolve_lock_ids = 4;boolean.dingodb.pb.common.RequestInfo request_info = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestInfo
boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
Common.RequestInfo getRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
Common.RequestInfoOrBuilder getRequestInfoOrBuilder().dingodb.pb.common.RequestInfo request_info = 1; -
getTenantIdsList
if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
repeated int64 tenant_ids = 2;- Returns:
- A list containing the tenantIds.
-
getTenantIdsCount
int getTenantIdsCount()if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
repeated int64 tenant_ids = 2;- Returns:
- The count of tenantIds.
-
getTenantIds
long getTenantIds(int index) if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
repeated int64 tenant_ids = 2;- Parameters:
index- The index of the element to return.- Returns:
- The tenantIds at the given index.
-
getGetAllTenant
boolean getGetAllTenant()if this is true, coordinator will return all tenant's safe point
bool get_all_tenant = 3;- Returns:
- The getAllTenant.
-
getTenantResolveLockIdsList
repeated int64 tenant_resolve_lock_ids = 4;- Returns:
- A list containing the tenantResolveLockIds.
-
getTenantResolveLockIdsCount
int getTenantResolveLockIdsCount()repeated int64 tenant_resolve_lock_ids = 4;- Returns:
- The count of tenantResolveLockIds.
-
getTenantResolveLockIds
long getTenantResolveLockIds(int index) repeated int64 tenant_resolve_lock_ids = 4;- Parameters:
index- The index of the element to return.- Returns:
- The tenantResolveLockIds at the given index.
-