Class Wait

  • All Implemented Interfaces:
    java.io.Serializable

    public class Wait
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long timeout  
    • Constructor Summary

      Constructors 
      Constructor Description
      Wait()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTimeout()  
      void setTimeout​(long timeout)  
      java.lang.String toString()
      Returns a String containing the WAIT clause and its timeout, where TIMEOUT is specified by getTimeout().
      Wait withTimeout​(long timeout)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • timeout

        private long timeout
    • Constructor Detail

      • Wait

        public Wait()
    • Method Detail

      • getTimeout

        public long getTimeout()
      • setTimeout

        public void setTimeout​(long timeout)
      • toString

        public java.lang.String toString()
        Returns a String containing the WAIT clause and its timeout, where TIMEOUT is specified by getTimeout(). The returned string will null be: " WAIT <TIMEOUT>"
        Overrides:
        toString in class java.lang.Object
      • withTimeout

        public Wait withTimeout​(long timeout)