Hide protocol detail from users
This commit is contained in:
parent
b0da45db7a
commit
27d020fc35
@ -30,7 +30,7 @@ public abstract class BinaryMemcacheEncoder<M extends BinaryMemcacheMessage<H>,
|
|||||||
/**
|
/**
|
||||||
* Every binary memcache message has at least a 24 bytes header.
|
* Every binary memcache message has at least a 24 bytes header.
|
||||||
*/
|
*/
|
||||||
public static final int DEFAULT_BUFFER_SIZE = 24;
|
private static final int DEFAULT_BUFFER_SIZE = 24;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected ByteBuf encodeMessage(ChannelHandlerContext ctx, M msg) {
|
protected ByteBuf encodeMessage(ChannelHandlerContext ctx, M msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user