public final class FallbackStubFactory extends StandardGrpcStubFactory
| 构造器和说明 |
|---|
FallbackStubFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends io.grpc.stub.AbstractStub<T>> |
createStub(Class<T> stubType,
io.grpc.Channel channel) |
boolean |
isApplicable(Class<? extends io.grpc.stub.AbstractStub<?>> stubType)
Used to resolve a factory that matches the particular stub type.
|
getFactoryMethodNamepublic boolean isApplicable(Class<? extends io.grpc.stub.AbstractStub<?>> stubType)
StandardGrpcStubFactoryisApplicable 在类中 StandardGrpcStubFactorystubType - The type of the stub that needs to be created.public <T extends io.grpc.stub.AbstractStub<T>> io.grpc.stub.AbstractStub<T> createStub(Class<T> stubType, io.grpc.Channel channel)
createStub 在类中 StandardGrpcStubFactoryCopyright © 2022. All rights reserved.