all: make some api non-experimental for 1.1

This commit is contained in:
ZHANG Dapeng 2017-01-20 16:34:56 -08:00 committed by Carl Mastrangelo
parent 8a4c7bdf7f
commit 018e2d5307
4 changed files with 0 additions and 7 deletions

View File

@ -167,7 +167,6 @@ public final class CallOptions {
* <a href="https://github.com/grpc/grpc/blob/master/doc/fail_fast.md">'Fail fast'</a>
* is the default option for gRPC calls and 'wait for ready' is the opposite to it.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1915")
public CallOptions withWaitForReady() {
CallOptions newOptions = new CallOptions(this);
newOptions.waitForReady = true;
@ -178,7 +177,6 @@ public final class CallOptions {
* Disables 'wait for ready' feature for the call.
* This method should be rarely used because the default is without 'wait for ready'.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1915")
public CallOptions withoutWaitForReady() {
CallOptions newOptions = new CallOptions(this);
newOptions.waitForReady = false;
@ -332,7 +330,6 @@ public final class CallOptions {
* <a href="https://github.com/grpc/grpc/blob/master/doc/fail_fast.md">'Fail fast'</a>
* is the default option for gRPC calls and 'wait for ready' is the opposite to it.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1915")
public boolean isWaitForReady() {
return waitForReady;
}

View File

@ -60,7 +60,6 @@ public abstract class Server {
*
* @throws IllegalStateException if the server has not yet been started.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1780")
public int getPort() {
return -1;
}

View File

@ -171,7 +171,6 @@ public abstract class AbstractStub<S extends AbstractStub<S>> {
/**
* Returns a new stub that uses the 'wait for ready' call option.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1915")
public final S withWaitForReady() {
return build(channel, callOptions.withWaitForReady());
}

View File

@ -33,7 +33,6 @@ package io.grpc.stub;
import static com.google.common.base.Preconditions.checkNotNull;
import io.grpc.ExperimentalApi;
import io.grpc.Metadata;
import io.grpc.MethodDescriptor;
import io.grpc.ServerCall;
@ -44,7 +43,6 @@ import io.grpc.Status;
* Utility functions for adapting {@link ServerCallHandler}s to application service implementation,
* meant to be used by the generated code.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1790")
public final class ServerCalls {
private ServerCalls() {