Class KeyDependency
Inheritance
System.Object
KeyDependency
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class KeyDependency : CacheDependency
Constructors
KeyDependency(String)
Initializes a new instance of the KeyExpiration class that monitors an array of
file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
KeyDependency(String, DateTime)
Initializes a new instance of the KeyExpiration class that monitors an array of
file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string key, DateTime startAfter)
Parameters
Type |
Name |
Description |
System.String |
key |
|
DateTime |
startAfter |
|
KeyDependency(String[])
Initializes a new instance of the KeyExpiration class that monitors an array of
file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string[] keys)
Parameters
Type |
Name |
Description |
System.String[] |
keys |
|
KeyDependency(String[], DateTime)
Initializes a new instance of the KeyExpiration class that monitors an array of
file paths (to files or directories), an array of cache keys, or both for changes.
Declaration
public KeyDependency(string[] keys, DateTime startAfter)
Parameters
Type |
Name |
Description |
System.String[] |
keys |
|
DateTime |
startAfter |
|
Properties
CacheKeys
Return array of cache keys
Declaration
public string[] CacheKeys { get; }
Property Value
Type |
Description |
System.String[] |
|
StartAfterTicks
Return array of cache keys
Declaration
public long StartAfterTicks { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
FindNull(String[])
Declaration
public bool FindNull(string[] keys)
Parameters
Type |
Name |
Description |
System.String[] |
keys |
|
Returns
Type |
Description |
System.Boolean |
|