Class UserPortalCacheBean

    • Constructor Detail

      • UserPortalCacheBean

        public UserPortalCacheBean()
    • Method Detail

      • getCachedInteger

        public Optional<Integer> getCachedInteger​(String key)
        Get a cached integer value.
        Parameters:
        key - The key of the cached value.
        Returns:
        The cached integer value or null if not found.
      • getCachedString

        public Optional<String> getCachedString​(String key)
        Get a cached string value.
        Parameters:
        key - The key of the cached value.
        Returns:
        The cached string value or null if not found.
      • getCachedStringArray

        public Optional<String[]> getCachedStringArray​(String key)
        Get a cached string array value.
        Parameters:
        key - The key of the cached value.
        Returns:
        The cached string array value or null if not found.
      • getCachedValue

        public Optional<Object> getCachedValue​(String key)
        Get a cached object value.
        Parameters:
        key - The key of the cached value.
        Returns:
        The cached object value or null if not found.
      • setCachedValue

        public void setCachedValue​(String key,
                                   Serializable value)
        Set a cached value.
        Parameters:
        key - The key of the cached value.
        value - The value to cache.