org.openspaces.memcached
Class MemCacheDaemon
java.lang.Object
org.openspaces.memcached.MemCacheDaemon
- All Implemented Interfaces:
- ServiceDetailsProvider, ServiceMonitorsProvider, Aware, BeanNameAware, DisposableBean, InitializingBean
public class MemCacheDaemon
- extends Object
- implements InitializingBean, DisposableBean, BeanNameAware, ServiceDetailsProvider, ServiceMonitorsProvider
- Author:
- kimchy (shay.banon)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
memcachedVersion
public static final String memcachedVersion
- See Also:
- Constant Field Values
MemCacheDaemon
public MemCacheDaemon()
setSpace
public void setSpace(GigaSpace space)
setHost
public void setHost(String host)
setPort
public void setPort(int port)
setPortRetries
public void setPortRetries(int portRetries)
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface BeanNameAware
setProtocol
public void setProtocol(String protocol)
setThreaded
public void setThreaded(boolean threaded)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
createMemcachedBinaryPipelineFactory
protected org.jboss.netty.channel.ChannelPipelineFactory createMemcachedBinaryPipelineFactory(SpaceCache cache,
String memcachedVersion,
boolean verbose,
int idleTime,
org.jboss.netty.channel.group.DefaultChannelGroup allChannels)
createMemcachedPipelineFactory
protected org.jboss.netty.channel.ChannelPipelineFactory createMemcachedPipelineFactory(SpaceCache cache,
String memcachedVersion,
boolean verbose,
int idleTime,
int receiveBufferSize,
org.jboss.netty.channel.group.DefaultChannelGroup allChannels)
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
getServicesDetails
public ServiceDetails[] getServicesDetails()
- Description copied from interface:
ServiceDetailsProvider
- Retruns one or more service details that the service exposes.
- Specified by:
getServicesDetails
in interface ServiceDetailsProvider
getServicesMonitors
public ServiceMonitors[] getServicesMonitors()
- Description copied from interface:
ServiceMonitorsProvider
- Retruns one or more service details that the service exposes.
- Specified by:
getServicesMonitors
in interface ServiceMonitorsProvider
Copyright © GigaSpaces.