public class CacheServerFactoryBean extends Object implements FactoryBean<com.gemstone.gemfire.cache.server.CacheServer>, InitializingBean, DisposableBean, SmartLifecycle
CacheServer
instances.Constructor and Description |
---|
CacheServerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.gemstone.gemfire.cache.server.CacheServer |
getObject() |
Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
boolean |
isSingleton() |
void |
setAutoStartup(boolean autoStartup) |
void |
setBindAddress(String bindAddress) |
void |
setCache(com.gemstone.gemfire.cache.Cache cache) |
void |
setHostNameForClients(String hostNameForClients) |
void |
setListeners(Set<com.gemstone.gemfire.cache.InterestRegistrationListener> listeners) |
void |
setLoadPollInterval(long loadPollInterval) |
void |
setMaxConnections(int maxConnections) |
void |
setMaxMessageCount(int maxMessageCount) |
void |
setMaxThreads(int maxThreads) |
void |
setMaxTimeBetweenPings(int maxTimeBetweenPings) |
void |
setMessageTimeToLive(int messageTimeToLive) |
void |
setNotifyBySubscription(boolean notifyBySubscription) |
void |
setPort(int port) |
void |
setServerGroups(String[] serverGroups) |
void |
setServerLoadProbe(com.gemstone.gemfire.cache.server.ServerLoadProbe serverLoadProbe) |
void |
setSocketBufferSize(int socketBufferSize) |
void |
setSubscriptionCapacity(int subscriptionCapacity) |
void |
setSubscriptionDiskStore(String diskStoreName) |
void |
setSubscriptionEvictionPolicy(SubscriptionEvictionPolicy evictionPolicy) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public com.gemstone.gemfire.cache.server.CacheServer getObject()
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.server.CacheServer>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.server.CacheServer>
public boolean isSingleton()
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.server.CacheServer>
public void afterPropertiesSet() throws IOException
afterPropertiesSet
in interface InitializingBean
IOException
public boolean isAutoStartup()
isAutoStartup
in interface SmartLifecycle
public void destroy()
destroy
in interface DisposableBean
public void stop(Runnable callback)
stop
in interface SmartLifecycle
public void setAutoStartup(boolean autoStartup)
public void setBindAddress(String bindAddress)
public void setCache(com.gemstone.gemfire.cache.Cache cache)
public void setHostNameForClients(String hostNameForClients)
public void setListeners(Set<com.gemstone.gemfire.cache.InterestRegistrationListener> listeners)
public void setLoadPollInterval(long loadPollInterval)
public void setMaxConnections(int maxConnections)
public void setMaxMessageCount(int maxMessageCount)
public void setMaxThreads(int maxThreads)
public void setMaxTimeBetweenPings(int maxTimeBetweenPings)
public void setMessageTimeToLive(int messageTimeToLive)
public void setNotifyBySubscription(boolean notifyBySubscription)
public void setPort(int port)
public void setServerGroups(String[] serverGroups)
public void setServerLoadProbe(com.gemstone.gemfire.cache.server.ServerLoadProbe serverLoadProbe)
public void setSocketBufferSize(int socketBufferSize)
public void setSubscriptionCapacity(int subscriptionCapacity)
public void setSubscriptionDiskStore(String diskStoreName)
public void setSubscriptionEvictionPolicy(SubscriptionEvictionPolicy evictionPolicy)