WaitStrategyRegistrar
interface WaitStrategyRegistrar
Registry for managing wait strategies. Provides thread-safe operations for registering, unregistering, and retrieving wait strategies by their command IDs.
Inheritors
Functions
Link copied to clipboard
Retrieves a wait strategy by its command ID.
Link copied to clipboard
Forwards a wait signal to the appropriate wait strategy. Retrieves the strategy by signal's wait command ID and calls next() on it.
Link copied to clipboard
Registers a wait strategy if not already present. Similar to Map.putIfAbsent - returns existing strategy if one exists for the same ID.
Link copied to clipboard
Unregisters a wait strategy by its command ID. Similar to Map.remove - removes and returns the strategy if it exists.