public class ZooKeeperLeaderSelectorFactoryBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean
| Modifier and Type | Field and Description |
|---|---|
protected LeaderSelectorConfig |
config |
| Constructor and Description |
|---|
ZooKeeperLeaderSelectorFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setConnectionTimeout(long connectionTimeout) |
void |
setRetries(int retries) |
void |
setSessionTimeout(long sessionTimeout) |
void |
setSleepMsBetweenRetries(int sleepMsBetweenRetries) |
protected LeaderSelectorConfig config
public void setSessionTimeout(long sessionTimeout)
public void setConnectionTimeout(long connectionTimeout)
public void setRetries(int retries)
public void setSleepMsBetweenRetries(int sleepMsBetweenRetries)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © GigaSpaces.