public interface ExecutionStrategy
Modifier and Type | Method and Description |
---|---|
Executor |
executor()
Returns the
Executor , if any for this ExecutionStrategy . |
<T> Publisher<T> |
offloadReceive(Executor fallback,
Publisher<T> original)
Offloads the
original Publisher for receiving data from the transport. |
<T> Single<T> |
offloadReceive(Executor fallback,
Single<T> original)
Offloads the
original Single for receiving data from the transport. |
<T> Publisher<T> |
offloadSend(Executor fallback,
Publisher<T> original)
Offloads the
original Publisher for sending data on the transport. |
<T> Single<T> |
offloadSend(Executor fallback,
Single<T> original)
Offloads the
original Single for sending data on the transport. |
<T> Single<T> offloadSend(Executor fallback, Single<T> original)
original
Single
for sending data on the transport.<T> Single<T> offloadReceive(Executor fallback, Single<T> original)
original
Single
for receiving data from the transport.<T> Publisher<T> offloadSend(Executor fallback, Publisher<T> original)
original
Publisher
for sending data on the transport.<T> Publisher<T> offloadReceive(Executor fallback, Publisher<T> original)
original
Publisher
for receiving data from the transport.@Nullable Executor executor()
Executor
, if any for this ExecutionStrategy
.Executor
for this ExecutionStrategy
. null
if none specified.