Package com.scurrilous.circe.impl
Class HashCacheLoader
java.lang.Object
com.scurrilous.circe.impl.HashCacheLoader
Provides access to a singleton hash function cache, if an implementation is
available.
-
Method Summary
-
Method Details
-
hasCache
public static boolean hasCache()Returns whether a hash function cache is available.- Returns:
- true if a cache is available, false if
getCache()will throw an exception
-
getCache
Returns the single hash function cache.- Returns:
- the single hash cache
- Throws:
UnsupportedOperationException- if no hash cache is available
-