public static class StreamThrottler.Factory<S extends ScopeType<S>> extends Object implements SharedResourceFactory<StreamThrottler<S>,EmptyKey,S>
SharedResourceFactory that creates StreamThrottler.| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
SharedResourceFactoryResponse<StreamThrottler<S>> |
createResource(SharedResourcesBroker<S> broker,
ScopedConfigView<S,EmptyKey> config) |
S |
getAutoScope(SharedResourcesBroker<S> broker,
ConfigView<S,EmptyKey> config) |
String |
getName() |
public static final String NAME
public String getName()
getName in interface SharedResourceFactory<StreamThrottler<S extends ScopeType<S>>,EmptyKey,S extends ScopeType<S>>public SharedResourceFactoryResponse<StreamThrottler<S>> createResource(SharedResourcesBroker<S> broker, ScopedConfigView<S,EmptyKey> config) throws NotConfiguredException
createResource in interface SharedResourceFactory<StreamThrottler<S extends ScopeType<S>>,EmptyKey,S extends ScopeType<S>>NotConfiguredExceptionpublic S getAutoScope(SharedResourcesBroker<S> broker, ConfigView<S,EmptyKey> config)
getAutoScope in interface SharedResourceFactory<StreamThrottler<S extends ScopeType<S>>,EmptyKey,S extends ScopeType<S>>