Interface NodeManagementConfig.BuildableNodeManagementConfig
- All Superinterfaces:
NodeManagementConfig
- Enclosing interface:
NodeManagementConfig
@PolarisImmutable
public static interface NodeManagementConfig.BuildableNodeManagementConfig
extends NodeManagementConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
NodeManagementConfig.BuildableNodeManagementConfig -
Field Summary
Fields inherited from interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
DEFAULT_LEASE_DURATION, DEFAULT_NUM_NODES, DEFAULT_RENEWAL_PERIOD -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.polaris.persistence.nosql.nodeids.api.ImmutableBuildableNodeManagementConfig.Builderbuilder()default DurationDuration of a node-lease.default intnumNodes()Maximum number of concurrently active Polaris nodes.default DurationTime window before the end of a node lease when the lease will be renewed.Methods inherited from interface org.apache.polaris.persistence.nosql.nodeids.api.NodeManagementConfig
idGeneratorSpec
-
Method Details
-
builder
static org.apache.polaris.persistence.nosql.nodeids.api.ImmutableBuildableNodeManagementConfig.Builder builder() -
leaseDuration
Description copied from interface:NodeManagementConfigDuration of a node-lease.- Specified by:
leaseDurationin interfaceNodeManagementConfig
-
renewalPeriod
Description copied from interface:NodeManagementConfigTime window before the end of a node lease when the lease will be renewed.- Specified by:
renewalPeriodin interfaceNodeManagementConfig
-
numNodes
default int numNodes()Description copied from interface:NodeManagementConfigMaximum number of concurrently active Polaris nodes. Do not change this value or the ID generator spec, it is a rather internal property. See ID generator spec below.- Specified by:
numNodesin interfaceNodeManagementConfig
-