2017 © Pedro Peláez
 

library gearman-stats

Geaman connector for getting status and statistic data

image

necromant2005/gearman-stats

Geaman connector for getting status and statistic data

  • Friday, June 10, 2016
  • by necromant2005
  • Repository
  • 3 Watchers
  • 12 Stars
  • 150,450 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

TweeGearmanStat

Version 1.0.0 Created by Rostislav Mykhajliw, (*1)

Introduction

TweeGearmanStat is a simple adapter for monitrong your Gearman queue for php, (*2)

Features / Goals

  • Having a simple class for monitong Queue on webside
  • Use a standard command "status" and provide result as array
  • Work with multiple gearman servers

Installation

Main Setup

With composer

  1. Add this to your composer.json:
"require": {
    "necromant2005/gearman-stats": "@dev",
}
  1. Now tell composer to download TweeGearmanStat by running the command:
$ php composer.phar update

Usage

$adapter = new \TweeGearmanStat\Queue\Gearman(array(
    'h1' => array('host' => '10.0.0.1', 'port' => 4730, 'timeout' => 1),
    'h2' => array('host' => '10.0.0.2', 'port' => 4730, 'timeout' => 1),
));
$status = $adapter->status();
var_dump($status);

With default timeout 5 sec, (*3)

$adapter = new \TweeGearmanStat\Queue\Gearman(array(
    'h1' => array('host' => '10.0.0.1', 'port' => 4730),
    'h2' => array('host' => '10.0.0.2', 'port' => 4730),
));
$status = $adapter->status();
var_dump($status);

The Versions

10/06 2016

dev-master

9999999-dev https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

10/06 2016

1.3

1.3.0.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

12/11 2015

1.2.1

1.2.1.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

10/11 2015

1.2

1.2.0.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

27/09 2013

1.1

1.1.0.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

18/06 2013

1.0.2

1.0.2.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

18/06 2013

1.0.1

1.0.1.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic

14/06 2013

1.0.0

1.0.0.0 https://github.com/necromant2005/gearman-stats.git

Geaman connector for getting status and statistic data

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

gearman statistatic