MemCacheDaemon Class Reference

Collaboration diagram for MemCacheDaemon:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Cache getCache ()
 MemCacheDaemon ()
void setAddr (InetSocketAddress addr)
void setCache (Cache cache)
void setIdleTime (int idleTime)
void setPort (int port)
void setReceiveBufferSize (int receiveBufferSize)
void setSendBufferSize (int sendBufferSize)
void setVerbose (boolean verbose)
void start () throws IOException
void stop ()

Static Public Member Functions

static void setMemcachedVersion (String memcachedVersion)

Static Public Attributes

static String memcachedVersion = "0.3"

Package Attributes

final Logger logger = LoggerFactory.getLogger(MemCacheDaemon.class)

Private Attributes

SocketAcceptor acceptor
InetSocketAddress addr
Cache cache
int idleTime
int port
int receiveBufferSize = 1024000
int sendBufferSize = 1024000
boolean verbose


Detailed Description

The actual daemon - responsible for the binding and configuration of the network configuration.

Constructor & Destructor Documentation

MemCacheDaemon (  ) 


Member Function Documentation

Cache getCache (  ) 

void setAddr ( InetSocketAddress  addr  ) 

void setCache ( Cache  cache  ) 

void setIdleTime ( int  idleTime  ) 

static void setMemcachedVersion ( String  memcachedVersion  )  [static]

void setPort ( int  port  ) 

void setReceiveBufferSize ( int  receiveBufferSize  ) 

void setSendBufferSize ( int  sendBufferSize  ) 

void setVerbose ( boolean  verbose  ) 

void start (  )  throws IOException

Bind the network connection and start the network processing threads.

Exceptions:
IOException 

void stop (  ) 


Member Data Documentation

SocketAcceptor acceptor [private]

InetSocketAddress addr [private]

Cache cache [private]

int idleTime [private]

final Logger logger = LoggerFactory.getLogger(MemCacheDaemon.class) [package]

String memcachedVersion = "0.3" [static]

int port [private]

int receiveBufferSize = 1024000 [private]

int sendBufferSize = 1024000 [private]

boolean verbose [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:31 2012 for Project Wonder by  doxygen 1.5.8