Package io.grpc.benchmarks.qps
Interface Configuration.Builder<T extends Configuration>
-
- Type Parameters:
T- The type ofConfigurationthat this builder creates.
- All Known Implementing Classes:
AbstractConfigurationBuilder
- Enclosing interface:
- Configuration
public static interface Configuration.Builder<T extends Configuration>Builder for theConfiguration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tbuild(java.lang.String[] args)Builds theConfigurationfrom the given command-line arguments.voidprintUsage()Prints the command-line usage for the application based on the options supported by this builder.
-
-
-
Method Detail
-
build
T build(java.lang.String[] args)
Builds theConfigurationfrom the given command-line arguments.- Throws:
java.lang.IllegalArgumentException- if unable to build the configuration for any reason.
-
printUsage
void printUsage()
Prints the command-line usage for the application based on the options supported by this builder.
-
-