Interface RequestCacheService

All Known Implementing Classes:
RequestCacheServiceImpl

public interface RequestCacheService
Provides methods to load/store information from/to a request based cache.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Service identifier to be used for dependency injection.
  • Method Summary

    Modifier and Type
    Method
    Description
    getValue(String cacheId, String key)
    Get a value stored in the request cache.
    void
    putValue(String cacheId, String key, Object value)
    Put a value into the request cache.
  • Field Details

  • Method Details

    • getValue

      Object getValue(String cacheId, String key)
      Get a value stored in the request cache.
      Returns:
      null if not found
    • putValue

      void putValue(String cacheId, String key, Object value)
      Put a value into the request cache.