public class CacheStreamAttributes
extends java.lang.Object
CacheStream
attributes.Constructor | Description |
---|---|
CacheStreamAttributes(StreamMode streamMode) |
Creates new instance of CacheStreamAttributes.
|
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.
|
public CacheStreamAttributes(StreamMode streamMode)
streamMode
- Specifies StreamMode
of the cache stream.public final CacheItemPriority getCacheItemPriority()
public final void setCacheItemPriority(CacheItemPriority value)
value
- The relative cache item priority.public final java.lang.String getGroup()
public final void setGroup(java.lang.String value)
value
- The group to be associated with the cache stream.public final CacheDependency getCacheDependency()
public final void setCacheDependency(CacheDependency value)
value
- The Cache Dependency instance to be associated with cache stream.public final Expiration getExpiration()
Expiration
instance that contains info about cache stream expiration mechanism.public final void setExpiration(Expiration value)
value
- Expiration object that specifies the expiration mechanism for cache stream.public final StreamMode getStreamMode()
public final void setStreamMode(StreamMode value)
value
- The stream mode to be associated with the cache stream.