Package | Description |
---|---|
org.janusgraph.diskstorage.util.backpressure | |
org.janusgraph.diskstorage.util.backpressure.builder |
Modifier and Type | Class and Description |
---|---|
class |
PassAllQueryBackPressure
Query back pressure implementation to pass all acquires and releases
|
class |
SemaphoreProtectedReleaseQueryBackPressure
Query back pressure implementation which uses Semaphore to control back pressure and has protection
in place to not generate more `permits` than `backPressureLimit`.
This implementation is similar to SemaphoreQueryBackPressure with the exception that `releaseAfterQuery`
calls are asynchronous (non-blocking) and protected against generating more `permits` than `backPressureLimit`. |
class |
SemaphoreQueryBackPressure
Query back pressure implementation which uses Semaphore to control back pressure.
Warning: This implementation assumes that for each `acquireBeforeQuery` call there will be exactly one `releaseAfterQuery` call. |
Modifier and Type | Method and Description |
---|---|
static QueryBackPressure |
QueryBackPressureBuilder.build(Configuration configuration,
String className,
int backPressureLimit) |
Copyright © 2012–2024. All rights reserved.