FilePathWaitForReadLockExclusive(String, Double) Method
Waits for read access on a file for the specified number of seconds.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static void WaitForReadLockExclusive(
string fileName,
double secondsToWait
)
Public Shared Sub WaitForReadLockExclusive (
fileName As String,
secondsToWait As Double
)
public:
static void WaitForReadLockExclusive(
String^ fileName,
double secondsToWait
)
Gemstone.IO.FilePath.WaitForReadLockExclusive = function(fileName, secondsToWait);
Parameters
- fileName String
- The name of the file to wait for to obtain read access.
- secondsToWait Double
- The time to wait for in seconds to obtain read access on a file. Set to zero to wait infinitely.