Hide protocol detail from users

This commit is contained in:
Trustin Lee 2013-12-06 13:27:51 +09:00
parent 215e75c7d9
commit d31a3e4120

View File

@ -30,7 +30,7 @@ public abstract class BinaryMemcacheEncoder<M extends BinaryMemcacheMessage<H>,
/**
* 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
protected ByteBuf encodeMessage(ChannelHandlerContext ctx, M msg) {