Class ApiServiceUtils


  • public class ApiServiceUtils
    extends Object
    • Method Detail

      • autoCloseableAsApiService

        public static com.google.api.core.ApiService autoCloseableAsApiService​(AutoCloseable resource)
      • stopAsync

        public static void stopAsync​(Iterable<? extends com.google.api.core.ApiService> services)
                              throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException
      • blockingShutdown

        public static void blockingShutdown​(Iterable<? extends com.google.api.core.ApiService> services)
                                     throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException
      • blockingShutdown

        public static void blockingShutdown​(com.google.api.core.ApiService service)