Package io.aeron.config
Annotation Interface Config
Annotation to indicate this is a config option.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumUsed to indicate whether the default value is a time value.static enumType is used to indicate whether the annotation is marking a property name or a default value. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleandoubleintlongbooleanbooleanboolean
-
Element Details
-
configType
Config.Type configType- Returns:
- what type of field is being annotated.
- Default:
- UNDEFINED
-
id
String id- Returns:
- the unique id that ties together all the usages of the annotation across fields/methods.
- Default:
- ""
-
uriParam
String uriParam- Returns:
- the uri parameter (if any) associated with this option.
- Default:
- ""
-
existsInC
boolean existsInC- Returns:
- whether this config option exists in the C code.
- Default:
- true
-
expectedCEnvVarFieldName
String expectedCEnvVarFieldName- Returns:
- the expected C #define name that will be set with the env variable name for this option.
- Default:
- ""
-
expectedCEnvVar
String expectedCEnvVar- Returns:
- the expected C env variable name for this option.
- Default:
- ""
-
expectedCDefaultFieldName
String expectedCDefaultFieldName- Returns:
- the expected C #define name that will be set with the default value for this option.
- Default:
- ""
-
expectedCDefault
String expectedCDefault- Returns:
- the expected C default value for this option.
- Default:
- ""
-
skipCDefaultValidation
boolean skipCDefaultValidation- Returns:
- whether to skip validation of the default in C.
- Default:
- false
-
defaultType
DefaultType defaultType- Returns:
- what's the type of default (string, int, etc...).
- Default:
- UNDEFINED
-
defaultBoolean
boolean defaultBoolean- Returns:
- specify the default boolean, if defaultType is BOOLEAN.
- Default:
- false
-
defaultInt
int defaultInt- Returns:
- specify the default int, if defaultType is INT.
- Default:
- 0
-
defaultLong
long defaultLong- Returns:
- specify the default long, if defaultType is LONG.
- Default:
- 0L
-
defaultDouble
double defaultDouble- Returns:
- specify the default double, if defaultType is DOUBLE.
- Default:
- 0.0
-
defaultString
String defaultString- Returns:
- specify the default string, if defaultType is STRING.
- Default:
- ""
-
defaultValueString
String defaultValueString- Returns:
- specify a string that acts as a stand-in for the default value when generating documentation.
- Default:
- ""
-
isTimeValue
Config.IsTimeValue isTimeValue- Returns:
- whether the default value is a time value.
- Default:
- UNDEFINED
-
timeUnit
TimeUnit timeUnit- Returns:
- the time unit if the default value is a time value of some sort.
- Default:
- NANOSECONDS
-
hasContext
boolean hasContext- Returns:
- whether this config option has a 'context'.
- Default:
- true
-