Interface NodeManagementConfig
- All Known Subinterfaces:
NodeManagementConfig.BuildableNodeManagementConfig
@ConfigMapping(prefix="polaris.node")
public interface NodeManagementConfig
Node management configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.polaris.ids.api.IdGeneratorSpecConfiguration needed to build an ID generator.Duration of a node-lease.intnumNodes()Maximum number of concurrently active Polaris nodes.Time window before the end of a node lease when the lease will be renewed.
-
Field Details
-
DEFAULT_LEASE_DURATION
- See Also:
-
DEFAULT_RENEWAL_PERIOD
- See Also:
-
DEFAULT_NUM_NODES
- See Also:
-
-
Method Details
-
leaseDuration
Duration of a node-lease. -
renewalPeriod
Time window before the end of a node lease when the lease will be renewed. -
numNodes
@WithDefault("1024") int numNodes()Maximum 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. -
idGeneratorSpec
org.apache.polaris.ids.api.IdGeneratorSpec idGeneratorSpec()Configuration needed to build an ID generator. This configuration cannot be changed after one Polaris node has been successfully started. This specification will be ignored if a persisted one exists, but a warning shall be logged if both are different.
-