Interface CacheService

All Known Implementing Classes:
CacheServiceImpl

public interface CacheService
Nuxeo cache interface
Since:
6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the cache with the given name.
    void
    Programmatically registers a cache with the given name, with the the size and the timeout given by the default cache.
  • Method Details

    • getCache

      Cache getCache(String name)
      Gets the cache with the given name.
      Parameters:
      name - the cache name
      Returns:
      the cache, or null if it does not exist
    • registerCache

      void registerCache(String name)
      Programmatically registers a cache with the given name, with the the size and the timeout given by the default cache.
      Parameters:
      name - the cache name
      Since:
      9.3