Package org.openscience.cdk.smsd.global
Class TimeOut
java.lang.Object
org.openscience.cdk.smsd.global.TimeOut
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
TimeOut
protected TimeOut()Deprecated.
-
-
Method Details
-
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
-