Fork me on GitHub

ConcurrentMapTagCache

In package com.mitchellbosecke.pebble.cache.tag

public class ConcurrentMapTagCache extends Object implements PebbleCache

Constructors

Parameters:
  • No parameters
public ConcurrentMapTagCache(ConcurrentMap<CacheKey, Object> tagCache)
Parameters:
  • ConcurrentMap<CacheKey, Object> tagCache

Methods

public Object computeIfAbsent(CacheKey key, Function<? extends CacheKey, ?> mappingFunction)
Parameters:
public void invalidateAll()
Parameters:
  • No parameters