public interface SamplerSpec
| Modifier and Type | Method and Description |
|---|---|
default Set<ResourceAction> |
getInputSourceResources() |
default String |
getType()
Returns the type of this sampler type.
|
SamplerResponse |
sample() |
SamplerResponse sample()
@Nullable default String getType()
@Nonnull default Set<ResourceAction> getInputSourceResources() throws UOE
InputSource that the sampler spec uses.
Empty set is returned if the sampler spec does not use any. Users can be given permission to access
particular types of input sources but not others, using the
AuthConfig.enableInputSourceSecurity config.UOECopyright © 2011–2023 The Apache Software Foundation. All rights reserved.