public class ZooKeeperLeaderSelectorFactoryBean extends Object implements InitializingBean, FactoryBean
| Modifier and Type | Field and Description |
|---|---|
protected com.gigaspaces.cluster.activeelection.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) |
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 InitializingBeanExceptionpublic Object getObject() throws Exception
getObject in interface FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBeanpublic boolean isSingleton()
isSingleton in interface FactoryBeanCopyright © GigaSpaces.