C# Class NapkinCommon.SamplerBag

Exibir arquivo Open project: cjdaly/napkin

Public Methods

Method 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

Method Description
TakeMemorySample ( ) : long

Method Details

Add() public method

public Add ( Sampler sampler ) : void
sampler Sampler
return void

AppendStatus() public method

public AppendStatus ( StringBuilder sb = null ) : StringBuilder
sb StringBuilder
return StringBuilder

Get() public method

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

GetStatus() public method

public GetStatus ( string headline = null ) : string
headline string
return string

Reset() public method

public Reset ( ) : void
return void

Sample() public method

public Sample ( string samplerId ) : void
samplerId string
return void

SamplerBag() public method

public SamplerBag ( bool addMemorySampler = true ) : System
addMemorySampler bool
return System