public class DataStructureAttributes
extends java.lang.Object
Constructor | Description |
---|---|
DataStructureAttributes() |
Initializes DataTypeAttributes instance with default cache item priority.
|
Modifier and Type | Method | Description |
---|---|---|
CacheDependency |
getDependency() |
Gets the Cache Dependency instance that contains all dependencies associated with DataStructure.
|
Expiration |
getExpiration() |
Gets the expiration mechanism for DataStructure.
|
java.lang.String |
getGroup() |
Gets the associated with the DataStructure.
|
NamedTagsDictionary |
getNamedTags() |
Gets the NamedTags information associated with the DataStructure, it can be queried on the basis of NamedTags provided.
|
CacheItemPriority |
getPriority() |
Gets the relative priority for DataStructure which is kept under consideration whenever cache starts to free up space and evicts items.
|
ResyncOptions |
getResyncOptions() |
Gets the ResyncOptions specific to the DataStructure.
|
java.util.List<Tag> |
getTags() |
Gets the tags information associated with the DataStructure, it can be queried on the basis of Tags provided.
|
void |
setDependency(CacheDependency value) |
Sets the Cache Dependency instance that contains all dependencies associated with DataStructure.
|
void |
setExpiration(Expiration value) |
Sets the expiration mechanism for DataStructure.
|
void |
setGroup(java.lang.String value) |
Sets the group associated with the DataStructure.
|
void |
setNamedTags(NamedTagsDictionary value) |
Sets the NamedTags information associated with the DataStructure, it can be queried on the basis of NamedTags provided.
|
void |
setPriority(CacheItemPriority value) |
Sets the relative priority for DataStructure which is kept under consideration whenever cache starts to free up space and evicts items.
|
void |
setResyncOptions(ResyncOptions value) |
Sets the ResyncOptions specific to the DataStructure.
|
void |
setTags(java.util.List<Tag> value) |
Sets the tags information associated with the DataStructure, it can be queried on the basis of Tags provided.
|
public DataStructureAttributes()
public final Expiration getExpiration()
Expiration
instance that contains info about DataStructure expiration mechanism.public final void setExpiration(Expiration value)
value
- Expiration object that specifies the expiration mechanism for DataStructure.public final CacheDependency getDependency()
public final void setDependency(CacheDependency value)
value
- The Cache Dependency instance to be associated with DataStructure.public final java.lang.String getGroup()
public final void setGroup(java.lang.String value)
value
- The group to be associated with DataStructure.public final ResyncOptions getResyncOptions()
public final void setResyncOptions(ResyncOptions value)
value
- ResyncOptions specific to the DataStructure.public final NamedTagsDictionary getNamedTags()
public final void setNamedTags(NamedTagsDictionary value)
value
- NamedTags to be associated with DataStructure.public final java.util.List<Tag> getTags()
public final void setTags(java.util.List<Tag> value)
value
- List of Tags to be associated with DataStructure.public final CacheItemPriority getPriority()
public final void setPriority(CacheItemPriority value)
value
- CacheItemPriority to be associated with DataStructure.