- Type Parameters:
T
- the type of the value returned by this executor.
public interface ChannelExecutor<T>
Executes logic using a managed logical channel.
-
Method Summary
Modifier and TypeMethodDescriptionexecuteChannel
(LogicalChannel channel) Executes logic using a managed logical channel.
-
Method Details
-
executeChannel
Executes logic using a managed logical channel.- Parameters:
channel
- the logical channel.- Returns:
- the value computed by the executor.
- Throws:
Exception
- if an error occurs.
-