ThreadTimeoutOverride Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Specify a new timeout, potentially extending an already active timeout.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static ThreadTimeout Override(
int millis
)
Parameters
- millis
- Type: SystemInt32
The new timeout in milliseconds
Return Value
Type:
ThreadTimeoutA ThreadTimeout instance to be used within a using block.
Remarks
This variant allows the caller to extend a parent timeout. This is rarely
needed, and is roughly the equivalent of silently consuming a thread interrupt
without rethrowing the ThreadInterruptedException. Use of this method should
be extremely limited.
See Also