Class containing examples for waiting creation or removal of files and directories.
More...
|
void | ExampleBlockCreateRemove (string filePath) |
| Monitors the specified file and successively blocks until it is created and then until it is removed. This procedure is repeated twice. More...
|
|
void | ExampleBlockCreateRemove (string filePath, int numSwitches) |
| Monitors the specified file and successively blocks until it is created and then until it is removed. More...
|
|
void | ExampleBlockCreateRemove (string filePath, int numSwitches, bool waitDirectory) |
| Monitors the specified file and successively blocks until it is created and then until it is removed. More...
|
|
void | TestSpeedBlockCreateRemove (string filePath) |
| Test of speed of reaction of file/directory creation and removal blocking waits. A specified number of alternate creations and removals are perfomed in a parallel thread, with specified delay between them. In the main thread, blocking waits are performed waiting for creation/removal in an infinite loop, and it is counted how many events are captured and how many are missed. More...
|
|
void | TestSpeedBlockCreateRemove (string filePath, int numSwitches, int sleepMs) |
| Test of speed of reaction of file/directory creation and removal blocking waits. A specified number of alternate creations and removals are perfomed in a parallel thread, with specified delay between them. In the main thread, blocking waits are performed waiting for creation/removal in an infinite loop, and it is counted how many events are captured and how many are missed. More...
|
|
void | TestSpeedBlockCreateRemove (string filePath, int numSwitches, int sleepMs, bool waitDirectory) |
| Test of speed of reaction of file/directory creation and removal blocking waits. A specified number of alternate creations and removals are perfomed in a parallel thread, with specified delay between them. In the main thread, blocking waits are performed waiting for creation/removal in an infinite loop, and it is counted how many events are captured and how many are missed. More...
|
|
IWaitFileEvent | _creation = null |
|
string | ExamplePath |
|
bool | IsDirectory |
|
bool | TthreadStopped |
|
int | NumIterations |
|
int | SleepTimeMs |
|
double | TestTime |
|
object | fileOperationLock = new object() |
| Lock for file creation and removal operations. More...
|
|
Class containing examples for waiting creation or removal of files and directories.