com.ibm.portal.resolver.cache
Interface CachedDataSourceFactory.Value<T>
- All Superinterfaces:
- Addressable, DataSource, DataSourceFragment, Disposable, TimeStamped
- All Known Subinterfaces:
- CachedDataSourceFactory.UncacheableValue<T>
- Enclosing interface:
- CachedDataSourceFactory<T>
-
public static interface CachedDataSourceFactory.Value<T>
- extends DataSource
Represents the cache value. The DataSource interface on the value
represents the metadata of the data source. It's associated value can be
retrieved via the getValue() method. The value has been created
as a result of a cache miss via the
CachedDataSourceFactory.Callback.createValue(DataSource, boolean, Context) method.
Method Summary
|
void |
dispose()
Disposes the value but not necessarily the value object represented
by this value |
T |
getValue()
Return the cached values that is associated with the data |
dispose
void dispose()
- Disposes the value but not necessarily the value object represented
by this value
- Specified by:
- dispose in interface Disposable
getValue
T getValue()
- Returns the cached values that is associated with the data
- Returns:
- the value