public class MemoryPressureChecker extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allow(float memoryThreshold,
MemoryProvider provider) |
static boolean |
allowInboundRequests(ApiQueryAdapterConfiguration config,
MemoryProvider provider) |
static boolean |
allowOutboundRequests(ApiQueryAdapterConfiguration config,
MemoryProvider provider) |
static MemoryProvider |
getDefaultMemoryProvider() |
public static boolean allow(float memoryThreshold,
MemoryProvider provider)
public static boolean allowInboundRequests(ApiQueryAdapterConfiguration config, MemoryProvider provider)
public static boolean allowOutboundRequests(ApiQueryAdapterConfiguration config, MemoryProvider provider)
public static MemoryProvider getDefaultMemoryProvider()
Copyright © 2023. All rights reserved.