InternalClient.setOperationTimeout(long timeout) Method

Definition

Set the length of time, in milliseconds, that any given operation will expire in. These operations include reconnecting upon a connection drop and sending a message.

public void setOperationTimeout(long timeout)

Parameters

timeout
long

the length in time, in milliseconds, until a given operation shall expire

Exceptions

java.lang.IllegalArgumentException

if the provided timeout is 0 or negative

Applies to