Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ functions
Functions
22,628 in github.com/grpc/grpc-java
⨍
Functions
22,628
◇
Types & classes
3,835
↓ 7 callers
Method
getState
Returns the state.
api/src/main/java/io/grpc/ConnectivityStateInfo.java:57
↓ 7 callers
Method
getTestSocketAddress
()
netty/src/test/java/io/grpc/netty/NettyChannelBuilderTest.java:81
↓ 7 callers
Method
getThrottleProbability
Calculates throttleProbability. <pre> throttleProbability = (requests - ratio_for_accepts accepts) / (requests + requests_padding) </pre>
rls/src/main/java/io/grpc/rls/AdaptiveThrottler.java:110
↓ 7 callers
Method
getTlsChannelCredentials
()
s2a/src/test/java/io/grpc/s2a/internal/channel/S2AHandshakerServiceChannelTest.java:241
↓ 7 callers
Method
getTlsExtensionType
Returns the TLS extension type available (ALPN and NPN, NPN, or None).
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/Platform.java:124
↓ 7 callers
Method
getTrailers
Returns the received trailers. @since 1.0.0
api/src/main/java/io/grpc/StatusRuntimeException.java:69
↓ 7 callers
Method
getUnaryCallMethod
()
benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/BenchmarkServiceGrpc.java:18
↓ 7 callers
Method
gotoNonErrorState
(final ConnectivityState newState)
core/src/main/java/io/grpc/internal/InternalSubchannel.java:351
↓ 7 callers
Method
handleNameResolutionError
()
xds/src/test/java/io/grpc/xds/PriorityLoadBalancerTest.java:395
↓ 7 callers
Method
hasSingleAddress
Counts how many addresses are in a given address group.
util/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java:943
↓ 7 callers
Method
hasValue
(ArgumentMatcher<T> valueMatcher)
api/src/testFixtures/java/io/grpc/StatusOrMatcher.java:27
↓ 7 callers
Method
hashCode
()
xds/src/main/java/io/grpc/xds/XdsConfig.java:72
↓ 7 callers
Method
headers
()
xds/src/main/java/io/grpc/xds/internal/headermutations/HeaderMutations.java:31
↓ 7 callers
Method
httpProxy
Returns a {@link ProtocolNegotiator} that does HTTP CONNECT proxy negotiation.
netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java:489
↓ 7 callers
Method
id
()
okhttp/src/main/java/io/grpc/okhttp/OkHttpClientStream.java:419
↓ 7 callers
Method
inboundHeaders
(Metadata headers)
opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryPlugin.java:55
↓ 7 callers
Method
initializePrivateKey
()
s2a/src/test/java/io/grpc/s2a/internal/handshaker/FakeWriter.java:115
↓ 7 callers
Method
isAbsolute
Returns true iff this URI has a scheme and an authority/path hierarchy, but no fragment. <p>All instances of {@link Uri} are RFC 3986 URIs, not "rela
api/src/main/java/io/grpc/Uri.java:639
↓ 7 callers
Method
isGrpcContentType
Indicates whether or not the given value is a valid gRPC content-type.
core/src/main/java/io/grpc/internal/GrpcUtil.java:438
↓ 7 callers
Method
isResourceNameValid
(String resourceName, String typeUrl)
xds/src/main/java/io/grpc/xds/client/XdsClient.java:53
↓ 7 callers
Method
isShutdown
Returns whether the channel is shutdown. Shutdown channels immediately cancel any new calls, but may still have some calls being processed. @see #shu
api/src/main/java/io/grpc/ManagedChannel.java:44
↓ 7 callers
Method
isTerminated
()
binder/src/testFixtures/java/io/grpc/binder/internal/MainThreadScheduledExecutorService.java:125
↓ 7 callers
Method
logServerHeader
Logs the response header. Binary logging equivalent of logServerHeader.
gcp-observability/src/main/java/io/grpc/gcp/observability/interceptors/LogHelper.java:125
↓ 7 callers
Method
makeStream
()
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:372
↓ 7 callers
Method
metadataStatusToClientStatus
(ResourceMetadataStatus status)
xds/src/main/java/io/grpc/xds/CsdsService.java:239
↓ 7 callers
Method
name
()
xds/src/main/java/io/grpc/xds/internal/rbac/engine/GrpcAuthorizationEngine.java:127
↓ 7 callers
Method
namedClusterSpecifierPluginConfig
()
xds/src/main/java/io/grpc/xds/VirtualHost.java:163
↓ 7 callers
Method
newCaptureMetadataInterceptor
Captures the last received metadata on a channel. Useful for testing. @param headersCapture to record the last received headers @param trailersCaptur
stub/src/main/java/io/grpc/stub/MetadataUtils.java:92
↓ 7 callers
Method
newClientContext
Factory method for the client-side.
core/src/main/java/io/grpc/internal/StatsTraceContext.java:58
↓ 7 callers
Method
newClientTransportBuilder
()
binder/src/test/java/io/grpc/binder/internal/RobolectricBinderTransportTest.java:230
↓ 7 callers
Method
newClientTransportFactoryBuilder
()
binder/src/test/java/io/grpc/binder/internal/RobolectricBinderTransportTest.java:221
↓ 7 callers
Method
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service
services/src/generated/main/grpc/io/grpc/health/v1/HealthGrpc.java:124
↓ 7 callers
Method
newHandshaker
Creates a new handshaker.
alts/src/main/java/io/grpc/alts/internal/TsiHandshakerFactory.java:26
↓ 7 callers
Method
newMockContext
()
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:348
↓ 7 callers
Method
newRegistry
()
xds/src/main/java/io/grpc/xds/FilterRegistry.java:46
↓ 7 callers
Method
newRegistry
()
xds/src/main/java/io/grpc/xds/ClusterSpecifierPluginRegistry.java:38
↓ 7 callers
Method
newResourceMetadataAcked
( Any rawResource, String version, long updateTimeNanos)
xds/src/main/java/io/grpc/xds/client/XdsClient.java:206
↓ 7 callers
Method
newServerStreamTracer
(String fullMethodName, Metadata headers)
opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryMetricsModule.java:694
↓ 7 callers
Method
onReadCompleted
(BidirectionalStream stream, UrlResponseInfo info, ByteBuffer buffer, boolean endOfStream)
cronet/src/main/java/io/grpc/cronet/CronetClientStream.java:443
↓ 7 callers
Method
onStreamAllocated
Event handler to be called by the subclass when the stream's headers have passed any connection flow control (i.e., MAX_CONCURRENT_STREAMS). It may ca
core/src/main/java/io/grpc/internal/AbstractStream.java:308
↓ 7 callers
Method
onSuccess
()
core/src/main/java/io/grpc/internal/RetriableStream.java:1525
↓ 7 callers
Method
onTransportActive
There are outstanding RPCs on the transport.
core/src/main/java/io/grpc/internal/KeepAliveEnforcer.java:84
↓ 7 callers
Method
outboundUncompressedSize
(long bytes)
census/src/main/java/io/grpc/census/CensusStatsModule.java:295
↓ 7 callers
Method
outboundWireSize
(long bytes)
census/src/main/java/io/grpc/census/CensusStatsModule.java:271
↓ 7 callers
Method
outboundWireSize
(long bytes)
opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryMetricsModule.java:226
↓ 7 callers
Method
parseClusterSpecifierPlugin
(ClusterSpecifierPlugin pluginProto)
xds/src/main/java/io/grpc/xds/XdsRouteConfigureResource.java:601
↓ 7 callers
Method
parseServiceConfig
(Map<String, ?> rawServiceConfig)
core/src/main/java/io/grpc/internal/ScParser.java:49
↓ 7 callers
Method
prefixRanges
()
xds/src/main/java/io/grpc/xds/EnvoyServerProtoData.java:240
↓ 7 callers
Method
processTrailers
(List<Map.Entry<String, String>> trailerList)
cronet/src/main/java/io/grpc/cronet/CronetClientStream.java:490
↓ 7 callers
Method
providers
Returns effective providers, in priority order.
api/src/main/java/io/grpc/ManagedChannelRegistry.java:122
↓ 7 callers
Method
registerDoubleHistogram
Registers a new Double Histogram metric instrument. @param name the name of the metric @param description a description of the metric @param unit the
api/src/main/java/io/grpc/MetricInstrumentRegistry.java:201
↓ 7 callers
Method
registerLongGauge
Registers a new Long Gauge metric instrument. @param name the name of the metric @param description a description of the metric @param unit the unit
api/src/main/java/io/grpc/MetricInstrumentRegistry.java:283
↓ 7 callers
Method
removeUtilizationMetric
Remove the metrics data entry corresponding to the specified key.
services/src/main/java/io/grpc/services/MetricRecorder.java:64
↓ 7 callers
Method
reportEvent
(Event event)
core/src/main/java/io/grpc/internal/ChannelTracer.java:93
↓ 7 callers
Method
respondWithHttpError
( ChannelHandlerContext ctx, int streamId, int code, Status.Code statusCode, String msg)
netty/src/main/java/io/grpc/netty/NettyServerHandler.java:893
↓ 7 callers
Method
runWhenSet
Runs the given listener when this promise is fulfilled, or immediately if already fulfilled. @throws RuntimeException if already fulfilled and 'liste
binder/src/main/java/io/grpc/binder/internal/SimplePromise.java:77
↓ 7 callers
Method
serialize
Serialize all the metadata entries. <p>It produces serialized names and values interleaved. result[i 2] are names, while result[i 2+1] are values. <
api/src/main/java/io/grpc/Metadata.java:466
↓ 7 callers
Method
serverListenerResourceNameTemplate
A template for the name of the Listener resource to subscribe to for a gRPC server. <p>If starts with "xdstp:", will be interpreted as a new-style na
xds/src/main/java/io/grpc/xds/client/Bootstrapper.java:166
↓ 7 callers
Method
serverNames
()
xds/src/main/java/io/grpc/xds/EnvoyServerProtoData.java:250
↓ 7 callers
Method
serverPlaintext
Create a server plaintext handler for gRPC.
netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java:339
↓ 7 callers
Method
serverTls
Create a server TLS handler for HTTP/2 capable of using ALPN/NPN. @param executorPool a dedicated {@link Executor} pool for time-consuming TLS tasks
netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java:382
↓ 7 callers
Method
set
(Settings settings, int id, int value)
okhttp/src/main/java/io/grpc/okhttp/OkHttpSettingsUtil.java:38
↓ 7 callers
Method
setAccessToken
(String token)
s2a/src/main/java/io/grpc/s2a/internal/handshaker/tokenmanager/SingleTokenFetcher.java:39
↓ 7 callers
Method
setAddressResolver
(AddressResolver addressResolver)
grpclb/src/main/java/io/grpc/grpclb/GrpclbNameResolver.java:133
↓ 7 callers
Method
setConfig
Sets the parsed config. This field is required. @return this
api/src/main/java/io/grpc/InternalConfigSelector.java:101
↓ 7 callers
Method
setFactory
(BinderClientTransportFactory factory)
binder/src/testFixtures/java/io/grpc/binder/internal/BinderClientTransportBuilder.java:52
↓ 7 callers
Method
setResourceResolver
(ResourceResolver resourceResolver)
grpclb/src/main/java/io/grpc/grpclb/GrpclbNameResolver.java:139
↓ 7 callers
Method
setStatsEnabled
Disable or enable stats features. Enabled by default.
core/src/main/java/io/grpc/internal/ServerImplBuilder.java:214
↓ 7 callers
Method
setStream
(CronetClientStream stream)
cronet/src/test/java/io/grpc/cronet/CronetClientStreamTest.java:99
↓ 7 callers
Method
setSubchannels
Sets the subchannels.
api/src/main/java/io/grpc/InternalChannelz.java:455
↓ 7 callers
Method
setSystemPropertyForTest
Sets java system property 'key' to 'value' and arranges for its previous value to be unconditionally restored when the test completes.
api/src/testFixtures/java/io/grpc/FlagResetRule.java:53
↓ 7 callers
Method
setTarget
(String target)
api/src/main/java/io/grpc/InternalChannelz.java:419
↓ 7 callers
Method
setTracingEnabled
Disable or enable tracing features. Enabled by default.
core/src/main/java/io/grpc/internal/ServerImplBuilder.java:245
↓ 7 callers
Method
shutdown
()
core/src/main/java/io/grpc/internal/RetryingNameResolver.java:65
↓ 7 callers
Method
sink
{@code maxQueuedControlFrames} is only effective for frames written with {@link #limitControlFramesWriter(FrameWriter)}.
okhttp/src/main/java/io/grpc/okhttp/AsyncSink.java:76
↓ 7 callers
Method
size
()
api/src/context/java/io/grpc/PersistentHashArrayMappedTrie.java:67
↓ 7 callers
Method
sourcePorts
()
xds/src/main/java/io/grpc/xds/EnvoyServerProtoData.java:248
↓ 7 callers
Method
sourcePrefixRanges
()
xds/src/main/java/io/grpc/xds/EnvoyServerProtoData.java:244
↓ 7 callers
Method
startServerAsync
()
xds/src/test/java/io/grpc/xds/XdsServerBuilderTest.java:128
↓ 7 callers
Method
startTransport
(int startId, @Nullable Runnable connectingCallback, boolean waitingForConnected
okhttp/src/test/java/io/grpc/okhttp/OkHttpClientTransportTest.java:213
↓ 7 callers
Method
swapChannelCredentials
Swaps to a new ChannelCredentials with all other settings unchanged. Returns null if the ChannelCredentials is not supported by the current ClientTran
core/src/main/java/io/grpc/internal/ClientTransportFactory.java:65
↓ 7 callers
Method
takeNextRequest
Returns the next {@link OneWayBinderProxy} that needs decorating, blocking if it hasn't yet been provided to {@link #decorate}. <p>Follow this with a
binder/src/testFixtures/java/io/grpc/binder/internal/OneWayBinderProxies.java:42
↓ 7 callers
Method
tls
Returns a {@link ProtocolNegotiator} that ensures the pipeline is set up so that TLS will be negotiated, the {@code handler} is added and writes to th
netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java:776
↓ 7 callers
Method
toStatusException
Convert a {@link com.google.rpc.Status} instance to a {@link StatusException}. <p>The returned {@link StatusException} will wrap a {@link Status} who
protobuf/src/main/java/io/grpc/protobuf/StatusProto.java:84
↓ 7 callers
Method
toString
()
gcp-observability/src/test/java/io/grpc/gcp/observability/interceptors/LogHelperTest.java:139
↓ 7 callers
Method
toSubchannel
(InternalInstrumented<ChannelStats> subchannel)
services/src/main/java/io/grpc/protobuf/services/ChannelzProtoUtil.java:435
↓ 7 callers
Method
transportDataReceived
Called by subclasses whenever a data frame is received from the transport. @param frame the received data frame @param endOfStream {@code true} if th
core/src/main/java/io/grpc/internal/Http2ClientStreamTransportState.java:131
↓ 7 callers
Method
transportExecutor
Override the default executor necessary for internal transport use. <p>The channel does not take ownership of the given executor. It is the caller' r
okhttp/src/main/java/io/grpc/okhttp/OkHttpServerBuilder.java:171
↓ 7 callers
Method
typeUrls
The proto message types supported by this filter. A filter will be registered by each of its supported message types.
xds/src/main/java/io/grpc/xds/Filter.java:55
↓ 7 callers
Method
unbind
Unbind from the remote service if connected. <p>Observers will be notified with reason code {@code CANCELLED}. <p>Subsequent calls to {@link #bind()
binder/src/main/java/io/grpc/binder/internal/Bindable.java:96
↓ 7 callers
Method
updateBuilder
(ChannelStats.Builder builder)
core/src/main/java/io/grpc/internal/CallTracer.java:51
↓ 7 callers
Method
verifyGoldenRouteConfig
Verifies the RDS update against the golden route config {@link #testRouteConfig}.
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:588
↓ 7 callers
Method
waitForClose
()
netty/src/test/java/io/grpc/netty/NettyClientTransportTest.java:1267
↓ 7 callers
Method
withSpanContext
(SpanContext spanContext, Context context)
opentelemetry/src/test/java/io/grpc/opentelemetry/GrpcTraceBinContextPropagatorTest.java:67
↓ 7 callers
Method
writeSlice
(ByteBuf in, int len)
alts/src/test/java/io/grpc/alts/internal/ByteBufTestUtils.java:65
↓ 6 callers
Method
abruptShutdown
( ErrorCode errorCode, String moreDetail, Status reason, boolean rstStreams)
okhttp/src/main/java/io/grpc/okhttp/OkHttpServerTransport.java:351
↓ 6 callers
Method
add
(Map<Long, T> map, T object)
api/src/main/java/io/grpc/InternalChannelz.java:243
↓ 6 callers
Method
addClientSocket
Adds a socket.
api/src/main/java/io/grpc/InternalChannelz.java:96
↓ 6 callers
Method
addEdsClusters
(Map<String, Message> clusterMap, Map<String, Message> edsMap, String... clusterN
xds/src/test/java/io/grpc/xds/XdsTestUtils.java:331
↓ 6 callers
Method
addLabels
(AttributesBuilder to)
opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryPlugin.java:59
← previous
next →
2,101–2,200 of 22,628, ranked by callers