C# Class Graphite.StatsD.StatsDClient

Inheritance: IDisposable
Afficher le fichier Open project: ragnard/Graphite.NET Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
MaybeSend ( double sampleRate ) : bool
MaybeSend ( string stat, double sampleRate ) : bool
Send ( string message ) : bool

Method Details

Decrement() public méthode

public Decrement ( ) : bool
Résultat bool

Decrement() public méthode

public Decrement ( int magnitude ) : bool
magnitude int
Résultat bool

Decrement() public méthode

public Decrement ( int magnitude, double sampleRate ) : bool
magnitude int
sampleRate double
Résultat bool

Decrement() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Increment() public méthode

public Increment ( int magnitude, double sampleRate ) : bool
magnitude int
sampleRate double
Résultat bool

Increment() public méthode

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

StatsDClient() public méthode

public StatsDClient ( string hostname, int port, string keyPrefix = null ) : System
hostname string
port int
keyPrefix string
Résultat System

Timing() public méthode

public Timing ( string key, long value, double sampleRate = 1.0 ) : bool
key string
value long
sampleRate double
Résultat bool