Trait

stark.utils.services

ZkClientSupport

Related Doc: package services

Permalink

trait ZkClientSupport extends ServiceWaitingInitSupport

zookeeper的客户端

Self Type
ZookeeperTemplate
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZkClientSupport
  2. ServiceWaitingInitSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed class WatchMode extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object OnceWatch extends ZookeeperTemplate.WatchMode with Product with Serializable

    Permalink
  5. object PermanentWatch extends ZookeeperTemplate.WatchMode with Product with Serializable

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def awaitServiceInit(): Unit

    Permalink

    等待1分钟,服务初始化

    等待1分钟,服务初始化

    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  8. def awaitServiceInit(time: Long, unit: TimeUnit): Boolean

    Permalink

    等待服务初始化

    等待服务初始化

    time

    等待时间

    unit

    时间单元

    returns

    是否初始化完成

    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def serviceInitialized(): Unit

    Permalink

    标记服务已经初始化完毕

    标记服务已经初始化完毕

    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  20. def shutdown(): Unit

    Permalink

    关闭对象

  21. def start(hub: RegistryShutdownHub): Unit

    Permalink

    启动对象实例

    启动对象实例

    Annotations
    @PostConstruct()
  22. def startCheckFailed(periodExecutor: PeriodicExecutor): Unit

    Permalink

    启动对异常数据的检测,实现FailBack功能

    启动对异常数据的检测,实现FailBack功能

    periodExecutor

    定时执行器

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def throwExceptionIfServiceInitialized(): Unit

    Permalink

    判断服务是否已经初始化

    判断服务是否已经初始化

    Attributes
    protected
    Definition Classes
    ServiceWaitingInitSupport
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def zkClient: CuratorFramework

    Permalink

    得到Zookeeper的客户端

    得到Zookeeper的客户端

    returns

    zookeeper client

Inherited from ServiceWaitingInitSupport

Inherited from AnyRef

Inherited from Any

Ungrouped