Fork me on GitHub

ConcurrentMapTemplateCache

In package com.mitchellbosecke.pebble.cache.template

public class ConcurrentMapTemplateCache extends Object implements PebbleCache

Constructors

Parameters:
  • No parameters
public ConcurrentMapTemplateCache(ConcurrentMap<Object, PebbleTemplate> templateCache)
Parameters:

Methods

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