Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Attempt to lock all the specified keys within a specified period
of time.
Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public static IList LockAll( IConcurrentCache cache, ICollection keys, int waitMillis ) |
Parameters
- cache
- Type: Tangosol.Net.Cache..::..IConcurrentCache
The IConcurrentCache to use.
- keys
- Type: System.Collections..::..ICollection
A collection of keys to lock.
- waitMillis
- Type: System..::..Int32
The number of milliseconds to continue trying to obtain locks; pass zero to return immediately; pass -1 to block the calling thread until the lock could be obtained.