public static class SdkHarnessOptions.DefaultMaxCacheMemoryUsageMb extends java.lang.Object implements SdkHarnessOptions.MaxCacheMemoryUsageMb
If the Runtime provides a maximum amount of memory (typically specified with -Xmx JVM argument), then maxCacheMemoryUsagePercent
will be used to compute the upper bound as a percentage of the maximum amount of memory.
Otherwise 100 is returned.
| Constructor and Description |
|---|
DefaultMaxCacheMemoryUsageMb() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxCacheMemoryUsage(PipelineOptions options) |
public int getMaxCacheMemoryUsage(PipelineOptions options)
getMaxCacheMemoryUsage in interface SdkHarnessOptions.MaxCacheMemoryUsageMb