Deprecate IncompleteFlushException as its not used anymore
This commit is contained in:
parent
9100256a56
commit
dc070a00b2
@ -102,12 +102,6 @@ interface ChannelOutboundInvoker {
|
|||||||
/**
|
/**
|
||||||
* Request to write a message via this ChannelOutboundInvoker and notify the {@link ChannelFuture}
|
* Request to write a message via this ChannelOutboundInvoker and notify the {@link ChannelFuture}
|
||||||
* once the operation completes, either because the operation was successful or because of an error.
|
* once the operation completes, either because the operation was successful or because of an error.
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* Be aware that the write could be only partially successful as the message may need to get encoded before write it
|
|
||||||
* to the remote peer. In such cases the {@link ChannelFuture} will be failed with a
|
|
||||||
* {@link IncompleteFlushException}.
|
|
||||||
* <p>
|
|
||||||
*/
|
*/
|
||||||
ChannelFuture write(Object msg);
|
ChannelFuture write(Object msg);
|
||||||
ChannelFuture write(MessageList<?> msgs);
|
ChannelFuture write(MessageList<?> msgs);
|
||||||
@ -216,11 +210,6 @@ interface ChannelOutboundInvoker {
|
|||||||
/**
|
/**
|
||||||
* Request to write a message via this ChannelOutboundInvoker and notify the {@link ChannelFuture}
|
* Request to write a message via this ChannelOutboundInvoker and notify the {@link ChannelFuture}
|
||||||
* once the operation completes, either because the operation was successful or because of an error.
|
* once the operation completes, either because the operation was successful or because of an error.
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* Be aware that the write could be only partially successful as the message may need to get encoded before write it
|
|
||||||
* to the remote peer. In such cases the {@link ChannelFuture} will be failed with a
|
|
||||||
* {@link IncompleteFlushException}.
|
|
||||||
*/
|
*/
|
||||||
ChannelFuture write(Object msg, ChannelPromise promise);
|
ChannelFuture write(Object msg, ChannelPromise promise);
|
||||||
ChannelFuture write(MessageList<?> msgs, ChannelPromise promise);
|
ChannelFuture write(MessageList<?> msgs, ChannelPromise promise);
|
||||||
|
@ -16,10 +16,9 @@
|
|||||||
package io.netty.channel;
|
package io.netty.channel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Special {@link ChannelException} which will be used by {@link ChannelOutboundInvoker#flush(ChannelPromise)},
|
* @deprecated
|
||||||
* {@link ChannelOutboundInvoker#flush()}, {@link ChannelOutboundInvoker#write(Object)} and
|
|
||||||
* {@link ChannelOutboundInvoker#write(Object, ChannelPromise)} if the operation was only partial successful.
|
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class IncompleteFlushException extends ChannelException {
|
public class IncompleteFlushException extends ChannelException {
|
||||||
|
|
||||||
private static final long serialVersionUID = -9049491093800487565L;
|
private static final long serialVersionUID = -9049491093800487565L;
|
||||||
|
Loading…
Reference in New Issue
Block a user