public class DefaultCuratorFrameworkFactory extends Object implements org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.CuratorFramework>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
DefaultCuratorFrameworkFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
org.apache.curator.framework.CuratorFramework |
getClient() |
Integer |
getConnectionTimeoutMs() |
String |
getConnectString() |
byte[] |
getDefaultData() |
org.apache.curator.framework.CuratorFramework |
getObject() |
Class<?> |
getObjectType() |
org.apache.curator.RetryPolicy |
getRetryPolicy() |
Integer |
getSessionTimeoutMs() |
boolean |
isCanBeReadOnly() |
boolean |
isSingleton() |
void |
setCanBeReadOnly(boolean canBeReadOnly) |
void |
setClient(org.apache.curator.framework.CuratorFramework client) |
void |
setConnectionTimeoutMs(Integer connectionTimeoutMs) |
void |
setConnectString(String connectString) |
void |
setDefaultData(byte[] defaultData) |
void |
setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy) |
void |
setSessionTimeoutMs(Integer sessionTimeoutMs) |
public void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic org.apache.curator.framework.CuratorFramework getObject()
throws Exception
getObject 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.CuratorFramework>Exceptionpublic Class<?> getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.CuratorFramework>public boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.CuratorFramework>public org.apache.curator.framework.CuratorFramework getClient()
public void setClient(org.apache.curator.framework.CuratorFramework client)
public String getConnectString()
public void setConnectString(String connectString)
public org.apache.curator.RetryPolicy getRetryPolicy()
public void setRetryPolicy(org.apache.curator.RetryPolicy retryPolicy)
public Integer getSessionTimeoutMs()
public void setSessionTimeoutMs(Integer sessionTimeoutMs)
public Integer getConnectionTimeoutMs()
public void setConnectionTimeoutMs(Integer connectionTimeoutMs)
public byte[] getDefaultData()
public void setDefaultData(byte[] defaultData)
public boolean isCanBeReadOnly()
public void setCanBeReadOnly(boolean canBeReadOnly)
Copyright © 2016. All rights reserved.