|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jini.core.constraint.ConnectionAbsoluteTime
public final class ConnectionAbsoluteTime
Represents a constraint on the absolute time by which a network connection
must be established. The precise meaning of this will vary across
communication mechanisms, but in the typical case of
Socket
-based communication, the intention is that this
constraint controls the timeout parameter of the
connect
method.
Constructor Summary | |
---|---|
ConnectionAbsoluteTime(long time)
Creates a constraint with the specified deadline for connection establishment. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Two instances of this class are equal if both have the same deadline. |
long |
getTime()
Returns the deadline for connection establishment. |
int |
hashCode()
Returns a hash code value for this object. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionAbsoluteTime(long time)
time
- the deadline for connection establishment in milliseconds
from midnight, January 1, 1970 UTCMethod Detail |
---|
public long getTime()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |