Package org.openscience.cdk.smsd.global
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
TimeOut()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TimeOut
getInstance()
Deprecated.Get Instance of the timeout.double
getTimeOut()
Deprecated.Return cutoff value for time out.boolean
isTimeOutFlag()
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
-
-
-
Method Detail
-
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
-
-