Class ApiServiceUtils (1.8.0)

public class ApiServiceUtils

Inheritance

java.lang.Object > ApiServiceUtils

Static Methods

autoCloseableAsApiService(AutoCloseable resource)

public static ApiService autoCloseableAsApiService(AutoCloseable resource)
Parameter
NameDescription
resourceAutoCloseable
Returns
TypeDescription
ApiService

blockingShutdown(ApiService service)

public static void blockingShutdown(ApiService service)
Parameter
NameDescription
serviceApiService

blockingShutdown(Iterable<? extends ApiService> services)

public static void blockingShutdown(Iterable<? extends ApiService> services)
Parameter
NameDescription
servicesIterable<? extends com.google.api.core.ApiService>
Exceptions
TypeDescription
ApiException

stopAsync(Iterable<? extends ApiService> services)

public static void stopAsync(Iterable<? extends ApiService> services)
Parameter
NameDescription
servicesIterable<? extends com.google.api.core.ApiService>
Exceptions
TypeDescription
ApiException