Class BeaconCacheConfiguration
- java.lang.Object
-
- com.dynatrace.openkit.core.configuration.BeaconCacheConfiguration
-
public class BeaconCacheConfiguration extends java.lang.ObjectConfiguration for beacon cache.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BeaconCacheConfigurationfrom(DynatraceOpenKitBuilder builder)Create aBeaconCacheConfigurationfrom givenDynatraceOpenKitBuilder.longgetCacheSizeLowerBound()Get lower memory limit for cache.longgetCacheSizeUpperBound()Get upper memory limit for cache.longgetMaxRecordAge()Get maximum record age.
-
-
-
Method Detail
-
from
public static BeaconCacheConfiguration from(DynatraceOpenKitBuilder builder)
Create aBeaconCacheConfigurationfrom givenDynatraceOpenKitBuilder.- Parameters:
builder- The OpenKit builder for which to create aBeaconCacheConfiguration.- Returns:
- Newly created
BeaconCacheConfigurationornullif given argument isnull
-
getMaxRecordAge
public long getMaxRecordAge()
Get maximum record age.
-
getCacheSizeLowerBound
public long getCacheSizeLowerBound()
Get lower memory limit for cache.
-
getCacheSizeUpperBound
public long getCacheSizeUpperBound()
Get upper memory limit for cache.
-
-