├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── src └── Ejsmont │ └── CircuitBreaker │ ├── CircuitBreakerInterface.php │ ├── Core │ └── CircuitBreaker.php │ ├── Factory.php │ └── Storage │ ├── Adapter │ ├── ApcAdapter.php │ ├── BaseAdapter.php │ ├── DummyAdapter.php │ └── MemcachedAdapter.php │ ├── Decorator │ └── ArrayDecorator.php │ ├── StorageException.php │ └── StorageInterface.php └── tests ├── Manual └── Performance │ ├── ApcSimpleLoop.php │ └── MemcachedSimpleLoop.php ├── SplClassLoader.php ├── Unit └── Ejsmont │ └── CircuitBreaker │ ├── CircuitBreakerTest.php │ ├── FactoryTest.php │ └── Storage │ ├── Adapter │ ├── ApcAdapterTest.php │ ├── DummyAdapterTest.php │ └── MemcachedAdapterTest.php │ └── Decorator │ └── ArrayDecoratorTest.php ├── before-travisci.sh ├── bootstrap.php ├── phpunit-extended.xml └── phpunit.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/composer.json -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/CircuitBreakerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/CircuitBreakerInterface.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Core/CircuitBreaker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Core/CircuitBreaker.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Factory.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/Adapter/ApcAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/Adapter/ApcAdapter.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/Adapter/BaseAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/Adapter/BaseAdapter.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/Adapter/DummyAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/Adapter/DummyAdapter.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/Adapter/MemcachedAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/Adapter/MemcachedAdapter.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/Decorator/ArrayDecorator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/Decorator/ArrayDecorator.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/StorageException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/StorageException.php -------------------------------------------------------------------------------- /src/Ejsmont/CircuitBreaker/Storage/StorageInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/src/Ejsmont/CircuitBreaker/Storage/StorageInterface.php -------------------------------------------------------------------------------- /tests/Manual/Performance/ApcSimpleLoop.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Manual/Performance/ApcSimpleLoop.php -------------------------------------------------------------------------------- /tests/Manual/Performance/MemcachedSimpleLoop.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Manual/Performance/MemcachedSimpleLoop.php -------------------------------------------------------------------------------- /tests/SplClassLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/SplClassLoader.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/CircuitBreakerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/CircuitBreakerTest.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/FactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/FactoryTest.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/ApcAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/ApcAdapterTest.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/DummyAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/DummyAdapterTest.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/MemcachedAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/Storage/Adapter/MemcachedAdapterTest.php -------------------------------------------------------------------------------- /tests/Unit/Ejsmont/CircuitBreaker/Storage/Decorator/ArrayDecoratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/Unit/Ejsmont/CircuitBreaker/Storage/Decorator/ArrayDecoratorTest.php -------------------------------------------------------------------------------- /tests/before-travisci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/before-travisci.sh -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/phpunit-extended.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/phpunit-extended.xml -------------------------------------------------------------------------------- /tests/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ejsmont-artur/php-circuit-breaker/HEAD/tests/phpunit.xml --------------------------------------------------------------------------------