2017 © Pedro Peláez
 

library component_shutdown

php component shutdown

image

net_bazzline/component_shutdown

php component shutdown

  • Friday, July 4, 2014
  • by artodeto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 174 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Process Shutdown Component

The build status of the current master branch is tracked by Travis CI:, (*1)

Build Status, (*2)

General

This component provides the ShutdownInterface as well as an ShutdownAwareInterface. It comes with two implementations of the ShutdownInterface., (*3)

You can use this interface to shutdown classes or processes to prevent you from using kill to stop the process. With the shutdown, you can controll how you class or process should go to a well defined shutdown., (*4)

This component was created by splitting up the PHP_Bazzline_Utility repository., (*5)

Implementations

Two implementations exists. The FileShutdown and the RuntimeShutdown., (*6)

RuntimeShutdown

The RuntimeLock can be used to shutdown an instance during one request. This can be useful if you want to react on runtime environment changes or something similar., (*7)

FileShutdown

The FileShutdown can be used to shutdown an running process outside from the current request. If you have to implement longer running requests (runtime above one minute for example), you can easily touch a fitting shutdown file to stop the process in a well defined way., (*8)

Future Improvements

History

  • 1.0.3
    • Added ShutdownDependentInterface
  • 1.0.2
    • Added optional constructor $name
  • 1.0.1
    • Moved to LGPLv3
  • 1.0.0
    • Finished ShutdownInterface and ShutdownAwareInterface
    • Added implementation for FileShutdown and RuntimeShutdown
    • Covered implementations with unittests

The Versions

04/07 2014

dev-master

9999999-dev https://github.com/stevleibelt/php_component_shutdown

php component shutdown

  Sources   Download

LGPLv3

The Requires

  • php >=5.3.3

 

The Development Requires

component php shutdown net_bazzline

24/04 2014

1.0.3

1.0.3.0 https://github.com/stevleibelt/php_component_shutdown

php component shutdown

  Sources   Download

LGPLv3

The Requires

  • php >=5.3.3

 

The Development Requires

component php shutdown net_bazzline

05/08 2013

1.0.2

1.0.2.0 https://github.com/stevleibelt/php_component_shutdown

php component shutdown

  Sources   Download

LGPLv3

The Requires

  • php >=5.3.3

 

The Development Requires

component php shutdown net_bazzline

05/08 2013

1.0.1

1.0.1.0 https://github.com/stevleibelt/php_component_shutdown

php component shutdown

  Sources   Download

LGPLv3

The Requires

  • php >=5.3.3

 

The Development Requires

component php shutdown net_bazzline

01/07 2013

v1.0.0

1.0.0.0 https://github.com/stevleibelt/php_component_shutdown

php component shutdown

  Sources   Download

GPLv3

The Requires

  • php >=5.3.3

 

The Development Requires

component php shutdown net_bazzline