Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/grpc/grpc-java
/ functions
Functions
22,628 in github.com/grpc/grpc-java
⨍
Functions
22,628
◇
Types & classes
3,835
↓ 153 callers
Method
of
(ChildPolicyWrapper childPolicyWrapper)
rls/src/main/java/io/grpc/rls/LbPolicyConfiguration.java:447
↓ 152 callers
Method
blockingUnaryCall
Executes a unary call and blocks on the response. The {@code call} should not be already started. After calling this method, {@code call} should no
stub/src/main/java/io/grpc/stub/ClientCalls.java:140
↓ 150 callers
Method
reset
Resets the scheduler, effectively cancelling any future retry operation.
core/src/main/java/io/grpc/internal/RetryScheduler.java:35
↓ 148 callers
Method
forName
Create a server builder that will bind with the given name. @param name the identity of the server for clients to connect to @return a new builder
inprocess/src/main/java/io/grpc/inprocess/InProcessServerBuilder.java:84
↓ 146 callers
Method
withCause
Create a derived instance of {@link Status} with the given cause. However, the cause is not transmitted from server to client.
api/src/main/java/io/grpc/Status.java:455
↓ 145 callers
Method
forTransientFailure
Returns an instance for {@code TRANSIENT_FAILURE}, associated with an error status.
api/src/main/java/io/grpc/ConnectivityStateInfo.java:49
↓ 142 callers
Method
verifyResourceMetadataAcked
Verify the resource to be acked.
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:493
↓ 141 callers
Method
close
Closes, with flush.
core/src/main/java/io/grpc/internal/Framer.java:38
↓ 139 callers
Method
getPendingTasks
Return all unrun tasks.
core/src/testFixtures/java/io/grpc/internal/FakeClock.java:340
↓ 139 callers
Method
read
Returns cached value for given key if exists, otherwise {@code null}. This operation doesn't return already expired cache entry.
rls/src/main/java/io/grpc/rls/LruCache.java:38
↓ 139 callers
Method
watchXdsResource
(XdsResourceType<T> resourceType, String resourceName, ResourceWatcher<T> watcher,
xds/src/test/java/io/grpc/xds/XdsNameResolverTest.java:2546
↓ 137 callers
Method
startCall
Starts asynchronous processing of an incoming call. <p>Callers of this method transfer their ownership of the non-thread-safe {@link ServerCall} and
api/src/main/java/io/grpc/ServerCallHandler.java:49
↓ 136 callers
Method
builder
()
rls/src/main/java/io/grpc/rls/AdaptiveThrottler.java:143
↓ 136 callers
Method
getStatus
The status associated with this result. Non-{@code OK} if created with {@link #withError withError}, or {@code OK} otherwise. @since 1.2.0
api/src/main/java/io/grpc/LoadBalancer.java:762
↓ 133 callers
Method
execute
(Runnable r)
xds/src/test/java/io/grpc/xds/internal/security/certprovider/CertProviderClientSslContextProviderTest.java:529
↓ 132 callers
Method
getCallOptions
The call options used to call this RPC.
api/src/main/java/io/grpc/CallCredentials.java:98
↓ 131 callers
Method
contains
( Map<Long, T> map, InternalLogId id)
api/src/main/java/io/grpc/InternalChannelz.java:253
↓ 129 callers
Method
create
()
api/src/main/java/io/grpc/InsecureChannelCredentials.java:21
↓ 126 callers
Method
asyncUnaryCall
Executes a unary call with a response {@link StreamObserver}. The {@code call} should not be already started. After calling this method, {@code call
stub/src/main/java/io/grpc/stub/ClientCalls.java:81
↓ 125 callers
Method
acceptResolvedAddresses
(ResolvedAddresses resolvedAddresses)
core/src/test/java/io/grpc/internal/ServiceConfigErrorHandlingTest.java:670
↓ 124 callers
Method
newCall
Create a {@link ClientCall} to the remote operation specified by the given {@link MethodDescriptor}. The returned {@link ClientCall} does not trigger
api/src/main/java/io/grpc/Channel.java:46
↓ 123 callers
Method
schedule
A request to schedule a future retry (or retries) for a failed operation. Noop if an operation has already been scheduled.
core/src/main/java/io/grpc/internal/RetryScheduler.java:30
↓ 123 callers
Method
wrap
Shortcut for {@code wrap(bytes, 0, bytes.length}.
core/src/main/java/io/grpc/internal/ReadableBuffers.java:50
↓ 122 callers
Method
equals
(Object other)
interop-testing/src/main/java/io/grpc/testing/integration/StressTestClient.java:676
↓ 121 callers
Method
await
Waits for the stream to be done.
testing/src/main/java/io/grpc/internal/testing/TestStreamTracer.java:38
↓ 121 callers
Method
get
Return an instance of the given class to be used as an argument passed to one method call. If one method has multiple arguments with the same type, ea
api/src/testFixtures/java/io/grpc/ForwardingTestUtil.java:136
↓ 121 callers
Method
getDescription
A description of this status for human consumption.
api/src/main/java/io/grpc/Status.java:498
↓ 121 callers
Method
pickSubchannel
Make a balancing decision for a new RPC. @param args the pick arguments @since 1.3.0
api/src/main/java/io/grpc/LoadBalancer.java:460
↓ 120 callers
Method
iterator
()
api/src/main/java/io/grpc/Metadata.java:266
↓ 119 callers
Method
forwardTime
(long duration, TimeUnit unit)
xds/src/test/java/io/grpc/xds/internal/security/certprovider/FileWatcherCertificateProviderTest.java:593
↓ 119 callers
Method
newSubstream
(int previousAttempts)
core/src/test/java/io/grpc/internal/RetriableStreamTest.java:2973
↓ 117 callers
Method
clear
Shuts down all subchannels in the pool immediately.
grpclb/src/main/java/io/grpc/grpclb/SubchannelPool.java:54
↓ 117 callers
Method
sendMessage
Sends a message on the stream. Only one message will be in flight at a time; subsequent messages will not be sent until this one is done.
xds/src/main/java/io/grpc/xds/client/XdsTransportFactory.java:52
↓ 116 callers
Method
updateBalancingState
(ConnectivityState newState, SubchannelPicker newPicker)
core/src/test/java/io/grpc/internal/PickFirstLeafLoadBalancerTest.java:3208
↓ 115 callers
Method
getConfig
Returns config if exists, otherwise null.
api/src/main/java/io/grpc/NameResolver.java:990
↓ 115 callers
Method
shutdown
()
xds/src/main/java/io/grpc/xds/client/XdsTransportFactory.java:38
↓ 115 callers
Method
toBuilder
Returns a new Builder initialized with the fields of this URI.
api/src/main/java/io/grpc/Uri.java:672
↓ 115 callers
Method
transportReady
The transport is ready to accept traffic, because the connection is established. This is called at most once. <p>Streams created before this milesto
core/src/main/java/io/grpc/internal/ManagedClientTransport.java:100
↓ 114 callers
Method
nanoTime
()
core/src/main/java/io/grpc/internal/KeepAliveEnforcer.java:105
↓ 113 callers
Method
setValue
Sets this parameter on the given configuration instance.
benchmarks/src/main/java/io/grpc/benchmarks/qps/AbstractConfigurationBuilder.java:105
↓ 112 callers
Method
verifyRequest
( XdsResourceType<?> type, List<String> resources, String versionInfo, String nonce, Node node
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:5202
↓ 111 callers
Method
onError
Handles an error from the resolver. The listener is responsible for eventually invoking {@link #refresh()} to re-attempt resolution. @param error a n
api/src/main/java/io/grpc/NameResolver.java:242
↓ 110 callers
Method
get
()
xds/src/main/java/io/grpc/xds/internal/security/SslContextProvider.java:137
↓ 110 callers
Method
getInstance
()
xds/src/main/java/io/grpc/xds/XdsClusterResource.java:88
↓ 109 callers
Method
channelRead
(Object obj)
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:256
↓ 109 callers
Method
flush
SPDY/3 only.
okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/FrameWriter.java:54
↓ 109 callers
Method
setSampledToLocalTracing
Sets whether RPCs for this method may be sampled into the local tracing store. If true, sampled traces of this method may be kept in memory by tracin
api/src/main/java/io/grpc/MethodDescriptor.java:591
↓ 108 callers
Method
generateFullMethodName
Generate the fully qualified method name. This matches the name @param fullServiceName the fully qualified service name that is prefixed with the pa
api/src/main/java/io/grpc/MethodDescriptor.java:388
↓ 108 callers
Method
onMessage
Used for verify/inspect message received from server.
examples/src/main/java/io/grpc/examples/routeguide/RouteGuideClient.java:319
↓ 107 callers
Method
stream
Given a message, produce an {@link InputStream} for it so that it can be written to the wire. Where possible implementations should produce streams th
api/src/main/java/io/grpc/MethodDescriptor.java:148
↓ 105 callers
Method
getName
Returns the unique name of the {@link CertificateProvider} plugin.
xds/src/main/java/io/grpc/xds/internal/security/certprovider/CertificateProviderProvider.java:29
↓ 105 callers
Method
transportShutdown
The transport is shutting down. This transport will stop owning new streams, but existing streams may continue, and the transport may still be able to
core/src/main/java/io/grpc/internal/ManagedClientTransport.java:82
↓ 104 callers
Method
getAuthority
Returns the authority component of this URI, e.g. "google.com", "127.0.0.1:8080", or null if not present.
core/src/main/java/io/grpc/internal/UriWrapper.java:47
↓ 104 callers
Method
newBuilder
Creates a new builder for a {@link MethodDescriptor}. @since 1.1.0
api/src/main/java/io/grpc/MethodDescriptor.java:431
↓ 104 callers
Method
release
Releases the buffer, indicating to the {@link WritableBufferAllocator} that this buffer is no longer used and its resources can be reused.
core/src/main/java/io/grpc/internal/WritableBuffer.java:57
↓ 104 callers
Method
withSubchannel
( Subchannel subchannel, @Nullable ClientStreamTracer.Factory streamTracerFactory)
api/src/main/java/io/grpc/LoadBalancer.java:643
↓ 103 callers
Method
newClientTransport
Creates an unstarted transport for exclusive use. Ownership of {@code options} is passed to the callee; the caller should not reuse or read from the o
core/src/main/java/io/grpc/internal/ClientTransportFactory.java:44
↓ 102 callers
Method
getError
Returns error status if exists, otherwise null.
api/src/main/java/io/grpc/NameResolver.java:998
↓ 102 callers
Method
halfClose
Closes the local side of this stream and flushes any remaining messages. After this is called, no further messages may be sent on this stream, but add
core/src/main/java/io/grpc/internal/ClientStream.java:49
↓ 102 callers
Method
transportTerminated
The transport completed shutting down. All resources have been released. All streams have either been closed or transferred off this transport. This t
core/src/main/java/io/grpc/internal/ManagedClientTransport.java:92
↓ 100 callers
Method
after
Create a deadline that will expire at the specified offset based on the {@link #getSystemTicker system ticker}. <p>If the given offset is extraordina
api/src/context/java/io/grpc/Deadline.java:69
↓ 100 callers
Method
verifySubscribedResourcesMetadataSizes
( int ldsSize, int cdsSize, int rdsSize, int edsSize)
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:442
↓ 100 callers
Method
voidMethod
Creates a new method descriptor that always creates zero length messages, and always parses to null objects. @since 1.1.0
testing/src/main/java/io/grpc/testing/TestMethodDescriptors.java:39
↓ 99 callers
Method
asException
Convert this {@link Status} to an {@link Exception}. Use {@link #fromThrowable} to recover this {@link Status} instance when the returned exception is
api/src/main/java/io/grpc/Status.java:539
↓ 99 callers
Method
getInstance
()
xds/src/main/java/io/grpc/xds/XdsListenerResource.java:64
↓ 99 callers
Method
verify
(Node<Key, Object> ret)
api/src/test/java/io/grpc/PersistentHashArrayMappedTrieTest.java:188
↓ 98 callers
Method
fail
(Status status)
core/src/main/java/io/grpc/internal/MetadataApplierImpl.java:81
↓ 98 callers
Method
log
(ChannelLogLevel level, String msg)
core/src/main/java/io/grpc/internal/ChannelLoggerImpl.java:37
↓ 97 callers
Method
pickSubchannel
(PickSubchannelArgs args)
core/src/test/java/io/grpc/internal/ManagedChannelImplTest.java:652
↓ 97 callers
Method
setSchemaDescriptor
Sets the schema descriptor for this builder. A schema descriptor is an object that is not used by gRPC core but includes information related to the m
api/src/main/java/io/grpc/MethodDescriptor.java:549
↓ 97 callers
Method
withNoResult
No decision could be made. The RPC will stay buffered. @since 1.2.0
api/src/main/java/io/grpc/LoadBalancer.java:724
↓ 96 callers
Method
acceptResolvedAddresses
Base case for accepting new resolved addresses.
util/src/test/java/io/grpc/util/OutlierDetectionLoadBalancerTest.java:270
↓ 95 callers
Method
createChannel
(ClientInterceptor... interceptors)
core/src/test/java/io/grpc/internal/ManagedChannelImplTest.java:306
↓ 95 callers
Method
get
Returns the last metadata entry added with the name 'name' parsed as T. @return the parsed metadata entry or null if there are none.
api/src/main/java/io/grpc/Metadata.java:247
↓ 95 callers
Method
setXdsConfig
(final String type, final Map<String, T> resources)
xds/src/test/java/io/grpc/xds/XdsTestControlPlaneService.java:102
↓ 94 callers
Method
fromThrowable
Extract an error {@link Status} from the causal chain of a {@link Throwable}. If no status can be found, a status is created with {@link Code#UNKNOWN}
api/src/main/java/io/grpc/Status.java:396
↓ 94 callers
Method
isEmpty
checks when {@link #namesAndValues} is null or has no elements.
api/src/main/java/io/grpc/Metadata.java:215
↓ 94 callers
Method
run
(Channel channel)
netty/src/main/java/io/grpc/netty/WriteQueue.java:229
↓ 93 callers
Method
getOption
Get the value for a custom option or its inherent default. @param key Key identifying option
api/src/main/java/io/grpc/CallOptions.java:431
↓ 93 callers
Method
name
Returns the normalized name for this key.
api/src/main/java/io/grpc/Metadata.java:777
↓ 92 callers
Method
toByteArray
Returns the byte array.
services/src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java:170
↓ 91 callers
Method
ctx
()
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:228
↓ 91 callers
Method
timeout
()
okhttp/src/test/java/io/grpc/okhttp/AsyncSinkTest.java:316
↓ 90 callers
Method
target
()
xds/src/main/java/io/grpc/xds/client/Bootstrapper.java:59
↓ 89 callers
Method
fail
(Status status)
xds/src/test/java/io/grpc/xds/GrpcServiceConfigParserTest.java:712
↓ 89 callers
Method
trustManager
Use the provided root certificates to verify the client's identity instead of the system's default. Generally they should be PEM-encoded with all the
api/src/main/java/io/grpc/TlsServerCredentials.java:352
↓ 88 callers
Method
builder
()
xds/src/main/java/io/grpc/xds/client/Bootstrapper.java:215
↓ 88 callers
Method
writeHeaders
Sends the request headers to the remote end point. @param metadata the metadata to be sent @param payload the payload needs to be sent in the headers
core/src/main/java/io/grpc/internal/AbstractClientStream.java:67
↓ 87 callers
Method
addGzippedBytes
(ReadableBuffer buffer)
core/src/test/java/io/grpc/internal/MessageDeframerTest.java:109
↓ 87 callers
Method
getStruct
Returns struct if exists, otherwise null.
xds/src/main/java/io/grpc/xds/StructOrError.java:57
↓ 87 callers
Method
getSubchannel
The Subchannel if this result was created by {@link #withSubchannel withSubchannel()}, or null otherwise. @since 1.2.0
api/src/main/java/io/grpc/LoadBalancer.java:741
↓ 86 callers
Method
asRuntimeException
Convert this {@link Status} to a {@link RuntimeException}. Use {@link #fromThrowable} to recover this {@link Status} instance when the returned except
api/src/main/java/io/grpc/Status.java:523
↓ 86 callers
Method
getPort
Returns the "port" component of this URI, or -1 if empty or not present.
api/src/main/java/io/grpc/Uri.java:443
↓ 86 callers
Method
verifyWrite
()
netty/src/test/java/io/grpc/netty/NettyHandlerTestBase.java:248
↓ 85 callers
Method
verifyResourceMetadataRequested
Verify the resource requested, but not updated.
xds/src/test/java/io/grpc/xds/GrpcXdsClientImplTestBase.java:481
↓ 84 callers
Method
builder
Convenience that constructs a {@link ServiceDescriptor} simultaneously.
api/src/main/java/io/grpc/ServerServiceDefinition.java:33
↓ 84 callers
Method
fromValue
Construct from a value.
api/src/main/java/io/grpc/StatusOr.java:36
↓ 84 callers
Method
onReady
This indicates that the transport is now capable of sending additional messages without requiring excessive buffering internally. This event is just a
core/src/main/java/io/grpc/internal/StreamListener.java:46
↓ 84 callers
Method
transportState
()
netty/src/main/java/io/grpc/netty/NettyServerStream.java:72
↓ 83 callers
Method
getSubchannel
<pre> Returns a single Subchannel, or else a NOT_FOUND code. </pre>
services/src/generated/main/grpc/io/grpc/channelz/v1/ChannelzGrpc.java:359
← previous
next →
101–200 of 22,628, ranked by callers