protected static final class Engine.IndexThrottle
extends java.lang.Object
acquireThrottle method to block on a lock when throttling
is enabled| Modifier | Constructor and Description |
|---|---|
protected |
IndexThrottle() |
| Modifier and Type | Method and Description |
|---|---|
Releasable |
acquireThrottle() |
void |
activate()
Activate throttling, which switches the lock to be a real lock
|
void |
deactivate()
Deactivate throttling, which switches the lock to be an always-acquirable NoOpLock
|
public Releasable acquireThrottle()
public void activate()
public void deactivate()