Class AKCoreTimer

Description

Timer class

Located in /administrator/components/com_joomlaupdate/restore.php (line 3477)

AKAbstractObject
   |
   --AKCoreTimer
Method Summary
 AECoreTimer __construct ()
 float getRunningTime ()
 float getTimeLeft ()
 void resetTime ()
 void __wakeup ()
Variables
Methods
Constructor __construct (line 3489)

Public constructor, creates the timer object and calculates the execution time limits

  • access: public
AECoreTimer __construct ()

Redefinition of:
AKAbstractObject::__construct()
Public constructor, makes sure we are instanciated only by the factory class
enforce_min_exec_time (line 3574)

Enforce the minimum execution time

  • access: public
void enforce_min_exec_time ()
getRunningTime (line 3557)

Gets the time elapsed since object creation/unserialization, effectively how

long Akeeba Engine has been processing data

  • access: public
float getRunningTime ()
getTimeLeft (line 3547)

Gets the number of seconds left, before we hit the "must break" threshold

  • access: public
float getTimeLeft ()
resetTime (line 3637)

Reset the timer. It should only be used in CLI mode!

  • access: public
void resetTime ()
__wakeup (line 3537)

Wake-up function to reset internal timer when we get unserialized

  • access: public
void __wakeup ()

Inherited Methods

Inherited From AKAbstractObject

 AKAbstractObject::__construct()
 AKAbstractObject::getError()
 AKAbstractObject::getErrors()
 AKAbstractObject::getWarning()
 AKAbstractObject::getWarnings()
 AKAbstractObject::propagateFromObject()
 AKAbstractObject::propagateToObject()
 AKAbstractObject::resetErrors()
 AKAbstractObject::resetWarnings()
 AKAbstractObject::setError()
 AKAbstractObject::setErrorsQueueSize()
 AKAbstractObject::setWarning()
 AKAbstractObject::setWarningsQueueSize()

Documentation generated on Tue, 19 Nov 2013 15:12:16 +0100 by phpDocumentor 1.4.3