Javadoc
This commit is contained in:
parent
54dd31c449
commit
f65b53917d
@ -160,7 +160,7 @@ public interface ChannelConfig {
|
|||||||
void setConnectTimeoutMillis(int connectTimeoutMillis);
|
void setConnectTimeoutMillis(int connectTimeoutMillis);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link WriteTimeoutHandler} instead if necessary.
|
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||||
*
|
*
|
||||||
* Returns the write timeout of the channel in milliseconds. If a write
|
* Returns the write timeout of the channel in milliseconds. If a write
|
||||||
* operation is not completed within the write timeout, an
|
* operation is not completed within the write timeout, an
|
||||||
@ -174,7 +174,7 @@ public interface ChannelConfig {
|
|||||||
int getWriteTimeoutMillis();
|
int getWriteTimeoutMillis();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link WriteTimeoutHandler} instead if necessary.
|
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||||
*
|
*
|
||||||
* Sets the write timeout of the channel in milliseconds. If a write
|
* Sets the write timeout of the channel in milliseconds. If a write
|
||||||
* operation is not completed within the write timeout, an
|
* operation is not completed within the write timeout, an
|
||||||
|
@ -28,6 +28,7 @@ import java.util.Map.Entry;
|
|||||||
import org.jboss.netty.buffer.ChannelBufferFactory;
|
import org.jboss.netty.buffer.ChannelBufferFactory;
|
||||||
import org.jboss.netty.buffer.HeapChannelBufferFactory;
|
import org.jboss.netty.buffer.HeapChannelBufferFactory;
|
||||||
import org.jboss.netty.channel.socket.SocketChannelConfig;
|
import org.jboss.netty.channel.socket.SocketChannelConfig;
|
||||||
|
import org.jboss.netty.handler.timeout.WriteTimeoutHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link SocketChannelConfig} implementation.
|
* The default {@link SocketChannelConfig} implementation.
|
||||||
@ -86,6 +87,9 @@ public class DefaultChannelConfig implements ChannelConfig {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||||
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public int getWriteTimeoutMillis() {
|
public int getWriteTimeoutMillis() {
|
||||||
return 0;
|
return 0;
|
||||||
@ -102,6 +106,9 @@ public class DefaultChannelConfig implements ChannelConfig {
|
|||||||
// Unused
|
// Unused
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||||
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setWriteTimeoutMillis(int writeTimeoutMillis) {
|
public void setWriteTimeoutMillis(int writeTimeoutMillis) {
|
||||||
// Unused
|
// Unused
|
||||||
|
Loading…
Reference in New Issue
Block a user