类 LeaderLatchFactory
java.lang.Object
spring.turbo.module.dataaccessing.zookeeper.LeaderLatchFactory
- 所有已实现的接口:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.leader.LeaderLatch>,org.springframework.beans.factory.InitializingBean
public class LeaderLatchFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.leader.LeaderLatch>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
- 从以下版本开始:
- 1.0.15
- 作者:
- 应卓
-
字段概要
从接口继承的字段 org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
构造器概要
构造器构造器说明LeaderLatchFactory(ZkProperties zkProps, org.apache.curator.framework.CuratorFramework zkCli) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.FactoryBean
isSingleton
-
构造器详细资料
-
LeaderLatchFactory
public LeaderLatchFactory(ZkProperties zkProps, org.apache.curator.framework.CuratorFramework zkCli)
-
-
方法详细资料
-
getObject
@Nullable public org.apache.curator.framework.recipes.leader.LeaderLatch getObject()- 指定者:
getObject在接口中org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.leader.LeaderLatch>
-
getObjectType
- 指定者:
getObjectType在接口中org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.leader.LeaderLatch>
-
afterPropertiesSet
- 指定者:
afterPropertiesSet在接口中org.springframework.beans.factory.InitializingBean- 抛出:
Exception
-
destroy
public void destroy()- 指定者:
destroy在接口中org.springframework.beans.factory.DisposableBean
-