mirror of https://github.com/apache/druid.git
make defaults more explicit
This commit is contained in:
parent
9033472fe7
commit
b15b544429
|
@ -20,6 +20,7 @@
|
||||||
package io.druid.client.cache;
|
package io.druid.client.cache;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import net.spy.memcached.DefaultConnectionFactory;
|
||||||
|
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
@ -43,7 +44,7 @@ public class MemcachedCacheConfig
|
||||||
|
|
||||||
// memcached client read buffer size, -1 uses the spymemcached library default
|
// memcached client read buffer size, -1 uses the spymemcached library default
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private int readBufferSize = -1;
|
private int readBufferSize = DefaultConnectionFactory.DEFAULT_READ_BUFFER_SIZE;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private String memcachedPrefix = "druid";
|
private String memcachedPrefix = "druid";
|
||||||
|
|
Loading…
Reference in New Issue