public static class SdkHarnessOptions.DefaultMaxCacheMemoryUsageMbFactory extends java.lang.Object implements DefaultValueFactory<java.lang.Integer>
DefaultValueFactory
which constructs an instance of the class specified by maxCacheMemoryUsageMbClass
to compute the maximum amount of
memory to allocate to the process wide cache within an SDK harness instance.Constructor and Description |
---|
DefaultMaxCacheMemoryUsageMbFactory() |
Modifier and Type | Method and Description |
---|---|
@NonNegative java.lang.Integer |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory . |
public @NonNegative java.lang.Integer create(PipelineOptions options)
DefaultValueFactory
Default.InstanceFactory
.create
in interface DefaultValueFactory<java.lang.Integer>
options
- The current pipeline options.