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 boolean
isClosed
-
Constructor Summary
Constructors Constructor Description TriggerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
abstract AutoScaling.Trigger
create(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-