mirror of https://github.com/grpc/grpc-java.git
api:stabilize offloadExecutor. (#9931)
* api:Stabalize offloadExecutor. fixes #6279
This commit is contained in:
parent
56e4ce49bd
commit
7aa5598dc0
|
|
@ -119,7 +119,6 @@ public abstract class ManagedChannelBuilder<T extends ManagedChannelBuilder<T>>
|
|||
* @throws UnsupportedOperationException if unsupported
|
||||
* @since 1.25.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/6279")
|
||||
public T offloadExecutor(Executor executor) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -366,7 +366,6 @@ public abstract class NameResolver {
|
|||
* @since 1.25.0
|
||||
*/
|
||||
@Nullable
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/6279")
|
||||
public Executor getOffloadExecutor() {
|
||||
return executor;
|
||||
}
|
||||
|
|
@ -510,7 +509,6 @@ public abstract class NameResolver {
|
|||
*
|
||||
* @since 1.25.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/6279")
|
||||
public Builder setOffloadExecutor(Executor executor) {
|
||||
this.executor = executor;
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue