-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#11497] Apply ClientCallStateStreamObserver
- Loading branch information
Showing
11 changed files
with
70 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ofiler/src/main/java/com/navercorp/pinpoint/profiler/sender/grpc/StreamEventListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...main/java/com/navercorp/pinpoint/profiler/sender/grpc/stream/ClientStreamingProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package com.navercorp.pinpoint.profiler.sender.grpc.stream; | ||
|
||
import com.navercorp.pinpoint.grpc.stream.ClientCallStateStreamObserver; | ||
import com.navercorp.pinpoint.profiler.sender.grpc.ResponseStreamObserver; | ||
import io.grpc.stub.ClientCallStreamObserver; | ||
|
||
public interface ClientStreamingProvider<ReqT, ResT> { | ||
ClientCallStreamObserver<ReqT> newStream(ResponseStreamObserver<ReqT, ResT> response); | ||
ClientCallStateStreamObserver<ReqT> newStream(ResponseStreamObserver<ReqT, ResT> response); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../profiler/src/main/java/com/navercorp/pinpoint/profiler/sender/grpc/stream/StreamJob.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package com.navercorp.pinpoint.profiler.sender.grpc.stream; | ||
|
||
import io.grpc.stub.ClientCallStreamObserver; | ||
import com.navercorp.pinpoint.grpc.stream.ClientCallStateStreamObserver; | ||
|
||
import java.util.concurrent.Future; | ||
|
||
public interface StreamJob<ReqT> { | ||
|
||
Future<?> start(final ClientCallStreamObserver<ReqT> requestStream); | ||
Future<?> start(final ClientCallStateStreamObserver<ReqT> requestStream); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,6 @@ public NamedRunnable(String name) { | |
|
||
@Override | ||
public String toString() { | ||
return "name='" + name; | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters