Interface RedisConfig
- All Known Implementing Classes:
Redis
public interface RedisConfig
Interface that defines helper configuration methods for helper operations.
Validates that all required methods are implemented.
-
Method Summary
Modifier and TypeMethodDescriptionReturns and logs (at INFO level) a human-readable summary of all resolved configuration values.setAwaitMs(int awaitMs) Configures the global await timeout for assertions and operations that use await.
-
Method Details
-
setAwaitMs
Configures the global await timeout for assertions and operations that use await.- Parameters:
awaitMs- await timeout in milliseconds- Returns:
- this instance for method chaining
- Throws:
IllegalArgumentException- if the provided timeout is invalid or less than 200 milliseconds
-
getConfigSummary
String getConfigSummary()Returns and logs (at INFO level) a human-readable summary of all resolved configuration values.The summary includes values loaded from the YAML configuration file as well as any fields overridden programmatically after construction. Optional fields that were not present in the configuration and resolved via default values may also be included.
- Returns:
- String with summary
-