Ce contenu n'est pas disponible dans la langue sélectionnée.
2.4. The AdvancedCache Interface
2.4.1. About the AdvancedCache Interface Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
JBoss Data Grid offers an
AdvancedCache
interface, geared towards extending JBoss Data Grid, in addition to its simple Cache Interface. The AdvancedCache
Interface can:
- Inject custom interceptors.
- Access certain internal components.
- Apply flags to alter the behavior of certain cache methods.
The following code snippet presents an example of how to obtain an
AdvancedCache
:
AdvancedCache advancedCache = cache.getAdvancedCache();
AdvancedCache advancedCache = cache.getAdvancedCache();