public class MemCacheDaemon extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanNameAware, ServiceDetailsProvider, ServiceMonitorsProvider
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
static String |
memcachedVersion |
Constructor and Description |
---|
MemCacheDaemon() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected org.jboss.netty.channel.ChannelPipelineFactory |
createMemcachedBinaryPipelineFactory(SpaceCache cache,
String memcachedVersion,
boolean verbose,
int idleTime,
org.jboss.netty.channel.group.DefaultChannelGroup allChannels) |
protected org.jboss.netty.channel.ChannelPipelineFactory |
createMemcachedPipelineFactory(SpaceCache cache,
String memcachedVersion,
boolean verbose,
int idleTime,
int receiveBufferSize,
org.jboss.netty.channel.group.DefaultChannelGroup allChannels) |
void |
destroy() |
ServiceDetails[] |
getServicesDetails()
Retruns one or more service details that the service exposes.
|
ServiceMonitors[] |
getServicesMonitors()
Retruns one or more service details that the service exposes.
|
void |
setBeanName(String name) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setPortRetries(int portRetries) |
void |
setProtocol(String protocol) |
void |
setSpace(GigaSpace space) |
void |
setThreaded(boolean threaded) |
protected final org.apache.commons.logging.Log logger
public static final String memcachedVersion
public void setSpace(GigaSpace space)
public void setHost(String host)
public void setPort(int port)
public void setPortRetries(int portRetries)
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public void setProtocol(String protocol)
public void setThreaded(boolean threaded)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected org.jboss.netty.channel.ChannelPipelineFactory createMemcachedBinaryPipelineFactory(SpaceCache cache, String memcachedVersion, boolean verbose, int idleTime, org.jboss.netty.channel.group.DefaultChannelGroup allChannels)
protected org.jboss.netty.channel.ChannelPipelineFactory createMemcachedPipelineFactory(SpaceCache cache, String memcachedVersion, boolean verbose, int idleTime, int receiveBufferSize, org.jboss.netty.channel.group.DefaultChannelGroup allChannels)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public ServiceDetails[] getServicesDetails()
ServiceDetailsProvider
getServicesDetails
in interface ServiceDetailsProvider
public ServiceMonitors[] getServicesMonitors()
ServiceMonitorsProvider
getServicesMonitors
in interface ServiceMonitorsProvider
Copyright © GigaSpaces.