MCPcopy Create free account

hub / github.com/grpc/grpc-java / functions

Functions22,628 in github.com/grpc/grpc-java

↓ 17 callersMethodsend
Sends a request and returns the response. Caller must wait until this method executes prior to calling it again. If this method throws {@code Connecti
s2a/src/main/java/io/grpc/s2a/internal/handshaker/S2AStub.java:106
↓ 17 callersMethodsetAddressResolver
(AddressResolver addressResolver)
core/src/main/java/io/grpc/internal/DnsNameResolver.java:558
↓ 17 callersMethodsetBehavior
(Behavior behavior)
s2a/src/test/java/io/grpc/s2a/internal/handshaker/FakeWriter.java:97
↓ 17 callersMethodsetBootstrapInfoAndBuildDownstreamTlsContext
( String cert1, String certInstanceName2, String privateKey2, String cert2, String trustCa2, Strin
xds/src/test/java/io/grpc/xds/XdsSecurityClientServerTest.java:685
↓ 17 callersMethodsetCall
(ClientCall<ReqT, RespT> call)
core/src/main/java/io/grpc/internal/DelayedClientCall.java:165
↓ 17 callersMethodsetDeadline
Sets the effective deadline of the RPC.
core/src/main/java/io/grpc/internal/ClientStream.java:94
↓ 17 callersMethodsetFailurePercentageEjection
Set to enable failure percentage ejection.
util/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java:1019
↓ 17 callersMethodsetScheduledExecutorService
See {@link Args#getScheduledExecutorService}.
api/src/main/java/io/grpc/NameResolver.java:619
↓ 17 callersMethodsetVerification
Sets {@link Verification}, mode when authenticating the peer certificate. By default, {@link Verification#CERTIFICATE_AND_HOST_NAME_VERIFICATION} valu
util/src/main/java/io/grpc/util/AdvancedTlsX509TrustManager.java:449
↓ 17 callersMethodshutdownSafely
( final Helper helper, final Subchannel subchannel)
core/src/test/java/io/grpc/internal/ManagedChannelImplTest.java:4729
↓ 17 callersMethodsslSocketFactoryFrom
(ChannelCredentials creds)
okhttp/src/main/java/io/grpc/okhttp/OkHttpChannelBuilder.java:610
↓ 17 callersMethodstart
(Listener2 listener)
core/src/main/java/io/grpc/internal/RetryingNameResolver.java:60
↓ 17 callersMethodstreamClosed
(Status status)
census/src/main/java/io/grpc/census/CensusStatsModule.java:344
↓ 17 callersMethodstreamCreated
The stream is being created on a ready transport. @param headers the mutable initial metadata. Modifications to it will be sent to the socket but
api/src/main/java/io/grpc/ClientStreamTracer.java:45
↓ 17 callersMethodsynStream
(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, List<Header> headerBlock
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/FrameWriter.java:55
↓ 17 callersMethodtag
()
netty/src/main/java/io/grpc/netty/StreamIdHolder.java:28
↓ 17 callersMethodtoBuilder
()
api/src/test/java/io/grpc/AttributesTest.java:52
↓ 17 callersMethodtoBytes
Serialize a metadata value to bytes. @param value to serialize @return serialized version of value
api/src/main/java/io/grpc/Metadata.java:575
↓ 17 callersMethodtoString
()
interop-testing/src/main/java/io/grpc/testing/integration/TestCases.java:86
↓ 17 callersMethodtotalMetricValue
()
xds/src/main/java/io/grpc/xds/client/Stats.java:138
↓ 17 callersMethodtranslate
Translates a gRPC authorization policy in JSON string to Envoy RBAC policies. On success, will return one of the following - 1. One allow RBAC policy
authz/src/main/java/io/grpc/authz/AuthorizationPolicyTranslator.java:165
↓ 17 callersMethodtransportHeadersReceived
(Http2Headers headers, boolean endOfStream)
netty/src/main/java/io/grpc/netty/NettyClientStream.java:343
↓ 17 callersMethodunprotect
(ByteBuf in, List<Object> out, ByteBufAllocator alloc)
alts/src/main/java/io/grpc/alts/internal/AltsTsiFrameProtector.java:220
↓ 17 callersMethodunwrapLoadBalancingConfigList
Given a JSON list of LoadBalancingConfigs, and convert it into a list of LbConfig.
core/src/main/java/io/grpc/internal/ServiceConfigUtil.java:324
↓ 17 callersMethodverifyMessageCountAndClose
(BlockingQueue<InputStream> messageQueue, int count)
core/src/testFixtures/java/io/grpc/internal/AbstractTransportTest.java:1542
↓ 17 callersMethodverifyServerConnection
(int times, boolean isConnected, String xdsServer)
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:670
↓ 17 callersMethodverifyWatcher
( SslContextProvider sslContextProvider, CertificateProvider.DistributorWatcher watcherCaptor, boo
xds/src/test/java/io/grpc/xds/internal/security/ClientSslContextProviderFactoryTest.java:313
↓ 17 callersMethodwithStreamTracerFactory
Returns a new {@code CallOptions} with a {@code ClientStreamTracerFactory} in addition to the existing factories. <p>This method doesn't replace exis
api/src/main/java/io/grpc/CallOptions.java:304
↓ 17 callersMethodwithWaitForReady
Enables <a href="https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md"> 'wait for ready'</a> for the call. Wait-for-ready queues the RPC unt
api/src/main/java/io/grpc/CallOptions.java:201
↓ 16 callersMethodaddCallback
Registers a callback that is invoked when the ping operation completes. If this ping operation is already completed, the callback is invoked immediate
core/src/main/java/io/grpc/internal/Http2Ping.java:94
↓ 16 callersMethodaddFlattenedComponents
(boolean increaseWriterIndex, ByteBuf buffer)
netty/src/test/java/io/grpc/netty/NettyAdaptiveCumulatorTest.java:533
↓ 16 callersMethodapplyRequestMetadata
( CallCredentials.RequestInfo requestInfo, Executor appExecutor, CallCredentials.MetadataApp
core/src/test/java/io/grpc/internal/FakeCallCredentials.java:34
↓ 16 callersMethodassertCodeEquals
(Status.Code expected, Status actual)
interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java:2027
↓ 16 callersMethodassertStatsTrace
Poll the next metrics record and check it against the provided information, including the message sizes.
interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java:1763
↓ 16 callersMethodattrsWithHealthCheckService
(@Nullable String serviceName)
services/src/test/java/io/grpc/protobuf/services/HealthCheckingLoadBalancerFactoryTest.java:1184
↓ 16 callersMethodauthorityFromHostAndPort
(String host, int port)
core/src/main/java/io/grpc/internal/GrpcUtil.java:546
↓ 16 callersMethodbuild
()
core/src/test/java/io/grpc/internal/ManagedChannelImplTest.java:4635
↓ 16 callersMethodbuildListenerWithApiListenerForRds
( String name, String rdsResourceName)
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:5295
↓ 16 callersMethodbuilder
Creates a new builder for creating {@link HeaderMutationRulesConfig} instances.
xds/src/main/java/io/grpc/xds/internal/headermutations/HeaderMutationRulesConfig.java:31
↓ 16 callersMethodcallCredentials
()
xds/src/main/java/io/grpc/xds/client/AllowedGrpcServices.java:50
↓ 16 callersMethodcheck
<pre> Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`. </pre>
xds/src/generated/thirdparty/grpc/io/envoyproxy/envoy/service/auth/v3/AuthorizationGrpc.java:123
↓ 16 callersMethodcheckAuthorizationForService
Returns whether the given Android UID is authorized to access a particular service. <p><b>IMPORTANT</b>: This method may block for extended periods o
binder/src/main/java/io/grpc/binder/ServerSecurityPolicy.java:55
↓ 16 callersMethodcheckStats
Verify stats were published through the tracer. @param sizes in the format {wire0, uncompressed0, wire1, uncompressed1, ...}
core/src/test/java/io/grpc/internal/MessageFramerTest.java:380
↓ 16 callersMethodcloseAbnormal
(Status status)
binder/src/main/java/io/grpc/binder/internal/Inbound.java:279
↓ 16 callersMethodconfigure
Set ciphers and APN appropriate for gRPC. Precisely what is set is permitted to change, so if an application requires particular settings it should ov
netty/src/main/java/io/grpc/netty/GrpcSslContexts.java:145
↓ 16 callersMethodconvertInputStreamToString
(InputStream is)
s2a/src/test/java/io/grpc/s2a/internal/handshaker/FakeWriter.java:87
↓ 16 callersMethodcopy
Copies the data from input stream to output stream.
services/src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java:177
↓ 16 callersMethodcreateAndRegisterProviderProvider
( CertificateProviderRegistry certificateProviderRegistry, final CertificateProvider.DistributorWa
xds/src/test/java/io/grpc/xds/internal/security/certprovider/TestCertificateProvider.java:50
↓ 16 callersMethodcreateEndpoints
(Locality locality, int priority)
xds/src/test/java/io/grpc/xds/ClusterResolverLoadBalancerTest.java:684
↓ 16 callersMethodcreateSubchannel
(CreateSubchannelArgs args)
core/src/test/java/io/grpc/internal/PickFirstLoadBalancerTest.java:688
↓ 16 callersMethoddelay
Record the event elapsed time to the histogram and delay initiation of the next event based on the load distribution.
benchmarks/src/main/java/io/grpc/benchmarks/driver/LoadClient.java:290
↓ 16 callersMethoddeliverLdsUpdateWithFaultInjection
( final String cluster, FaultConfig httpFilterFaultConfig, final FaultConfig virtualHo
xds/src/test/java/io/grpc/xds/XdsNameResolverTest.java:2670
↓ 16 callersMethodequals
(AsciiString str0, byte[] str1)
netty/src/main/java/io/grpc/netty/GrpcHttp2HeadersUtils.java:232
↓ 16 callersMethodestimatedSize
Returns the estimated number of entry of the cache. Note that the size can be larger than its true size, because there might be already expired cache.
rls/src/main/java/io/grpc/rls/LruCache.java:65
↓ 16 callersMethodgetApplicationUtilization
()
services/src/main/java/io/grpc/services/MetricReport.java:57
↓ 16 callersMethodgetAuthority
Returns the percent-decoded "Authority" component of this URI, or null if not present. <p>NB: This method's decoding is lossy -- It only exists for c
api/src/main/java/io/grpc/Uri.java:361
↓ 16 callersMethodgetFragment
Returns the percent-decoded "fragment" component of this URI, or null if not present. <p>NB: This method assumes the fragment was encoded as UTF-8, a
api/src/main/java/io/grpc/Uri.java:590
↓ 16 callersMethodgetIndex
Returns the unique index of this metric instrument. @return the index of the metric instrument.
api/src/main/java/io/grpc/MetricInstrument.java:31
↓ 16 callersMethodgetMethods
A collection of {@link MethodDescriptor} instances describing the methods exposed by the service. @since 1.0.0
api/src/main/java/io/grpc/ServiceDescriptor.java:89
↓ 16 callersMethodgetNumberAsDouble
Gets a number from an object for the given key. If the key is not present, this returns null. If the value does not represent a double, throws an exc
core/src/main/java/io/grpc/internal/JsonUtil.java:102
↓ 16 callersMethodgetNumberAsLong
Gets a number from an object for the given key, casted to an long. If the key is not present, this returns null. If the value does not represent a l
core/src/main/java/io/grpc/internal/JsonUtil.java:187
↓ 16 callersMethodgetQps
()
services/src/main/java/io/grpc/services/MetricReport.java:77
↓ 16 callersMethodgetScheduledExecutorService
Provides a partially implemented instance of {@link ScheduledExecutorService} that uses the fake clock ticker for testing.
core/src/testFixtures/java/io/grpc/internal/FakeClock.java:264
↓ 16 callersMethodgetStringAsDuration
Gets a string from an object for the given key, parsed as a duration (defined by protobuf). If the key is not present, this returns null. If the val
core/src/main/java/io/grpc/internal/JsonUtil.java:236
↓ 16 callersMethodgetSynchronizationContext
()
xds/src/test/java/io/grpc/xds/orca/OrcaOobUtilTest.java:930
↓ 16 callersMethodgetWatcher
()
xds/src/main/java/io/grpc/xds/internal/security/certprovider/CertificateProvider.java:175
↓ 16 callersMethodinboundDataReceived
Must be holding 'lock' when calling.
okhttp/src/main/java/io/grpc/okhttp/OkHttpServerTransport.java:1157
↓ 16 callersMethodisSafe
Returns whether this method is safe. <p>A safe request does nothing except retrieval so it has no side effects on the server side. @since 1.1.0
api/src/main/java/io/grpc/MethodDescriptor.java:370
↓ 16 callersMethodisStalled
()
core/src/main/java/io/grpc/internal/MessageDeframer.java:249
↓ 16 callersMethodisTransmitWindowFull
Returns true iff the number of reported bytes sent but not yet acknowledged is greater than or equal to {@code maxUnackedBytes}.
binder/src/main/java/io/grpc/binder/internal/FlowController.java:46
↓ 16 callersMethodlen
()
api/src/main/java/io/grpc/Metadata.java:210
↓ 16 callersMethodlookupService
Returns the name of the lookup service as a gRPC URI. Typically, this will be a subdomain of the target, such as "lookup.datastore.googleapis.com".
rls/src/main/java/io/grpc/rls/RlsProtoData.java:110
↓ 16 callersMethodnewClientStreamTracer
(StreamInfo info, Metadata metadata)
census/src/main/java/io/grpc/census/CensusStatsModule.java:459
↓ 16 callersMethodnewNegotiator
Creates a new negotiator.
netty/src/main/java/io/grpc/netty/ProtocolNegotiator.java:52
↓ 16 callersMethodnewOpenTelemetryMetricsModule
( OpenTelemetryMetricsResource resource)
opentelemetry/src/test/java/io/grpc/opentelemetry/OpenTelemetryMetricsModuleTest.java:1993
↓ 16 callersMethodnextInboundEvent
Returns the next captured outbound message event.
testing/src/main/java/io/grpc/internal/testing/TestStreamTracer.java:84
↓ 16 callersMethodnextOutboundEvent
Returns the next captured outbound message event.
testing/src/main/java/io/grpc/internal/testing/TestStreamTracer.java:78
↓ 16 callersMethodparse
Parses a URI string, applies validation rules described in SPIFFE standard, and, in case of success, returns parsed TrustDomain and Path. @param uri
core/src/main/java/io/grpc/internal/SpiffeUtil.java:68
↓ 16 callersMethodparseBytes
Parse a serialized metadata value from bytes. @param serialized value of metadata to parse @return a parsed instance of type T
api/src/main/java/io/grpc/Metadata.java:583
↓ 16 callersMethodrefreshNameResolution
()
grpclb/src/test/java/io/grpc/grpclb/GrpclbLoadBalancerTest.java:2965
↓ 16 callersMethodrequestConnection
()
xds/src/test/java/io/grpc/xds/RingHashLoadBalancerTest.java:1346
↓ 16 callersMethodresizeHeaderTable
(int headerTableSizeSetting)
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/Hpack.java:598
↓ 16 callersMethodsetReportInterval
Sets the maximum expected interval of receiving out-of-band ORCA report. The actual reporting interval might be smaller if there are other load balanc
xds/src/main/java/io/grpc/xds/orca/OrcaOobUtil.java:621
↓ 16 callersMethodstart
Starts the resolution. The method is not supposed to throw any exceptions. That might cause the Channel that the name resolver is serving to crash. Er
api/src/main/java/io/grpc/NameResolver.java:87
↓ 16 callersMethodstatusFromThrowable
(Throwable t)
netty/src/main/java/io/grpc/netty/Utils.java:327
↓ 16 callersMethodtestMethodsForwarded
Use reflection to perform a basic sanity test. The forwarding class should forward all public methods to the delegate, except for those in skippedMeth
api/src/testFixtures/java/io/grpc/ForwardingTestUtil.java:47
↓ 16 callersMethodtoAddressList
(Intent... bindIntents)
binder/src/test/java/io/grpc/binder/internal/IntentNameResolverTest.java:484
↓ 16 callersMethodtotalErrorRequests
()
xds/src/main/java/io/grpc/xds/client/Stats.java:105
↓ 16 callersMethodtotalIssuedRequests
()
xds/src/main/java/io/grpc/xds/client/Stats.java:101
↓ 16 callersMethodtotalSuccessfulRequests
()
xds/src/main/java/io/grpc/xds/client/Stats.java:103
↓ 16 callersMethodupdateObjectInUse
Update the in-use state of an object. Initially no object is in use. <p>This may call into {@link #handleInUse} or {@link #handleNotInUse} when appro
core/src/main/java/io/grpc/internal/InUseStateAggregator.java:37
↓ 16 callersMethodverifyGoldenListenerVhosts
Verifies the LDS update against the golden Listener with vhosts {@link #testListenerVhosts}.
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:558
↓ 16 callersMethodweightedClusters
()
xds/src/main/java/io/grpc/xds/VirtualHost.java:160
↓ 15 callersMethodaddStreamTracerFactory
Adds a {@link ServerStreamTracer.Factory} to measure server-side traffic. The order of factories being added is the order they will be executed. @re
api/src/main/java/io/grpc/ServerBuilder.java:167
↓ 15 callersMethodasyncBidiStreamingCall
Creates a {@link ServerCallHandler} for a bidi streaming method of the service. @param method an adaptor to the actual method on the service implemen
stub/src/main/java/io/grpc/stub/ServerCalls.java:79
↓ 15 callersMethodasyncClientStreamingCall
Executes a client-streaming call returning a {@link StreamObserver} for the request messages. The {@code call} should not be already started. After c
stub/src/main/java/io/grpc/stub/ClientCalls.java:111
↓ 15 callersMethodawaitClose
(int timeout, TimeUnit unit)
core/src/testFixtures/java/io/grpc/internal/ServerStreamListenerBase.java:61
↓ 15 callersMethodawaitTermination
(long timeout, TimeUnit unit)
xds/src/main/java/io/grpc/xds/XdsServerWrapper.java:295
↓ 15 callersMethodbackoff
Causes future invocations of {@link AtomicBackoff#getState} to have a value at least double this state's value. Subsequent calls to this method will n
core/src/main/java/io/grpc/internal/AtomicBackoff.java:63
↓ 15 callersMethodbuffer
()
core/src/test/java/io/grpc/internal/ByteWritableBufferTest.java:31
← previousnext →1,001–1,100 of 22,628, ranked by callers