public class MemCacheDaemon extends Object implements InitializingBean, DisposableBean, BeanNameAware, ServiceDetailsProvider, ServiceMonitorsProvider
Modifier and Type | Field and Description |
---|---|
protected 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 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 BeanNameAware
public void setProtocol(String protocol)
public void setThreaded(boolean threaded)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface 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 DisposableBean
Exception
public ServiceDetails[] getServicesDetails()
ServiceDetailsProvider
getServicesDetails
in interface ServiceDetailsProvider
public ServiceMonitors[] getServicesMonitors()
ServiceMonitorsProvider
getServicesMonitors
in interface ServiceMonitorsProvider
Copyright © GigaSpaces.