Class ZookeeperDatacenterReadinessRepository
java.lang.Object
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
pl.allegro.tech.hermes.management.infrastructure.readiness.ZookeeperDatacenterReadinessRepository
- All Implemented Interfaces:
DatacenterReadinessRepository
public class ZookeeperDatacenterReadinessRepository
extends pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
implements DatacenterReadinessRepository
-
Field Summary
Fields inherited from class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
paths -
Constructor Summary
ConstructorsConstructorDescriptionZookeeperDatacenterReadinessRepository(org.apache.curator.framework.CuratorFramework curator, com.fasterxml.jackson.databind.ObjectMapper mapper, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths paths) -
Method Summary
Modifier and TypeMethodDescriptionList<pl.allegro.tech.hermes.api.DatacenterReadiness>voidsetReadiness(List<pl.allegro.tech.hermes.api.DatacenterReadiness> datacenterReadiness) 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
-
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
-
getReadiness
- Specified by:
getReadinessin interfaceDatacenterReadinessRepository
-
setReadiness
- Specified by:
setReadinessin interfaceDatacenterReadinessRepository
-