Interface FIFOEntryCacheCfgClient

    • Method Detail

      • getExcludeFilter

        SortedSet<String> getExcludeFilter()
        Gets the "exclude-filter" property.

        The set of filters that define the entries that should be excluded from the cache.

        Returns:
        Returns the values of the "exclude-filter" property.
      • setExcludeFilter

        void setExcludeFilter​(Collection<String> values)
                       throws PropertyException
        Sets the "exclude-filter" property.

        The set of filters that define the entries that should be excluded from the cache.

        Parameters:
        values - The values of the "exclude-filter" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.
      • getIncludeFilter

        SortedSet<String> getIncludeFilter()
        Gets the "include-filter" property.

        The set of filters that define the entries that should be included in the cache.

        Returns:
        Returns the values of the "include-filter" property.
      • setIncludeFilter

        void setIncludeFilter​(Collection<String> values)
                       throws PropertyException
        Sets the "include-filter" property.

        The set of filters that define the entries that should be included in the cache.

        Parameters:
        values - The values of the "include-filter" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation.

        Specified by:
        getJavaClass in interface EntryCacheCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation.

        Specified by:
        setJavaClass in interface EntryCacheCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getLockTimeout

        long getLockTimeout()
        Gets the "lock-timeout" property.

        Specifies the length of time to wait while attempting to acquire a read or write lock.

        Returns:
        Returns the value of the "lock-timeout" property.
      • setLockTimeout

        void setLockTimeout​(Long value)
                     throws PropertyException
        Sets the "lock-timeout" property.

        Specifies the length of time to wait while attempting to acquire a read or write lock.

        Parameters:
        value - The value of the "lock-timeout" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getMaxEntries

        int getMaxEntries()
        Gets the "max-entries" property.

        Specifies the maximum number of entries that we will allow in the cache.

        Returns:
        Returns the value of the "max-entries" property.
      • setMaxEntries

        void setMaxEntries​(Integer value)
                    throws PropertyException
        Sets the "max-entries" property.

        Specifies the maximum number of entries that we will allow in the cache.

        Parameters:
        value - The value of the "max-entries" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getMaxMemoryPercent

        int getMaxMemoryPercent()
        Gets the "max-memory-percent" property.

        Specifies the maximum percentage of JVM memory used by the server before the entry caches stops caching and begins purging itself.

        Very low settings such as 10 or 20 (percent) can prevent this entry cache from having enough space to hold any of the entries to cache, making it appear that the server is ignoring or skipping the entry cache entirely.

        Returns:
        Returns the value of the "max-memory-percent" property.
      • setMaxMemoryPercent

        void setMaxMemoryPercent​(Integer value)
                          throws PropertyException
        Sets the "max-memory-percent" property.

        Specifies the maximum percentage of JVM memory used by the server before the entry caches stops caching and begins purging itself.

        Very low settings such as 10 or 20 (percent) can prevent this entry cache from having enough space to hold any of the entries to cache, making it appear that the server is ignoring or skipping the entry cache entirely.

        Parameters:
        value - The value of the "max-memory-percent" property.
        Throws:
        PropertyException - If the new value is invalid.