DataStructureAttributes

DataStructureAttributes

DataTypeAttributes contains the information about the DataType attributes.


Constructor

# new DataStructureAttributes()

Initializes DataTypeAttributes instance with

Methods

# getDependency() → {CacheDependency}

Gets the Cache Dependency instance that contains all dependencies associated with DataStructure.

Returns:

The Cache Dependency instance associated with DataStructure.

Type
CacheDependency

# getExpiration() → {Expiration}

Specifies the expiration mechanism for DataType

Returns:

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.

Returns:

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.

Returns:

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.

Returns:

CacheItemPriority associated with DataStructure.

Type
CacheItemPriority

# getResyncOptions() → {ResyncOptions}

Gets the ResyncOptions specific to the DataStructure

Returns:

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.

Returns:

List of Tags associated with DataStructure.

Type
Array.<Tag>

# setDependency(CacheDependency)

Sets the Cache Dependency instance that contains all dependencies associated with DataStructure.

Parameters:
Name Type Description
CacheDependency CacheDependency

The Cache Dependency instance to be associated with DataStructure.

# setExpiration(indicates)

Sets the expiration mechanism for DataStructure.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
Name Type Description
value CacheItemPriority

CacheItemPriority to be associated with DataStructure.

# setResyncOptions() → {ResyncOptions}

Sets the ResyncOptions specific to the DataStructure.

Returns:

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.

Parameters:
Name Type Description
value Array.<Tag>

List of Tags to be associated with DataStructure.