GigaSpaces XAP 9.7.2 API

org.openspaces.memcached
Class MemCacheDaemon

java.lang.Object
  extended by 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)

Field Summary
protected  Log logger
           
static String memcachedVersion
           
 
Constructor Summary
MemCacheDaemon()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger

memcachedVersion

public static final String memcachedVersion
See Also:
Constant Field Values
Constructor Detail

MemCacheDaemon

public MemCacheDaemon()
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.