T supply(CacheManager manager) throws Exception
Developer note: The interface lacks context where the customization is used, e.g. the cache name. With the cache name, different customizations could share data or expose themselves
manager- The manager can be used to retrieve the class loader or additional properties needed to configure the customization.
Exception- the method may throw arbitrary exceptions. The exception is wrapped into a
CacheExceptionand rethrown. When the creation of a customization fails, the cache will not be usable.
cache2k API documentation. Copyright © 2000–2017 headissue GmbH, Munich.