Class ConfigurableSupplier<T>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.config.ConfigurableSupplier<T>
-
- Type Parameters:
T
- the type of the supply object.
- All Implemented Interfaces:
Configurable
,Supplier<T>
- Direct Known Subclasses:
ContextAwareComponentSupplier
,ContextAwareTopologySupplier
public abstract class ConfigurableSupplier<T> extends Object implements Supplier<T>, Configurable
A configurable supplier.
-
-
Constructor Summary
Constructors Constructor Description ConfigurableSupplier()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
configure(Conf configs)
Configures this instance with the specifiedConf
.T
get()
abstract T
get(Conf configs)
-
-
-
Method Detail
-
configure
public void configure(Conf configs)
Configures this instance with the specifiedConf
.- Specified by:
configure
in interfaceConfigurable
- Parameters:
configs
- theConf
instance used to configure this instance.
-
-