ProviderCacheItem
, ProviderDataStructureItem
public class ProviderItemBase
extends java.lang.Object
Constructor | Description |
---|---|
ProviderItemBase() |
Modifier and Type | Method | Description |
---|---|---|
CacheDependency |
getDependency() |
Gets the Cache Dependency instance that contains all dependencies associated with provider cache item.
|
Expiration |
getExpiration() |
Gets the expiration mechanism for provider cache item.
|
java.lang.String |
getGroup() |
Gets the group associated with the provider cache item.
|
boolean |
getIsJavaReadThrough() |
Gets a boolean value that indicates that whether ReadThruProvider is Java based or not.
|
CacheItemPriority |
getItemPriority() |
Gets the relative priority for provider cache item which is kept under consideration whenever cache starts to free up space and evicts items.
|
NamedTagsDictionary |
getNamedTags() |
Gets the NamedTags information associated with the provider cache item, it can be queried on the basis of NamedTags provided.
|
boolean |
getResyncItemOnExpiration() |
Gets the flag which indicates whether item should be reloaded on expiration if ReadThru provider is specified.
|
ResyncOptions |
getResyncOptions() |
Gets the ResyncOptions specific to the provider cache item.
|
java.lang.String |
getResyncProviderName() |
Gets the ReadThru provider name for re-synchronization of cache.
|
java.util.List<Tag> |
getTags() |
Gets the tags information associated with the provider cache item, 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 provider cache item.
|
void |
setExpiration(Expiration value) |
Sets the expiration mechanism for provider cache item.
|
void |
setGroup(java.lang.String value) |
Sets the group associated with the provider cache item.
|
void |
setIsJavaReadThrough(boolean value) |
Sets a boolean value that indicates that whether ReadThruProvider is Java based or not.
|
void |
setItemPriority(CacheItemPriority value) |
Sets the relative priority for provider cache item which is kept under consideration whenever cache starts to free up space and evicts items.
|
void |
setNamedTags(NamedTagsDictionary value) |
Sets the NamedTags information associated with the provider item, it can be queried on the basis of NamedTags provided.
|
void |
setResyncOptions(ResyncOptions value) |
Sets the ResyncOptions specific to the provider cache item.
|
void |
setTags(java.util.List<Tag> value) |
Sets the tags information associated with the provider cache item, it can be queried on the basis of Tags provided.
|
public final java.lang.String getGroup()
public final void setGroup(java.lang.String value)
value
- The group to be associated with provider cache item.public final java.util.List<Tag> getTags()
public final void setTags(java.util.List<Tag> value)
value
- List of Tags to be associated with provider cache item.public final NamedTagsDictionary getNamedTags()
public final void setNamedTags(NamedTagsDictionary value)
value
- NamedTags to be associated with provider cache item.public final boolean getResyncItemOnExpiration()
public final CacheDependency getDependency()
public final void setDependency(CacheDependency value)
value
- The Cache Dependency instance to be associated with provider cache item.public final CacheItemPriority getItemPriority()
public final void setItemPriority(CacheItemPriority value)
value
- CacheItemPriority to be associated with provider cache item.public final java.lang.String getResyncProviderName()
public final boolean getIsJavaReadThrough()
public final void setIsJavaReadThrough(boolean value)
value
- A boolean value to specify that provider is Java based or not.public final Expiration getExpiration()
Expiration
instance that contains info about provider cache item expiration mechanism.public final void setExpiration(Expiration value)
value
- Expiration object that specifies the expiration mechanism for provider cache item.public final ResyncOptions getResyncOptions()
public final void setResyncOptions(ResyncOptions value)
value
- ResyncOptions specific to the provider cache item.