grpc-java/api
yifeizhuang c540229d79
core: allow per-service/method executor (#8266)
Add ServerCallExecutorSupplier interface in serverBuilder to allow defining which executor to to handle the server call.
Split StreamCreated() contextRunnable into two to support this new feature: one for method lookup, the other for server call handling. methodLookup() runs on default executor, handleServerCall() may run on the executorSupplier executor.
callbacks are queued after methodLookup() and handleServerCall() on serializing executor to ensure stream listener is set when callbacks starts running.
Make executor settable in serializing executor to allow switching executor for the server call handling runnable as a result of the outcome of the method lookup runnable.
2021-06-21 11:17:36 -07:00
..
src core: allow per-service/method executor (#8266) 2021-06-21 11:17:36 -07:00
BUILD.bazel Use @DoNotCall for static methods in Builders that throw 2021-05-12 10:12:52 -07:00
build.gradle Replace failOnVersionConflict() with custom requireUpperBoundDeps 2021-06-11 14:01:18 -07:00