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()
Copyright © 2009–2016. All rights reserved.