Class TimeOut

java.lang.Object
org.openscience.cdk.smsd.global.TimeOut

@Deprecated public class TimeOut extends Object
Deprecated.
SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
Class that manages MCS timeout.
Author:
Syed Asad Rahman <asad@ebi.ac.uk>
Source code:
main
Belongs to CDK module:
smsd
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static TimeOut
    Deprecated.
    Get Instance of the timeout.
    double
    Deprecated.
    Return cutoff value for time out.
    boolean
    Deprecated.
    Return true if its a timeout else return false.
    void
    setTimeOut(double timeout)
    Deprecated.
    set cutoff value for time out eg.
    void
    setTimeOutFlag(boolean timeOut)
    Deprecated.
    Set true if timeout occures else false

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TimeOut

      protected TimeOut()
      Deprecated.
  • Method Details

    • getInstance

      public static TimeOut getInstance()
      Deprecated.
      Get Instance of the timeout. This starts the timeout counter.
      Returns:
      Instance
    • setTimeOut

      public void setTimeOut(double timeout)
      Deprecated.
      set cutoff value for time out eg. -1 for infinite and 0.23 for 23 seconds.
      Parameters:
      timeout -
    • getTimeOut

      public double getTimeOut()
      Deprecated.
      Return cutoff value for time out.
      Returns:
      time out cutoff value
    • isTimeOutFlag

      public boolean isTimeOutFlag()
      Deprecated.
      Return true if its a timeout else return false.
      Returns:
      the timeout flag
    • setTimeOutFlag

      public void setTimeOutFlag(boolean timeOut)
      Deprecated.
      Set true if timeout occures else false
      Parameters:
      timeOut - the timeout flag to set