package com.metamx.druid.client.cache;

import org.skife.config.Config;
import org.skife.config.Default;

public abstract class MemcachedCacheConfig
{
  @Config("${prefix}.expiration")
  @Default("31536000")
  public abstract int getExpiration();

  @Config("${prefix}.timeout")
  @Default("500")
  public abstract int getTimeout();

  @Config("${prefix}.hosts")
  public abstract String getHosts();

  @Config("${prefix}.maxObjectSize")
  public abstract int getMaxObjectSize();

  @Config("${prefix}.memcachedPrefix")
  public abstract String getMemcachedPrefix();
}

@@ -194,13 +194,12 @@
 lt(%22
-31536
+2592
 000%22
@@ -430,16 +430,39 @@
 tSize%22)%0A
+  @Default(%2252428800%22)%0A
   public
@@ -535,16 +535,36 @@
 refix%22)%0A
+  @Default(%22druid%22)%0A
   public

defaults + max memcached expiration is 30 days