PHP Class Tolerance\Tracer\Span\Span

Afficher le fichier Open project: sroze/tolerance Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Identifier $identifier, string $name, Identifier $traceIdentifier, array $annotations = [], array $binaryAnnotations = [], Identifier $parentIdentifier = null, boolean | null $debug = null, integer | null $timestamp = null, integer | null $duration = null ) Span constructor.
getAnnotations ( ) : Annotation[]
getBinaryAnnotations ( ) : BinaryAnnotation[]
getDebug ( ) : boolean | null
getDuration ( ) : integer | null
getIdentifier ( ) : Identifier
getName ( ) : string
getParentIdentifier ( ) : null | Identifier
getTimestamp ( ) : integer | null
getTraceIdentifier ( ) : Identifier

Method Details

__construct() public méthode

Span constructor.
public __construct ( Identifier $identifier, string $name, Identifier $traceIdentifier, array $annotations = [], array $binaryAnnotations = [], Identifier $parentIdentifier = null, boolean | null $debug = null, integer | null $timestamp = null, integer | null $duration = null )
$identifier Identifier
$name string
$traceIdentifier Identifier
$annotations array
$binaryAnnotations array
$parentIdentifier Identifier
$debug boolean | null
$timestamp integer | null
$duration integer | null

getAnnotations() public méthode

public getAnnotations ( ) : Annotation[]
Résultat Annotation[]

getBinaryAnnotations() public méthode

public getBinaryAnnotations ( ) : BinaryAnnotation[]
Résultat BinaryAnnotation[]

getDebug() public méthode

public getDebug ( ) : boolean | null
Résultat boolean | null

getDuration() public méthode

public getDuration ( ) : integer | null
Résultat integer | null

getIdentifier() public méthode

public getIdentifier ( ) : Identifier
Résultat Identifier

getName() public méthode

public getName ( ) : string
Résultat string

getParentIdentifier() public méthode

public getParentIdentifier ( ) : null | Identifier
Résultat null | Identifier

getTimestamp() public méthode

public getTimestamp ( ) : integer | null
Résultat integer | null

getTraceIdentifier() public méthode

public getTraceIdentifier ( ) : Identifier
Résultat Identifier