Modifier and Type | Method and Description |
---|---|
TT |
poll()
Pollers should shade or wrap all
java.lang.InterruptedException s and raise Thread.interrupted() flag. |
TT poll()
java.lang.InterruptedException
s and raise Thread.interrupted()
flag. This follows GRPC stubs approach, see io.grpc.stub.ClientCalls#blockingUnaryCall
. Because pollers use GRPC stubs anyway, we chose
this implementation for consistency. The caller of the poll task is responsible for handling
the flag.