public static class AutoScaling.TriggerFactory extends Object implements Closeable
| Constructor and Description |
|---|
TriggerFactory(CoreContainer coreContainer,
ZkController zkController) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AutoScaling.Trigger |
create(TriggerEventType type,
String name,
Map<String,Object> props) |
public TriggerFactory(CoreContainer coreContainer, ZkController zkController)
public AutoScaling.Trigger create(TriggerEventType type, String name, Map<String,Object> props)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.