public class Wait
extends java.lang.Object
构造器和说明 |
---|
Wait() |
限定符和类型 | 方法和说明 |
---|---|
long |
getTimeout()
Returns the number of seconds specified for the WAIT command
|
void |
setTimeout(long timeout)
Sets the number of seconds to WAIT for this
Wait |
java.lang.String |
toString()
Returns a String containing the WAIT clause and its timeout, where TIMEOUT is specified by
getTimeout() . |
public long getTimeout()
public void setTimeout(long timeout)
Wait
timeout
- the number of seconds to WAIT for this Wait
public java.lang.String toString()
getTimeout()
. The returned string will null be:
" WAIT <TIMEOUT>"
toString
在类中 java.lang.Object