make defaults more explicit

This commit is contained in:
Xavier Léauté 2014-03-11 12:39:08 -07:00
parent 9033472fe7
commit b15b544429
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
package io.druid.client.cache;
import com.fasterxml.jackson.annotation.JsonProperty;
import net.spy.memcached.DefaultConnectionFactory;
import javax.validation.constraints.NotNull;
@ -43,7 +44,7 @@ public class MemcachedCacheConfig
// memcached client read buffer size, -1 uses the spymemcached library default
@JsonProperty
private int readBufferSize = -1;
private int readBufferSize = DefaultConnectionFactory.DEFAULT_READ_BUFFER_SIZE;
@JsonProperty
private String memcachedPrefix = "druid";