java.io.Serializable
AggregateCacheDependency
, CustomDependency
, DBCacheDependency
, ExtensibleDependency
, FileDependency
, KeyDependency
, OracleCacheDependency
, SqlCacheDependency
public class CacheDependency
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
CacheDependency() |
Default constructor for CacheDependency class.
|
CacheDependency(CacheDependency dependency) |
Adds the specified dependency to the list of existing dependencies.
|
CacheDependency(ExtensibleDependency extensibleDependency) |
Creates a CacheDependency instance from extensible dependency.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dispose() |
Releases the resources used by the "CacheDependency" object.
|
java.util.List<CacheDependency> |
getDependencies() |
Contains the List of Dependencies for the Cache Item.
|
public CacheDependency()
public CacheDependency(ExtensibleDependency extensibleDependency)
extensibleDependency
- ExtensibleDependency instance.public CacheDependency(CacheDependency dependency) throws java.lang.IllegalArgumentException
dependency
- The dependency to be added.java.lang.IllegalArgumentException
public java.util.List<CacheDependency> getDependencies()
public void dispose()