Fix typo in param name
This commit is contained in:
parent
f10f97d6c7
commit
1403962313
@ -39,11 +39,11 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements
|
|||||||
private static final int K = 1024;
|
private static final int K = 1024;
|
||||||
private static final int M = K * K;
|
private static final int M = K * K;
|
||||||
|
|
||||||
private volatile int protocolReceiveBuferSize = 10 * M;
|
private volatile int protocolReceiveBufferSize = 10 * M;
|
||||||
private volatile int protocolSendBuferSize = 10 * M;
|
private volatile int protocolSendBufferSize = 10 * M;
|
||||||
|
|
||||||
private volatile int systemReceiveBufferSize = M;
|
private volatile int systemReceiveBufferSize = M;
|
||||||
private volatile int systemSendBuferSize = M;
|
private volatile int systemSendBufferSize = M;
|
||||||
|
|
||||||
private volatile int allocatorReceiveBufferSize = 128 * K;
|
private volatile int allocatorReceiveBufferSize = 128 * K;
|
||||||
private volatile int allocatorSendBufferSize = 128 * K;
|
private volatile int allocatorSendBufferSize = 128 * K;
|
||||||
@ -82,7 +82,7 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getProtocolReceiveBufferSize() {
|
public int getProtocolReceiveBufferSize() {
|
||||||
return protocolReceiveBuferSize;
|
return protocolReceiveBufferSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
@ -144,8 +144,8 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtChannelConfig setProtocolReceiveBufferSize(final int protocolReceiveBuferSize) {
|
public UdtChannelConfig setProtocolReceiveBufferSize(final int protocolReceiveBufferSize) {
|
||||||
this.protocolReceiveBuferSize = protocolReceiveBuferSize;
|
this.protocolReceiveBufferSize = protocolReceiveBufferSize;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,26 +212,26 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getProtocolSendBufferSize() {
|
public int getProtocolSendBufferSize() {
|
||||||
return protocolSendBuferSize;
|
return protocolSendBufferSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtChannelConfig setProtocolSendBufferSize(
|
public UdtChannelConfig setProtocolSendBufferSize(
|
||||||
final int protocolSendBuferSize) {
|
final int protocolSendBufferSize) {
|
||||||
this.protocolSendBuferSize = protocolSendBuferSize;
|
this.protocolSendBufferSize = protocolSendBufferSize;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtChannelConfig setSystemReceiveBufferSize(
|
public UdtChannelConfig setSystemReceiveBufferSize(
|
||||||
final int systemSendBuferSize) {
|
final int systemSendBufferSize) {
|
||||||
this.systemSendBuferSize = systemSendBuferSize;
|
this.systemSendBufferSize = systemSendBufferSize;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSystemSendBufferSize() {
|
public int getSystemSendBufferSize() {
|
||||||
return systemSendBuferSize;
|
return systemSendBufferSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -85,15 +85,15 @@ public class DefaultUdtServerChannelConfig extends DefaultUdtChannelConfig
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtServerChannelConfig setProtocolReceiveBufferSize(
|
public UdtServerChannelConfig setProtocolReceiveBufferSize(
|
||||||
final int protocolReceiveBuferSize) {
|
final int protocolReceiveBufferSize) {
|
||||||
super.setProtocolReceiveBufferSize(protocolReceiveBuferSize);
|
super.setProtocolReceiveBufferSize(protocolReceiveBufferSize);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtServerChannelConfig setProtocolSendBufferSize(
|
public UdtServerChannelConfig setProtocolSendBufferSize(
|
||||||
final int protocolSendBuferSize) {
|
final int protocolSendBufferSize) {
|
||||||
super.setProtocolSendBufferSize(protocolSendBuferSize);
|
super.setProtocolSendBufferSize(protocolSendBufferSize);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,8 +124,8 @@ public class DefaultUdtServerChannelConfig extends DefaultUdtChannelConfig
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UdtServerChannelConfig setSystemReceiveBufferSize(
|
public UdtServerChannelConfig setSystemReceiveBufferSize(
|
||||||
final int systemSendBuferSize) {
|
final int systemSendBufferSize) {
|
||||||
super.setSystemReceiveBufferSize(systemSendBuferSize);
|
super.setSystemReceiveBufferSize(systemSendBufferSize);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user