changeCapacity

open override fun changeCapacity(value: Int)(source)

Sets the current capacity. An increase that creates newly available units notifies the availability listeners so a waiting queue can be served. A decrease takes effect as busy units are released (IGNORE-rule semantics): in-service units are not interrupted.