Class AggregateCacheDependency
- java.lang.Object
-
- com.alachisoft.ncache.runtime.dependencies.CacheDependency
-
- com.alachisoft.ncache.runtime.dependencies.AggregateCacheDependency
-
- All Implemented Interfaces:
java.io.Serializable
public final class AggregateCacheDependency extends CacheDependency
Combines multiple dependencies between an item stored in an application's cache object and an array of CacheDependency objects. This class cannot be inherited.
-
-
Constructor Summary
Constructors Constructor Description AggregateCacheDependency()Initializes a new instance of the AggregateCacheDependency class that wraps multiple CacheDependency objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CacheDependency... dependencies)Adds an array of CacheDependency objects to the AggregateCacheDependency object.-
Methods inherited from class com.alachisoft.ncache.runtime.dependencies.CacheDependency
dispose, getDependencies
-
-
-
-
Method Detail
-
add
public void add(CacheDependency... dependencies) throws java.lang.IllegalArgumentException
Adds an array of CacheDependency objects to the AggregateCacheDependency object.- Parameters:
dependencies- The array of CacheDependency objects to add.- Throws:
java.lang.IllegalArgumentException
-
-