C# (CSharp) Whalin.Caching.Memcached Namespace

Classes

Name Description
CRCTool Tool to calculate and add CRC codes to a string Code found posted on CodeProject.com: http://www.codeproject.com/csharp/marcelcrcencoding.asp *************************************************************************** Copyright (c) 2003 Thoraxcentrum, Erasmus MC, The Netherlands. Written by Marcel de Wijs with help from a lot of others, especially Stefan Nelwan This code is for free. I ported it from several different sources to C#. For comments: [email protected] ***************************************************************************
IteratorIsolateCollection Gives us a handy way to modify a collection while we're iterating through it.
IteratorIsolateCollection.IteratorIsolateEnumerator
MemcachedClient This is a C# memcachedClient for the memcached server available from http://www.danga.com/memcached/. Supports setting, adding, replacing, deleting compressed/uncompressed and serialized (can be stored as string if object is native class) objects to memcached. Now pulls SockIO objects from SockIOPool, which is a connection sockIOPool. The server failover has also been moved into the SockIOPool class. This sockIOPool needs to be initialized prior to the memcachedClient working. See javadocs from SockIOPool. (This will have to be fixed for our C# version. Most of this code is straight ported over from Java.)
NativeHandler
NetworkStreamIgnoreSeek
SockIO Memcached C# memcachedClient, utility class for Socket IO. This class is a wrapper around a Socket and its streams.
SockIO.ConnectThread Thread to attempt connection. This will be polled by the main thread. We run the risk of filling up w/ threads attempting connections if network is down. However, the falling off mech in the main code should limit this.
SockIOPool This class is a connection sockIOPool for maintaning a sockIOPool of persistent connections to memcached servers. The sockIOPool must be initialized prior to use. This should typically be early on in the lifecycle of the application instance.
SockIOPool.MaintenanceThread Class which extends thread and handles maintenance of the sockIOPool.