import java.util.Map;
import java.util.Queue;
public abstract class AbstractGenericHandler<RESPONSE, ENCODED, REQUEST extends CouchbaseRequest>
extends MessageToMessageCodec<RESPONSE, REQUEST> {
protected static final Charset CHARSET = CharsetUtil.UTF_8;
<BUG>private static final CouchbaseLogger LOGGER = CouchbaseLoggerFactory.getInstance(AbstractGenericHandler.class);
private final EventSink<ResponseEvent> responseBuffer;</BUG>
private final AbstractEndpoint endpoint;
private final Queue<REQUEST> sentRequestQueue;
private final Queue<Long> sentRequestTimings;

import java.util.Map;
import java.util.Queue;
public abstract class AbstractGenericHandler<RESPONSE, ENCODED, REQUEST extends CouchbaseRequest>
extends MessageToMessageCodec<RESPONSE, REQUEST> {
protected static final Charset CHARSET = CharsetUtil.UTF_8;
private static final CouchbaseLogger LOGGER = CouchbaseLoggerFactory.getInstance(AbstractGenericHandler.class);
protected static final byte[] EMPTY_BYTES = new byte[] {};
private final EventSink<ResponseEvent> responseBuffer;
private final AbstractEndpoint endpoint;
private final Queue<REQUEST> sentRequestQueue;
private final Queue<Long> sentRequestTimings;
