C# Class NapkinCommon.SamplerBag

Afficher le fichier Open project: cjdaly/napkin

Méthodes publiques

Méthode Description
Add ( Sampler sampler ) : void
AppendStatus ( StringBuilder sb = null ) : StringBuilder
Get ( string samplerId, string keySetId = "chatter.device.sensor." ) : Sampler
GetStatus ( string headline = null ) : string
Reset ( ) : void
Sample ( string samplerId ) : void
SamplerBag ( bool addMemorySampler = true ) : System

Private Methods

Méthode Description
TakeMemorySample ( ) : long

Method Details

Add() public méthode

public Add ( Sampler sampler ) : void
sampler Sampler
Résultat void

AppendStatus() public méthode

public AppendStatus ( StringBuilder sb = null ) : StringBuilder
sb StringBuilder
Résultat StringBuilder

Get() public méthode

public Get ( string samplerId, string keySetId = "chatter.device.sensor." ) : Sampler
samplerId string
keySetId string
Résultat Sampler

GetStatus() public méthode

public GetStatus ( string headline = null ) : string
headline string
Résultat string

Reset() public méthode

public Reset ( ) : void
Résultat void

Sample() public méthode

public Sample ( string samplerId ) : void
samplerId string
Résultat void

SamplerBag() public méthode

public SamplerBag ( bool addMemorySampler = true ) : System
addMemorySampler bool
Résultat System