Method | Description | |
---|---|---|
GetValue ( System.TimeSpan timeout ) : object |
Retrieve the cell's value, waiting for the given timeout if no value is immediately available. If a value is present in the cell at the time the call is made, the call will return immediately. Otherwise, the calling thread blocks until either a value appears, or operation times out. If no value was available before the timeout, an exception is thrown. |
|
GetValue ( int timeout ) : object |
Retrieve the cell's value, waiting for the given timeout if no value is immediately available. If a value is present in the cell at the time the call is made, the call will return immediately. Otherwise, the calling thread blocks until either a value appears, or operation times out. If no value was available before the timeout, an exception is thrown. |
|
validatedTimeout ( int timeout ) : int |
Return valid timeout value If value of the parameter is less then zero, return 0 to mean infinity |
public GetValue ( System.TimeSpan timeout ) : object | ||
timeout | System.TimeSpan | |
return | object |
public static validatedTimeout ( int timeout ) : int | ||
timeout | int | |
return | int |