Fork me on GitHub

CaffeineTemplateCache

In package com.mitchellbosecke.pebble.cache.template

public class CaffeineTemplateCache extends Object implements PebbleCache

Constructors

Parameters:
  • No parameters
public CaffeineTemplateCache( templateCache)
Parameters:
  • templateCache

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