Package com.alachisoft.ncache.client
Class CacheStreamAttributes
- java.lang.Object
-
- com.alachisoft.ncache.client.CacheStreamAttributes
-
public class CacheStreamAttributes extends java.lang.Object
CacheStreamAttributes Class contains information about theCacheStream
attributes.
-
-
Constructor Summary
Constructors Constructor Description CacheStreamAttributes(StreamMode streamMode)
Creates new instance of CacheStreamAttributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheDependency
getCacheDependency()
Gets the Cache Dependency instance that contains all dependencies associated with cache stream.CacheItemPriority
getCacheItemPriority()
Gets the relative cache item priority of the cache stream.Expiration
getExpiration()
Gets the expiration mechanism for cache stream.java.lang.String
getGroup()
Gets the group associated with cache stream.StreamMode
getStreamMode()
Gets the stream mode associated with the cache stream.void
setCacheDependency(CacheDependency value)
Sets the Cache Dependency instance that contains all dependencies associated with cache stream.void
setCacheItemPriority(CacheItemPriority value)
Sets the relative cache item priority of the cache stream.void
setExpiration(Expiration value)
Sets the expiration mechanism for cache stream.void
setGroup(java.lang.String value)
Sets the group associated with cache stream.void
setStreamMode(StreamMode value)
Sets the stream mode associated with the cache stream.
-
-
-
Constructor Detail
-
CacheStreamAttributes
public CacheStreamAttributes(StreamMode streamMode)
Creates new instance of CacheStreamAttributes.- Parameters:
streamMode
- SpecifiesStreamMode
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.
-
-