Package com.google.cloud.channel.v1.stub
Class GrpcCloudChannelServiceStub
- java.lang.Object
-
- com.google.cloud.channel.v1.stub.CloudChannelServiceStub
-
- com.google.cloud.channel.v1.stub.GrpcCloudChannelServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcCloudChannelServiceStub extends CloudChannelServiceStub
gRPC stub implementation for the CloudChannelService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcCloudChannelServiceStub, using the given settings.protectedGrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcCloudChannelServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.channel.v1.stub.CloudChannelServiceStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcCloudChannelServiceStub
protected GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcCloudChannelServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcCloudChannelServiceStub
protected GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcCloudChannelServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcCloudChannelServiceStub create(CloudChannelServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcCloudChannelServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcCloudChannelServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classCloudChannelServiceStub
-
listCustomersCallable
public com.google.api.gax.rpc.UnaryCallable<ListCustomersRequest,ListCustomersResponse> listCustomersCallable()
- Overrides:
listCustomersCallablein classCloudChannelServiceStub
-
listCustomersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListCustomersRequest,CloudChannelServiceClient.ListCustomersPagedResponse> listCustomersPagedCallable()
- Overrides:
listCustomersPagedCallablein classCloudChannelServiceStub
-
getCustomerCallable
public com.google.api.gax.rpc.UnaryCallable<GetCustomerRequest,Customer> getCustomerCallable()
- Overrides:
getCustomerCallablein classCloudChannelServiceStub
-
checkCloudIdentityAccountsExistCallable
public com.google.api.gax.rpc.UnaryCallable<CheckCloudIdentityAccountsExistRequest,CheckCloudIdentityAccountsExistResponse> checkCloudIdentityAccountsExistCallable()
- Overrides:
checkCloudIdentityAccountsExistCallablein classCloudChannelServiceStub
-
createCustomerCallable
public com.google.api.gax.rpc.UnaryCallable<CreateCustomerRequest,Customer> createCustomerCallable()
- Overrides:
createCustomerCallablein classCloudChannelServiceStub
-
updateCustomerCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateCustomerRequest,Customer> updateCustomerCallable()
- Overrides:
updateCustomerCallablein classCloudChannelServiceStub
-
deleteCustomerCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteCustomerRequest,com.google.protobuf.Empty> deleteCustomerCallable()
- Overrides:
deleteCustomerCallablein classCloudChannelServiceStub
-
importCustomerCallable
public com.google.api.gax.rpc.UnaryCallable<ImportCustomerRequest,Customer> importCustomerCallable()
- Overrides:
importCustomerCallablein classCloudChannelServiceStub
-
provisionCloudIdentityCallable
public com.google.api.gax.rpc.UnaryCallable<ProvisionCloudIdentityRequest,com.google.longrunning.Operation> provisionCloudIdentityCallable()
- Overrides:
provisionCloudIdentityCallablein classCloudChannelServiceStub
-
provisionCloudIdentityOperationCallable
public com.google.api.gax.rpc.OperationCallable<ProvisionCloudIdentityRequest,Customer,OperationMetadata> provisionCloudIdentityOperationCallable()
- Overrides:
provisionCloudIdentityOperationCallablein classCloudChannelServiceStub
-
listEntitlementsCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
- Overrides:
listEntitlementsCallablein classCloudChannelServiceStub
-
listEntitlementsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntitlementsRequest,CloudChannelServiceClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
- Overrides:
listEntitlementsPagedCallablein classCloudChannelServiceStub
-
listTransferableSkusCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferableSkusRequest,ListTransferableSkusResponse> listTransferableSkusCallable()
- Overrides:
listTransferableSkusCallablein classCloudChannelServiceStub
-
listTransferableSkusPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferableSkusRequest,CloudChannelServiceClient.ListTransferableSkusPagedResponse> listTransferableSkusPagedCallable()
- Overrides:
listTransferableSkusPagedCallablein classCloudChannelServiceStub
-
listTransferableOffersCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferableOffersRequest,ListTransferableOffersResponse> listTransferableOffersCallable()
- Overrides:
listTransferableOffersCallablein classCloudChannelServiceStub
-
listTransferableOffersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferableOffersRequest,CloudChannelServiceClient.ListTransferableOffersPagedResponse> listTransferableOffersPagedCallable()
- Overrides:
listTransferableOffersPagedCallablein classCloudChannelServiceStub
-
getEntitlementCallable
public com.google.api.gax.rpc.UnaryCallable<GetEntitlementRequest,Entitlement> getEntitlementCallable()
- Overrides:
getEntitlementCallablein classCloudChannelServiceStub
-
createEntitlementCallable
public com.google.api.gax.rpc.UnaryCallable<CreateEntitlementRequest,com.google.longrunning.Operation> createEntitlementCallable()
- Overrides:
createEntitlementCallablein classCloudChannelServiceStub
-
createEntitlementOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationCallable()
- Overrides:
createEntitlementOperationCallablein classCloudChannelServiceStub
-
changeParametersCallable
public com.google.api.gax.rpc.UnaryCallable<ChangeParametersRequest,com.google.longrunning.Operation> changeParametersCallable()
- Overrides:
changeParametersCallablein classCloudChannelServiceStub
-
changeParametersOperationCallable
public com.google.api.gax.rpc.OperationCallable<ChangeParametersRequest,Entitlement,OperationMetadata> changeParametersOperationCallable()
- Overrides:
changeParametersOperationCallablein classCloudChannelServiceStub
-
changeRenewalSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<ChangeRenewalSettingsRequest,com.google.longrunning.Operation> changeRenewalSettingsCallable()
- Overrides:
changeRenewalSettingsCallablein classCloudChannelServiceStub
-
changeRenewalSettingsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ChangeRenewalSettingsRequest,Entitlement,OperationMetadata> changeRenewalSettingsOperationCallable()
- Overrides:
changeRenewalSettingsOperationCallablein classCloudChannelServiceStub
-
changeOfferCallable
public com.google.api.gax.rpc.UnaryCallable<ChangeOfferRequest,com.google.longrunning.Operation> changeOfferCallable()
- Overrides:
changeOfferCallablein classCloudChannelServiceStub
-
changeOfferOperationCallable
public com.google.api.gax.rpc.OperationCallable<ChangeOfferRequest,Entitlement,OperationMetadata> changeOfferOperationCallable()
- Overrides:
changeOfferOperationCallablein classCloudChannelServiceStub
-
startPaidServiceCallable
public com.google.api.gax.rpc.UnaryCallable<StartPaidServiceRequest,com.google.longrunning.Operation> startPaidServiceCallable()
- Overrides:
startPaidServiceCallablein classCloudChannelServiceStub
-
startPaidServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<StartPaidServiceRequest,Entitlement,OperationMetadata> startPaidServiceOperationCallable()
- Overrides:
startPaidServiceOperationCallablein classCloudChannelServiceStub
-
suspendEntitlementCallable
public com.google.api.gax.rpc.UnaryCallable<SuspendEntitlementRequest,com.google.longrunning.Operation> suspendEntitlementCallable()
- Overrides:
suspendEntitlementCallablein classCloudChannelServiceStub
-
suspendEntitlementOperationCallable
public com.google.api.gax.rpc.OperationCallable<SuspendEntitlementRequest,Entitlement,OperationMetadata> suspendEntitlementOperationCallable()
- Overrides:
suspendEntitlementOperationCallablein classCloudChannelServiceStub
-
cancelEntitlementCallable
public com.google.api.gax.rpc.UnaryCallable<CancelEntitlementRequest,com.google.longrunning.Operation> cancelEntitlementCallable()
- Overrides:
cancelEntitlementCallablein classCloudChannelServiceStub
-
cancelEntitlementOperationCallable
public com.google.api.gax.rpc.OperationCallable<CancelEntitlementRequest,com.google.protobuf.Empty,OperationMetadata> cancelEntitlementOperationCallable()
- Overrides:
cancelEntitlementOperationCallablein classCloudChannelServiceStub
-
activateEntitlementCallable
public com.google.api.gax.rpc.UnaryCallable<ActivateEntitlementRequest,com.google.longrunning.Operation> activateEntitlementCallable()
- Overrides:
activateEntitlementCallablein classCloudChannelServiceStub
-
activateEntitlementOperationCallable
public com.google.api.gax.rpc.OperationCallable<ActivateEntitlementRequest,Entitlement,OperationMetadata> activateEntitlementOperationCallable()
- Overrides:
activateEntitlementOperationCallablein classCloudChannelServiceStub
-
transferEntitlementsCallable
public com.google.api.gax.rpc.UnaryCallable<TransferEntitlementsRequest,com.google.longrunning.Operation> transferEntitlementsCallable()
- Overrides:
transferEntitlementsCallablein classCloudChannelServiceStub
-
transferEntitlementsOperationCallable
public com.google.api.gax.rpc.OperationCallable<TransferEntitlementsRequest,TransferEntitlementsResponse,OperationMetadata> transferEntitlementsOperationCallable()
- Overrides:
transferEntitlementsOperationCallablein classCloudChannelServiceStub
-
transferEntitlementsToGoogleCallable
public com.google.api.gax.rpc.UnaryCallable<TransferEntitlementsToGoogleRequest,com.google.longrunning.Operation> transferEntitlementsToGoogleCallable()
- Overrides:
transferEntitlementsToGoogleCallablein classCloudChannelServiceStub
-
transferEntitlementsToGoogleOperationCallable
public com.google.api.gax.rpc.OperationCallable<TransferEntitlementsToGoogleRequest,com.google.protobuf.Empty,OperationMetadata> transferEntitlementsToGoogleOperationCallable()
- Overrides:
transferEntitlementsToGoogleOperationCallablein classCloudChannelServiceStub
-
listChannelPartnerLinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelPartnerLinksRequest,ListChannelPartnerLinksResponse> listChannelPartnerLinksCallable()
- Overrides:
listChannelPartnerLinksCallablein classCloudChannelServiceStub
-
listChannelPartnerLinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelPartnerLinksRequest,CloudChannelServiceClient.ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksPagedCallable()
- Overrides:
listChannelPartnerLinksPagedCallablein classCloudChannelServiceStub
-
getChannelPartnerLinkCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelPartnerLinkRequest,ChannelPartnerLink> getChannelPartnerLinkCallable()
- Overrides:
getChannelPartnerLinkCallablein classCloudChannelServiceStub
-
createChannelPartnerLinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelPartnerLinkRequest,ChannelPartnerLink> createChannelPartnerLinkCallable()
- Overrides:
createChannelPartnerLinkCallablein classCloudChannelServiceStub
-
updateChannelPartnerLinkCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateChannelPartnerLinkRequest,ChannelPartnerLink> updateChannelPartnerLinkCallable()
- Overrides:
updateChannelPartnerLinkCallablein classCloudChannelServiceStub
-
getCustomerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetCustomerRepricingConfigRequest,CustomerRepricingConfig> getCustomerRepricingConfigCallable()
- Overrides:
getCustomerRepricingConfigCallablein classCloudChannelServiceStub
-
listCustomerRepricingConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListCustomerRepricingConfigsRequest,ListCustomerRepricingConfigsResponse> listCustomerRepricingConfigsCallable()
- Overrides:
listCustomerRepricingConfigsCallablein classCloudChannelServiceStub
-
listCustomerRepricingConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListCustomerRepricingConfigsRequest,CloudChannelServiceClient.ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsPagedCallable()
- Overrides:
listCustomerRepricingConfigsPagedCallablein classCloudChannelServiceStub
-
createCustomerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateCustomerRepricingConfigRequest,CustomerRepricingConfig> createCustomerRepricingConfigCallable()
- Overrides:
createCustomerRepricingConfigCallablein classCloudChannelServiceStub
-
updateCustomerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateCustomerRepricingConfigRequest,CustomerRepricingConfig> updateCustomerRepricingConfigCallable()
- Overrides:
updateCustomerRepricingConfigCallablein classCloudChannelServiceStub
-
deleteCustomerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteCustomerRepricingConfigRequest,com.google.protobuf.Empty> deleteCustomerRepricingConfigCallable()
- Overrides:
deleteCustomerRepricingConfigCallablein classCloudChannelServiceStub
-
getChannelPartnerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigCallable()
- Overrides:
getChannelPartnerRepricingConfigCallablein classCloudChannelServiceStub
-
listChannelPartnerRepricingConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelPartnerRepricingConfigsRequest,ListChannelPartnerRepricingConfigsResponse> listChannelPartnerRepricingConfigsCallable()
- Overrides:
listChannelPartnerRepricingConfigsCallablein classCloudChannelServiceStub
-
listChannelPartnerRepricingConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelPartnerRepricingConfigsRequest,CloudChannelServiceClient.ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsPagedCallable()
- Overrides:
listChannelPartnerRepricingConfigsPagedCallablein classCloudChannelServiceStub
-
createChannelPartnerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> createChannelPartnerRepricingConfigCallable()
- Overrides:
createChannelPartnerRepricingConfigCallablein classCloudChannelServiceStub
-
updateChannelPartnerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> updateChannelPartnerRepricingConfigCallable()
- Overrides:
updateChannelPartnerRepricingConfigCallablein classCloudChannelServiceStub
-
deleteChannelPartnerRepricingConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteChannelPartnerRepricingConfigRequest,com.google.protobuf.Empty> deleteChannelPartnerRepricingConfigCallable()
- Overrides:
deleteChannelPartnerRepricingConfigCallablein classCloudChannelServiceStub
-
listSkuGroupsCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkuGroupsRequest,ListSkuGroupsResponse> listSkuGroupsCallable()
- Overrides:
listSkuGroupsCallablein classCloudChannelServiceStub
-
listSkuGroupsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkuGroupsRequest,CloudChannelServiceClient.ListSkuGroupsPagedResponse> listSkuGroupsPagedCallable()
- Overrides:
listSkuGroupsPagedCallablein classCloudChannelServiceStub
-
listSkuGroupBillableSkusCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkuGroupBillableSkusRequest,ListSkuGroupBillableSkusResponse> listSkuGroupBillableSkusCallable()
- Overrides:
listSkuGroupBillableSkusCallablein classCloudChannelServiceStub
-
listSkuGroupBillableSkusPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkuGroupBillableSkusRequest,CloudChannelServiceClient.ListSkuGroupBillableSkusPagedResponse> listSkuGroupBillableSkusPagedCallable()
- Overrides:
listSkuGroupBillableSkusPagedCallablein classCloudChannelServiceStub
-
lookupOfferCallable
public com.google.api.gax.rpc.UnaryCallable<LookupOfferRequest,Offer> lookupOfferCallable()
- Overrides:
lookupOfferCallablein classCloudChannelServiceStub
-
listProductsCallable
public com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
- Overrides:
listProductsCallablein classCloudChannelServiceStub
-
listProductsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListProductsRequest,CloudChannelServiceClient.ListProductsPagedResponse> listProductsPagedCallable()
- Overrides:
listProductsPagedCallablein classCloudChannelServiceStub
-
listSkusCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkusRequest,ListSkusResponse> listSkusCallable()
- Overrides:
listSkusCallablein classCloudChannelServiceStub
-
listSkusPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSkusRequest,CloudChannelServiceClient.ListSkusPagedResponse> listSkusPagedCallable()
- Overrides:
listSkusPagedCallablein classCloudChannelServiceStub
-
listOffersCallable
public com.google.api.gax.rpc.UnaryCallable<ListOffersRequest,ListOffersResponse> listOffersCallable()
- Overrides:
listOffersCallablein classCloudChannelServiceStub
-
listOffersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOffersRequest,CloudChannelServiceClient.ListOffersPagedResponse> listOffersPagedCallable()
- Overrides:
listOffersPagedCallablein classCloudChannelServiceStub
-
listPurchasableSkusCallable
public com.google.api.gax.rpc.UnaryCallable<ListPurchasableSkusRequest,ListPurchasableSkusResponse> listPurchasableSkusCallable()
- Overrides:
listPurchasableSkusCallablein classCloudChannelServiceStub
-
listPurchasableSkusPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPurchasableSkusRequest,CloudChannelServiceClient.ListPurchasableSkusPagedResponse> listPurchasableSkusPagedCallable()
- Overrides:
listPurchasableSkusPagedCallablein classCloudChannelServiceStub
-
listPurchasableOffersCallable
public com.google.api.gax.rpc.UnaryCallable<ListPurchasableOffersRequest,ListPurchasableOffersResponse> listPurchasableOffersCallable()
- Overrides:
listPurchasableOffersCallablein classCloudChannelServiceStub
-
listPurchasableOffersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPurchasableOffersRequest,CloudChannelServiceClient.ListPurchasableOffersPagedResponse> listPurchasableOffersPagedCallable()
- Overrides:
listPurchasableOffersPagedCallablein classCloudChannelServiceStub
-
queryEligibleBillingAccountsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryEligibleBillingAccountsRequest,QueryEligibleBillingAccountsResponse> queryEligibleBillingAccountsCallable()
- Overrides:
queryEligibleBillingAccountsCallablein classCloudChannelServiceStub
-
registerSubscriberCallable
public com.google.api.gax.rpc.UnaryCallable<RegisterSubscriberRequest,RegisterSubscriberResponse> registerSubscriberCallable()
- Overrides:
registerSubscriberCallablein classCloudChannelServiceStub
-
unregisterSubscriberCallable
public com.google.api.gax.rpc.UnaryCallable<UnregisterSubscriberRequest,UnregisterSubscriberResponse> unregisterSubscriberCallable()
- Overrides:
unregisterSubscriberCallablein classCloudChannelServiceStub
-
listSubscribersCallable
public com.google.api.gax.rpc.UnaryCallable<ListSubscribersRequest,ListSubscribersResponse> listSubscribersCallable()
- Overrides:
listSubscribersCallablein classCloudChannelServiceStub
-
listSubscribersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSubscribersRequest,CloudChannelServiceClient.ListSubscribersPagedResponse> listSubscribersPagedCallable()
- Overrides:
listSubscribersPagedCallablein classCloudChannelServiceStub
-
listEntitlementChangesCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntitlementChangesRequest,ListEntitlementChangesResponse> listEntitlementChangesCallable()
- Overrides:
listEntitlementChangesCallablein classCloudChannelServiceStub
-
listEntitlementChangesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEntitlementChangesRequest,CloudChannelServiceClient.ListEntitlementChangesPagedResponse> listEntitlementChangesPagedCallable()
- Overrides:
listEntitlementChangesPagedCallablein classCloudChannelServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classCloudChannelServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-