PhpBench\Benchmark\Metadata\SubjectMetadata::getRetryThreshold PHP Method

getRetryThreshold() public method

public getRetryThreshold ( )
    public function getRetryThreshold()
    {
        return $this->retryThreshold;
    }

Usage Example

Esempio n. 1
0
 public function createSubjectFromMetadata(SubjectMetadata $metadata)
 {
     $subject = new Subject($this, $metadata->getName());
     $subject->setGroups($metadata->getGroups());
     $subject->setSleep($metadata->getSleep());
     $subject->setRetryThreshold($metadata->getRetryThreshold());
     $subject->setOutputTimeUnit($metadata->getOutputTimeUnit());
     $subject->setOutputTimePrecision($metadata->getOutputTimePrecision());
     $subject->setOutputMode($metadata->getOutputMode());
     $this->subjects[] = $subject;
     return $subject;
 }