C# Class Whalin.Caching.Configuration.MemcachedClientConfiguration

Configuration class
Inheritance: IMemcachedClientConfiguration
Afficher le fichier Open project: xianrendzw/LightFramework.Net

Private Properties

Свойство Type Description
IMemcachedClientConfiguration Whalin.Caching.Memcached.SockIOPool

Méthodes publiques

Méthode Description
AddServer ( string address ) : void

Adds a new server to the sockIOPool.

AddServer ( string host, int port ) : void

Adds a new server to the sockIOPool.

MemcachedClientConfiguration ( ) : System

Initializes a new instance of the T:MemcachedClientConfiguration class.

Private Methods

Méthode Description
IMemcachedClientConfiguration ( ) : SockIOPool

Method Details

AddServer() public méthode

Adds a new server to the sockIOPool.
public AddServer ( string address ) : void
address string The address and the port of the server in the format 'host:port'.
Résultat void

AddServer() public méthode

Adds a new server to the sockIOPool.
public AddServer ( string host, int port ) : void
host string
port int The port number of the memcached instance.
Résultat void

MemcachedClientConfiguration() public méthode

Initializes a new instance of the T:MemcachedClientConfiguration class.
public MemcachedClientConfiguration ( ) : System
Résultat System