public class Config
extends java.lang.Object
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
Config |
disableOverflow() |
int |
getHeapPercentageThreshold() |
java.util.Optional<java.lang.String> |
getStorageLocation() |
boolean |
isOverflowEnabled() |
boolean |
isSerializationStatsEnabled() |
static Config |
withDefaults() |
Config |
withHeapPercentageThreshold(int threshold)
when heap - after full GC - is above this threshold, OdbGraph will start to clear some references,
i.e.
|
static Config |
withoutOverflow() |
Config |
withSerializationStatsEnabled() |
Config |
withStorageLocation(java.lang.String path) |
public static Config withDefaults()
public static Config withoutOverflow()
public Config disableOverflow()
public Config withHeapPercentageThreshold(int threshold)
public Config withStorageLocation(java.lang.String path)
public Config withSerializationStatsEnabled()
public boolean isOverflowEnabled()
public int getHeapPercentageThreshold()
public java.util.Optional<java.lang.String> getStorageLocation()
public boolean isSerializationStatsEnabled()