SemaphoreConfig: improved javadoc + validations