public final class UnicastSocketTimeout extends Object implements InvocationConstraint, Serializable
Constructor and Description |
---|
UnicastSocketTimeout(int timeout)
Creates a
UnicastSocketTimeout constraint for the given
timeout. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getTimeout()
Returns the socket timeout.
|
int |
hashCode() |
String |
toString() |
public UnicastSocketTimeout(int timeout)
UnicastSocketTimeout
constraint for the given
timeout.timeout
- the socket timeoutIllegalArgumentException
- if the given timeout is negativeCopyright © GigaSpaces.