public class

GuavaCacheProvider

extends Object
implements CacheProvider
java.lang.Object
   ↳ humanize.spi.cache.GuavaCacheProvider

Class Overview

CacheProvider implementation that uses Guava caches as in memory storage.

Summary

Public Constructors
GuavaCacheProvider()
Public Methods
boolean containsBundle(Locale locale)
boolean containsFormat(String cache, Locale locale)
boolean containsStrings(String cache, Locale locale)
ResourceBundle getBundle(Locale locale, Callable<ResourceBundle> getCall)
<T> T getFormat(String cache, Locale locale, Callable<T> getCall)
String[] getStrings(String cache, Locale locale, Callable<String[]> getCall)
ResourceBundle putBundle(Locale locale, ResourceBundle bundle)
<T> T putFormat(String cache, Locale locale, T format)
String[] putStrings(String cache, Locale locale, String[] value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface humanize.spi.cache.CacheProvider

Public Constructors

public GuavaCacheProvider ()

Public Methods

public boolean containsBundle (Locale locale)

public boolean containsFormat (String cache, Locale locale)

public boolean containsStrings (String cache, Locale locale)

public ResourceBundle getBundle (Locale locale, Callable<ResourceBundle> getCall)

public T getFormat (String cache, Locale locale, Callable<T> getCall)

public String[] getStrings (String cache, Locale locale, Callable<String[]> getCall)

public ResourceBundle putBundle (Locale locale, ResourceBundle bundle)

public T putFormat (String cache, Locale locale, T format)

public String[] putStrings (String cache, Locale locale, String[] value)