Package net.n2oapp.cache.template
Interface CacheCallback<T>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CacheCallback<T>
Обработка событий при работе с кешем
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voiddoInCacheHit(T t)Сделать что-то после получения объекта из кешаTdoInCacheMiss()Получить объект из источника, при отсутствии его в кеше
-