expectOnConfigurationChange

Blocks until a single configuration change has been received.

Configuration changes are sticky; if any configuration changes were received prior to calling this method and resetOnConfigurationChange has not been called, this method will return immediately.

Parameters

timeout

maximum amount of time (in ms) to wait for a configuration change

Throws

if the lock is interrupted