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 InitializingBean
Exception
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean
public boolean isSingleton()
isSingleton
in interface FactoryBean
Copyright © GigaSpaces.