类 ShardCountFactory

java.lang.Object
spring.turbo.module.dataaccessing.zookeeper.ShardCountFactory
所有已实现的接口:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.shared.SharedCount>, org.springframework.beans.factory.InitializingBean

public class ShardCountFactory extends Object implements org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.shared.SharedCount>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
从以下版本开始:
1.0.15
作者:
应卓
  • 构造器详细资料

    • ShardCountFactory

      public ShardCountFactory(org.apache.curator.framework.CuratorFramework zkCli, String path, int seedValue)
  • 方法详细资料

    • getObject

      @Nullable public org.apache.curator.framework.recipes.shared.SharedCount getObject()
      指定者:
      getObject 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.shared.SharedCount>
    • getObjectType

      @Nullable public Class<?> getObjectType()
      指定者:
      getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.shared.SharedCount>
    • isSingleton

      public boolean isSingleton()
      指定者:
      isSingleton 在接口中 org.springframework.beans.factory.FactoryBean<org.apache.curator.framework.recipes.shared.SharedCount>
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      指定者:
      afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
      抛出:
      Exception
    • destroy

      public void destroy()
      指定者:
      destroy 在接口中 org.springframework.beans.factory.DisposableBean