Method Detaillong getAverageTime() Returns the average time between each start and stop of the timer in milliseconds. Returns: long Since: 12-26-2024 long getMaxTime() Returns the maximum time among all of the start and stop of the timer in milliseconds. Returns: long Since: 12-26-2024 int getMaxTimeout() Returns the maximum allowed timeout set by the activation key. Returns: int Since: 01-04-2010 int getRemainingTime() Returns the approximate remaining time in seconds. Returns: int Since: 01-04-2010 int getTimeout() Returns the timeout setting. Returns: int Since: 01-04-2010 boolean isAverageRemaining() Returns true if the time remaining in the workflow engine is greater than the average timer recording. Returns: boolean Since: 12-26-2024 boolean isMaxRemaining() Returns true if the time remaining in the workflow engine is greater than the maximum timer recording. Returns: boolean Since: 12-26-2024 boolean isTimeRemaining(int seconds) Returns true if the timeout remaining exceeds the buffer (seconds).
Parameters:
Returns: boolean Since: 01-04-2010 int setMaxTimeout() Sets the timeout to maximum allowed and returns it Returns: int Since: 11-07-2018 setQueryTimeout(int timeout) Sets the global timeout for the dataset queries. Anything longer than this time will trigger a subscription notice. Minimum is 2 seconds and maximum is 10 seconds.
Parameters:
Since: 11-07-2018 setTimeout(int timeout) Sets the timeout for the monitor in seconds. Default and minimum is 10. Maximum is determined by the activation key. This method is called only once per workflow cycle. Subsequent calls are ignored.
Parameters:
Since: 01-04-2010 startTimer() Starts the timer Since: 12-26-2024 long stopTimer() Stops the timer and returns the time in milliseconds. You should call start timer first else this will return 0. Returns: long Since: 12-26-2024 String toString() Returns a description of this object. Returns: String Since: 01-04-2010 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 30, 2024 11:45 AM |