class HeapCacheBuilder extends BaseCacheBuilder {

  @SuppressWarnings("unchecked")
  public <K, V> HeapCache<K, V> build() {
    return new HeapCache<>(name, (CacheLoader<K, V>) cacheLoader,
        (EvictionListener<K, V>) evictionListener,
        (IndexHandler<K, V>) indexHandler, capacity, expiryUnit, expiry);
  }

  public  HeapCacheBuilder();

}