class WanAwareToolkitCache implements ToolkitCacheInternal<K, V> {

  @Override
  public V put(final K key, final V value, final int createTimeInSecs, final int customMaxTTISeconds,
               final int customMaxTTLSeconds) {
    if (isActive()) {
      return delegate.put(key, value, createTimeInSecs, customMaxTTISeconds, customMaxTTLSeconds);
    } else {
      throw new IllegalStateException(NOT_ACTIVE_MSG);
    }
  }

  public  WanAwareToolkitCache(final ToolkitCacheInternal<K, V> delegate,
                              final ToolkitMap<String, Serializable> configMap);

}