C# Class Graphite.StatsD.StatsDClient

Inheritance: IDisposable
Exibir arquivo Open project: ragnard/Graphite.NET Class Usage Examples

Public Methods

Method Description
Decrement ( ) : bool
Decrement ( int magnitude ) : bool
Decrement ( int magnitude, double sampleRate ) : bool
Decrement ( string key, int magnitude = -1, double sampleRate = 1.0 ) : bool
Dispose ( ) : void
Increment ( int magnitude, double sampleRate ) : bool
Increment ( string key, int magnitude = 1, double sampleRate = 1.0 ) : bool
StatsDClient ( string hostname, int port, string keyPrefix = null ) : System
Timing ( string key, long value, double sampleRate = 1.0 ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
MaybeSend ( double sampleRate ) : bool
MaybeSend ( string stat, double sampleRate ) : bool
Send ( string message ) : bool

Method Details

Decrement() public method

public Decrement ( ) : bool
return bool

Decrement() public method

public Decrement ( int magnitude ) : bool
magnitude int
return bool

Decrement() public method

public Decrement ( int magnitude, double sampleRate ) : bool
magnitude int
sampleRate double
return bool

Decrement() public method

public Decrement ( string key, int magnitude = -1, double sampleRate = 1.0 ) : bool
key string
magnitude int
sampleRate double
return bool

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Increment() public method

public Increment ( int magnitude, double sampleRate ) : bool
magnitude int
sampleRate double
return bool

Increment() public method

public Increment ( string key, int magnitude = 1, double sampleRate = 1.0 ) : bool
key string
magnitude int
sampleRate double
return bool

StatsDClient() public method

public StatsDClient ( string hostname, int port, string keyPrefix = null ) : System
hostname string
port int
keyPrefix string
return System

Timing() public method

public Timing ( string key, long value, double sampleRate = 1.0 ) : bool
key string
value long
sampleRate double
return bool