public class ProviderCacheItem extends ProviderItemBase
Constructor | Description |
---|---|
ProviderCacheItem(java.lang.Object value) |
Initializes an instance of ProviderCacheItem.
|
Modifier and Type | Method | Description |
---|---|---|
<T> T |
getValue(java.lang.Class<?> cls) |
Gets the value of the ProviderCacheItem.
|
void |
setValue(java.lang.Object value) |
Sets the value of the ProviderCacheItem.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependency, getExpiration, getGroup, getIsJavaReadThrough, getItemPriority, getNamedTags, getResyncItemOnExpiration, getResyncOptions, getResyncProviderName, getTags, setDependency, setExpiration, setGroup, setIsJavaReadThrough, setItemPriority, setNamedTags, setResyncOptions, setTags
public ProviderCacheItem(java.lang.Object value)
value
- Object to initialize ProviderCacheItem with.public <T> T getValue(java.lang.Class<?> cls) throws OperationFailedException
T
- Specifies the type of value obtained from the ProviderCacheItem.cls
- Specifies the class of value obtained from the ProviderCacheItem.OperationFailedException
public void setValue(java.lang.Object value)
value
- The object that is to be set as ProviderCacheItem value.