Methods
# getDependency() → {CacheDependency}
Gets the Cache Dependency instance that contains all dependencies associated with DataStructure.
The Cache Dependency instance associated with DataStructure.
- Type
- CacheDependency
# getExpiration() → {Expiration}
Specifies the expiration mechanism for DataType
instance that contains info about DataStructure expiration mechanism.
- Type
- Expiration
# getGroup() → {String}
Gets the associated with the DataStructure. It can be queryed on the basis of Groups.
The group associated with DataStructure.s
- Type
- String
# getNamedTags() → {NamedTagsDictionary}
Gets the NamedTags information associated with the DataStructure, it can be queried on the basis of NamedTags provided.
NamedTags associated with DataStructure.
- Type
- NamedTagsDictionary
# getPriority() → {CacheItemPriority}
Gets the relative priority for DataStructure which is kept under consideration whenever cache starts to free up space and evicts items.
CacheItemPriority associated with DataStructure.
- Type
- CacheItemPriority
# getResyncOptions() → {ResyncOptions}
Gets the ResyncOptions specific to the DataStructure
ResyncOptions specific to the DataStructure.
- Type
- ResyncOptions
# getTags() → {Array.<Tag>}
Gets the tags information associated with the DataStructure, it can be queried on the basis of Tags provided.
List of Tags associated with DataStructure.
- Type
- Array.<Tag>
# setDependency(CacheDependency)
Sets the Cache Dependency instance that contains all dependencies associated with DataStructure.
Name | Type | Description |
---|---|---|
CacheDependency |
CacheDependency | The Cache Dependency instance to be associated with DataStructure. |
# setExpiration(indicates)
Sets the expiration mechanism for DataStructure.
Name | Type | Description |
---|---|---|
indicates |
Expiration | Expiration value for datastructure |
# setGroup(group)
Sets the group associated with the DataStructure. It can be queryed on the basis of Groups.
Name | Type | Description |
---|---|---|
group |
String | The group associated with DataStructure. |
# setNamedTags(NamedTagsDictionary)
Sets the NamedTags information associated with the DataStructure, it can be queried on the basis of NamedTags provided.
Name | Type | Description |
---|---|---|
NamedTagsDictionary |
NamedTagsDictionary | NamedTags to be associated with DataStructure. |
# setPriority(value)
Sets the relative priority for DataStructure which is kept under consideration whenever cache starts to free up space and evicts items.
Name | Type | Description |
---|---|---|
value |
CacheItemPriority | CacheItemPriority to be associated with DataStructure. |
# setResyncOptions() → {ResyncOptions}
Sets the ResyncOptions specific to the DataStructure.
ResyncOptions value for data structure
- Type
- ResyncOptions
# setTags(value)
Sets the tags information associated with the DataStructure, it can be queried on the basis of Tags provided.
Name | Type | Description |
---|---|---|
value |
Array.<Tag> | List of Tags to be associated with DataStructure. |