Interface ChannelOperation
-
- All Known Implementing Classes:
AbstractKeyOperation
,AbstractKeyValueOperation
,AddClientListenerOperation
,AddListenerOperation
,AddOperation
,AdminOperation
,BulkGetKeysOperation
,BulkGetOperation
,ClearOperation
,CompareAndSwapOperation
,CompleteTransactionOperation
,ContainsEntryMultimapOperation
,ContainsKeyMultimapOperation
,ContainsKeyOperation
,ContainsValueMultimapOperation
,DefineCounterOperation
,ExecuteOperation
,FaultTolerantPingOperation
,GetAllOperation
,GetConfigurationOperation
,GetCounterNamesOperation
,GetKeyMultimapOperation
,GetKeyWithMetadataMultimapOperation
,GetOperation
,GetStreamOperation
,GetValueOperation
,GetWithMetadataOperation
,GetWithVersionOperation
,IsDefinedOperation
,IterationStartOperation
,PingOperation
,PrepareTransactionOperation
,PutAllOperation
,PutIfAbsentOperation
,PutKeyValueMultimapOperation
,PutOperation
,PutStreamOperation
,QueryOperation
,RemoveClientListenerOperation
,RemoveEntryMultimapOperation
,RemoveIfUnmodifiedOperation
,RemoveKeyMultimapOperation
,RemoveListenerOperation
,RemoveOperation
,RemoveOperation
,ReplaceIfUnmodifiedOperation
,ReplaceOperation
,ResetOperation
,RetryOnFailureOperation
,SizeMultimapOperation
,SizeOperation
,StatsOperation
public interface ChannelOperation
A callback to be invoked on a channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel(SocketAddress address, Throwable cause)
Invoked when the callback cannot be invoked due to timeout or terminated pool.void
invoke(io.netty.channel.Channel channel)
Invoked on an active channel ready to be written
-
-
-
Method Detail
-
invoke
void invoke(io.netty.channel.Channel channel)
Invoked on an active channel ready to be written
-
cancel
void cancel(SocketAddress address, Throwable cause)
Invoked when the callback cannot be invoked due to timeout or terminated pool.- Parameters:
address
-cause
-
-
-