Skip to content

Commit

Permalink
Annotate SpannerRpc and Session classes as @internalapi.
Browse files Browse the repository at this point in the history
Users shouldn't be implementing these interfaces as they're internal to
the client library implementation.
  • Loading branch information
skuruppu committed Jan 24, 2020
1 parent 84c6930 commit 9577f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -42,6 +42,7 @@
* require external synchronization; {@code Session} implementations are not required to be
* thread-safe.
*/
@InternalApi
public interface Session extends DatabaseClient, AutoCloseable {
/** Returns the resource name associated with this session. */
String getName();
Expand Down
Expand Up @@ -67,6 +67,7 @@
* is purely for expedience; a future version of this interface is likely to be independent of
* transport to allow switching between gRPC and HTTP.
*/
@InternalApi
public interface SpannerRpc extends ServiceRpc {
/** Options passed in {@link SpannerRpc} methods to control how an RPC is issued. */
enum Option {
Expand Down

0 comments on commit 9577f01

Please sign in to comment.