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