MCPcopy Create free account
hub / github.com/grpc/grpc-java / isAvailable

Method isAvailable

api/src/main/java/io/grpc/ServerProvider.java:54–54  ·  view source on GitHub ↗

Whether this provider is available for use, taking the current environment into consideration. If false, no other methods are safe to be called.

()

Source from the content-addressed store, hash-verified

52 * If {@code false}, no other methods are safe to be called.
53 */
54 protected abstract boolean isAvailable();
55
56 /**
57 * A priority, from 0 to 10 that this provider should be used, taking the current environment into

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected