Interface ApiBackgroundResource

All Superinterfaces:
AutoCloseable, com.google.api.gax.core.BackgroundResource
All Known Subinterfaces:
AdminClient, CursorClient, TopicStatsClient
All Known Implementing Classes:
AdminClientImpl, ApiResourceAggregation, CursorClientImpl, TopicStatsClientImpl

public interface ApiBackgroundResource extends com.google.api.gax.core.BackgroundResource
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Tear down this resource.

    Methods inherited from interface com.google.api.gax.core.BackgroundResource

    awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
  • Method Details

    • close

      void close() throws com.google.api.gax.rpc.ApiException
      Tear down this resource.
      Specified by:
      close in interface AutoCloseable
      Throws:
      com.google.api.gax.rpc.ApiException - on a failure to properly terminate.