public class BarrierBeanProcessor extends Object
Modifier and Type | Method and Description |
---|---|
void |
awaitBarrier(String barrierName) |
Map<String,List<BarrierBean>> |
getBarrierBeans() |
Map<String,Set<String>> |
getBeanBarriers() |
static BarrierBeanProcessor |
getInstance() |
void |
registerBarrierBeans(Properties barrierBeanProperties)
This method can be run multiple times for multiple barrierBean property sets.
|
void |
registerBarrierBeans(String barrierBeanFilePath)
This method can be run multiple times for multiple barrierBean files.
|
public static BarrierBeanProcessor getInstance()
public void registerBarrierBeans(String barrierBeanFilePath)
BarrierBeanPostProcessor
barrierBeanFilePath
- public void registerBarrierBeans(Properties barrierBeanProperties)
BarrierBeanPostProcessor
barrierBeanFilePath
- public Map<String,List<BarrierBean>> getBarrierBeans()
BarrierBean
spublic Map<String,Set<String>> getBeanBarriers()
public void awaitBarrier(String barrierName)
Copyright © 2017 Hitachi Vantara. All rights reserved.