Class ZookeeperDatacenterReadinessRepository

java.lang.Object
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
pl.allegro.tech.hermes.management.infrastructure.readiness.ZookeeperDatacenterReadinessRepository
All Implemented Interfaces:
ReadinessRepository

public class ZookeeperDatacenterReadinessRepository extends pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository implements ReadinessRepository
  • Field Summary

    Fields inherited from class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository

    paths
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZookeeperDatacenterReadinessRepository(org.apache.curator.framework.CuratorFramework curator, com.fasterxml.jackson.databind.ObjectMapper mapper, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths paths)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setReadiness(boolean isReady)
     

    Methods inherited from class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository

    childrenOf, create, create, createInTransaction, createRecursively, ensurePathExists, overwrite, overwrite, pathExists, readFrom, readFrom, readFrom, readFrom, readWithStatFrom, remove, touch

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZookeeperDatacenterReadinessRepository

      public ZookeeperDatacenterReadinessRepository(org.apache.curator.framework.CuratorFramework curator, com.fasterxml.jackson.databind.ObjectMapper mapper, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths paths)
  • Method Details