Class KeyDependency
Inheritance
System.Object
KeyDependency
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class KeyDependency : CacheDependency, IDisposable
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 |
|
System.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 |
|
System.DateTime |
startAfter |
|
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 |
|
FindNull(String[])
Declaration
public bool FindNull(string[] keys)
Parameters
Type |
Name |
Description |
System.String[] |
keys |
|
Returns
Type |
Description |
System.Boolean |
|