Class ApiServiceUtils (1.14.7)

public class ApiServiceUtils

Inheritance

java.lang.Object > ApiServiceUtils

Static Methods

autoCloseableAsApiService(AutoCloseable resource)

public static ApiService autoCloseableAsApiService(AutoCloseable resource)
Parameter
Name Description
resource AutoCloseable
Returns
Type Description
ApiService

blockingShutdown(ApiService service)

public static void blockingShutdown(ApiService service)
Parameter
Name Description
service ApiService

blockingShutdown(Iterable<? extends ApiService> services)

public static void blockingShutdown(Iterable<? extends ApiService> services)
Parameter
Name Description
services Iterable<? extends com.google.api.core.ApiService>
Exceptions
Type Description
ApiException

stopAsync(Iterable<? extends ApiService> services)

public static void stopAsync(Iterable<? extends ApiService> services)
Parameter
Name Description
services Iterable<? extends com.google.api.core.ApiService>
Exceptions
Type Description
ApiException