Cluster.waitForMessageFromLocalNamedPipe()
Signature
Object waitForMessageFromLocalNamedPipe(String pipeName, long timeoutMillis)
Domain
action, condition, query
Description
Retrieve a message if one is available on the pipe. If not, then the call
blocks until a message is available for the duration specified. If there is no message
even after the specified timeout, then the method returns null
.
Parameters
Name | Type | Description |
pipeName | String | Name of the pipe |
timeoutMillis | long | Specified timeout in milliseconds |
Returns
Type | Description |
Object | The message being retrieved. null if the pipe has nothing even after waiting for the specified time. |