PHP 인터페이스 Beberlei\Metrics\Collector\Collector

파일 보기 프로젝트 열기: beberlei/metrics 0 사용 예제들

공개 메소드들

메소드 설명
decrement ( string $variable ) Decrements a counter.
flush ( ) Sends the metrics to the adapter backend.
increment ( string $variable ) Increments a counter.
measure ( string $variable, integer $value ) Updates a counter by some arbitrary amount.
timing ( string $variable, integer $time ) Records a timing.

메소드 상세

decrement() 공개 메소드

Decrements a counter.
public decrement ( string $variable )
$variable string

flush() 공개 메소드

Sends the metrics to the adapter backend.
public flush ( )

increment() 공개 메소드

Increments a counter.
public increment ( string $variable )
$variable string

measure() 공개 메소드

Updates a counter by some arbitrary amount.
public measure ( string $variable, integer $value )
$variable string
$value integer The amount to increment the counter by

timing() 공개 메소드

Records a timing.
public timing ( string $variable, integer $time )
$variable string
$time integer The duration of the timing in milliseconds