Skip to content

Commit

Permalink
chore(java-sdk): make getStubManager() deprecated (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeflood authored Nov 23, 2021
1 parent 1ac4c06 commit fd12855
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,13 @@ private State<byte[]> parseGetStateResult(RuntimeProto.BulkStateItem bulkStateIt
/**
* Getter method for property <tt>stubManager</tt>.
*
* Do not use it !
* This method is deprecated and might be refactored in the future.
* We want this client to expose grpc Channels instead of grpc stubs.
*
* @return property value of stubManager
*/
@Deprecated
@Override
public StubManager<RuntimeGrpc.RuntimeStub, RuntimeGrpc.RuntimeBlockingStub> getStubManager() {
return stubManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@

public interface GrpcRuntimeClient extends RuntimeClient {

/**
* Getter method for property <tt>stubManager</tt>.
*
* Do not use it !
* This method is deprecated and might be refactored in the future.
* We want this client to expose grpc Channels instead of grpc stubs.
*
* @return property value of stubManager
*/
@Deprecated
StubManager<RuntimeGrpc.RuntimeStub, RuntimeGrpc.RuntimeBlockingStub> getStubManager();
}

0 comments on commit fd12855

Please sign in to comment.