class MemcachedResponseStore extends ResponseStore {

    @Override
    public void put(String key, CachedResponse response) {
        checkNotNull(key);
        checkArgument(key.length() > 0, "key can not be empty");
        checkNotNull(response);

        if (!_readOnly) {
            DateTime expires = response.getExpires().orNull();

            if (expires != null) {
                _client.set(buildKey(key), (int) (expires.getMillis() / 1000), response, CachedResponseTranscoder.INSTANCE);
            }
        }
    }

    public  MemcachedResponseStore(MemcachedClient client, String keyPrefix, boolean readOnly);

}