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