public class CapacityManagerTest extends Object
CapacityManager| Constructor and Description | 
|---|
| CapacityManagerTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | acquire()Tests that capacity can be acquired when available and can not be
 once exhausted. | 
| void | noOp()Tests that, if created with negative capacity, CapacityManager effectively operates
 in a no-op mode. | 
| void | release()Tests that capacity can be properly released, making additional capacity
 available to be acquired. | 
public void acquire()
public void release()
public void noOp()
Copyright © 2023. All rights reserved.