Class AutoScaling.TriggerFactory
- java.lang.Object
-
- org.apache.solr.cloud.autoscaling.AutoScaling.TriggerFactory
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
AutoScaling.TriggerFactoryImpl
- Enclosing class:
- AutoScaling
public abstract static class AutoScaling.TriggerFactory extends Object implements Closeable
Factory to produce instances ofAutoScaling.Trigger.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisClosed
-
Constructor Summary
Constructors Constructor Description TriggerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()abstract AutoScaling.Triggercreate(TriggerEventType type, String name, Map<String,Object> props)
-
-
-
Method Detail
-
create
public abstract AutoScaling.Trigger create(TriggerEventType type, String name, Map<String,Object> props) throws TriggerValidationException
- Throws:
TriggerValidationException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-