Class CacheStreamAttributes


  • public class CacheStreamAttributes
    extends java.lang.Object
    CacheStreamAttributes Class contains information about the CacheStream attributes.
    • Constructor Detail

      • CacheStreamAttributes

        public CacheStreamAttributes​(StreamMode streamMode)
        Creates new instance of CacheStreamAttributes.
        Parameters:
        streamMode - Specifies StreamMode of the cache stream.
    • Method Detail

      • getCacheItemPriority

        public final CacheItemPriority getCacheItemPriority()
        Gets the relative cache item priority of the cache stream.
        Returns:
        The relative cache item priority.
      • setCacheItemPriority

        public final void setCacheItemPriority​(CacheItemPriority value)
        Sets the relative cache item priority of the cache stream.
        Parameters:
        value - The relative cache item priority.
      • getGroup

        public final java.lang.String getGroup()
        Gets the group associated with cache stream.
        Returns:
        The group associated with the cache stream.
      • setGroup

        public final void setGroup​(java.lang.String value)
        Sets the group associated with cache stream.
        Parameters:
        value - The group to be associated with the cache stream.
      • getCacheDependency

        public final CacheDependency getCacheDependency()
        Gets the Cache Dependency instance that contains all dependencies associated with cache stream.
        Returns:
        The Cache Dependency instance associated with cache stream.
      • setCacheDependency

        public final void setCacheDependency​(CacheDependency value)
        Sets the Cache Dependency instance that contains all dependencies associated with cache stream.
        Parameters:
        value - The Cache Dependency instance to be associated with cache stream.
      • getExpiration

        public final Expiration getExpiration()
        Gets the expiration mechanism for cache stream.
        Returns:
        Expiration instance that contains info about cache stream expiration mechanism.
      • setExpiration

        public final void setExpiration​(Expiration value)
        Sets the expiration mechanism for cache stream.
        Parameters:
        value - Expiration object that specifies the expiration mechanism for cache stream.
      • getStreamMode

        public final StreamMode getStreamMode()
        Gets the stream mode associated with the cache stream.
        Returns:
        The stream mode associated with the cache stream.
      • setStreamMode

        public final void setStreamMode​(StreamMode value)
        Sets the stream mode associated with the cache stream.
        Parameters:
        value - The stream mode to be associated with the cache stream.