Interface DataStoreProperties
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
DataStorePropertiesContainer
@Generated("mdsal-binding-generator") public interface DataStoreProperties extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module distributed-datastore-provider
grouping data-store-properties { leaf shard-transaction-idle-timeout-in-minutes { default 10; type non-zero-uint32-type; } leaf shard-snapshot-batch-count { default 20000; type non-zero-uint32-type; } leaf shard-snapshot-data-threshold-percentage { default 12; type percentage; } leaf shard-snapshot-data-threshold { default 0; type uint32 { range 0..max; } } leaf shard-heartbeat-interval-in-millis { default 500; type heartbeat-interval-type; } leaf shard-election-timeout-factor { default 20; type non-zero-uint32-type; } leaf operation-timeout-in-seconds { default 5; type operation-timeout-type; } leaf shard-journal-recovery-log-batch-size { default 1; type non-zero-uint32-type; } leaf shard-transaction-commit-timeout-in-seconds { default 30; type non-zero-uint32-type; } leaf shard-transaction-commit-queue-capacity { default 50000; type non-zero-uint32-type; } leaf shard-commit-queue-expiry-timeout-in-seconds { default 120; type non-zero-uint32-type; } leaf shard-initialization-timeout-in-seconds { default 300; type non-zero-uint32-type; } leaf shard-leader-election-timeout-in-seconds { default 30; type non-zero-uint32-type; } leaf initial-settle-timeout-multiplier { default 3; type uint32; } leaf recovery-snapshot-interval-seconds { default 0; type uint32; } leaf shard-batched-modification-count { default 1000; type non-zero-uint32-type; } leaf enable-metric-capture { default false; type boolean; } leaf bounded-mailbox-capacity { default 1000; type non-zero-uint32-type; } leaf persistent { default true; type boolean; } leaf snapshotOnRootOverwrite { default false; type boolean; } leaf shard-isolated-leader-check-interval-in-millis { default 5000; type heartbeat-interval-type; } leaf transaction-creation-initial-rate-limit { default 100; type non-zero-uint32-type; } leaf transaction-debug-context-enabled { default false; type boolean; } leaf custom-raft-policy-implementation { default ""; type string; } leaf shard-snapshot-chunk-size { status deprecated; default 2048000; type non-zero-uint32-type; } leaf maximum-message-slice-size { default 2048000; type non-zero-uint32-type; } leaf use-tell-based-protocol { default false; type boolean; } leaf file-backed-streaming-threshold-in-megabytes { default 128; type non-zero-uint32-type; } leaf sync-index-threshold { default 10; type non-zero-uint32-type; } leaf backend-aliveness-timer-interval-in-seconds { default 30; type non-zero-uint32-type; } leaf frontend-request-timeout-in-seconds { default 120; type non-zero-uint32-type; } leaf frontend-no-progress-timeout-in-seconds { default 900; type non-zero-uint32-type; } leaf initial-payload-serialized-buffer-capacity { default 512; type non-zero-uint32-type; } leaf use-lz4-compression { default false; type boolean; } leaf export-on-recovery { default off; type enumeration { enum off; enum json; } } leaf recovery-export-base-dir { default persistence-export; type string; } }The schema path to identify an instance is distributed-datastore-providerdata-store-properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataStoreProperties.ExportOnRecovery
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description NonZeroUint32TypegetBackendAlivenessTimerIntervalInSeconds()Return backendAlivenessTimerIntervalInSeconds, ornullif it is not present.NonZeroUint32TypegetBoundedMailboxCapacity()Return boundedMailboxCapacity, ornullif it is not present.StringgetCustomRaftPolicyImplementation()Return customRaftPolicyImplementation, ornullif it is not present.BooleangetEnableMetricCapture()Return enableMetricCapture, ornullif it is not present.DataStoreProperties.ExportOnRecoverygetExportOnRecovery()Return exportOnRecovery, ornullif it is not present.NonZeroUint32TypegetFileBackedStreamingThresholdInMegabytes()Return fileBackedStreamingThresholdInMegabytes, ornullif it is not present.NonZeroUint32TypegetFrontendNoProgressTimeoutInSeconds()Return frontendNoProgressTimeoutInSeconds, ornullif it is not present.NonZeroUint32TypegetFrontendRequestTimeoutInSeconds()Return frontendRequestTimeoutInSeconds, ornullif it is not present.NonZeroUint32TypegetInitialPayloadSerializedBufferCapacity()Return initialPayloadSerializedBufferCapacity, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getInitialSettleTimeoutMultiplier()Return initialSettleTimeoutMultiplier, ornullif it is not present.NonZeroUint32TypegetMaximumMessageSliceSize()Return maximumMessageSliceSize, ornullif it is not present.OperationTimeoutTypegetOperationTimeoutInSeconds()Return operationTimeoutInSeconds, ornullif it is not present.BooleangetPersistent()Return persistent, ornullif it is not present.StringgetRecoveryExportBaseDir()Return recoveryExportBaseDir, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getRecoverySnapshotIntervalSeconds()Return recoverySnapshotIntervalSeconds, ornullif it is not present.NonZeroUint32TypegetShardBatchedModificationCount()Return shardBatchedModificationCount, ornullif it is not present.NonZeroUint32TypegetShardCommitQueueExpiryTimeoutInSeconds()Return shardCommitQueueExpiryTimeoutInSeconds, ornullif it is not present.NonZeroUint32TypegetShardElectionTimeoutFactor()Return shardElectionTimeoutFactor, ornullif it is not present.HeartbeatIntervalTypegetShardHeartbeatIntervalInMillis()Return shardHeartbeatIntervalInMillis, ornullif it is not present.NonZeroUint32TypegetShardInitializationTimeoutInSeconds()Return shardInitializationTimeoutInSeconds, ornullif it is not present.HeartbeatIntervalTypegetShardIsolatedLeaderCheckIntervalInMillis()Return shardIsolatedLeaderCheckIntervalInMillis, ornullif it is not present.NonZeroUint32TypegetShardJournalRecoveryLogBatchSize()Return shardJournalRecoveryLogBatchSize, ornullif it is not present.NonZeroUint32TypegetShardLeaderElectionTimeoutInSeconds()Return shardLeaderElectionTimeoutInSeconds, ornullif it is not present.NonZeroUint32TypegetShardSnapshotBatchCount()Return shardSnapshotBatchCount, ornullif it is not present.NonZeroUint32TypegetShardSnapshotChunkSize()Deprecated.org.opendaylight.yangtools.yang.common.Uint32getShardSnapshotDataThreshold()Return shardSnapshotDataThreshold, ornullif it is not present.PercentagegetShardSnapshotDataThresholdPercentage()Return shardSnapshotDataThresholdPercentage, ornullif it is not present.NonZeroUint32TypegetShardTransactionCommitQueueCapacity()Return shardTransactionCommitQueueCapacity, ornullif it is not present.NonZeroUint32TypegetShardTransactionCommitTimeoutInSeconds()Return shardTransactionCommitTimeoutInSeconds, ornullif it is not present.NonZeroUint32TypegetShardTransactionIdleTimeoutInMinutes()Return shardTransactionIdleTimeoutInMinutes, ornullif it is not present.BooleangetSnapshotOnRootOverwrite()Return snapshotOnRootOverwrite, ornullif it is not present.NonZeroUint32TypegetSyncIndexThreshold()Return syncIndexThreshold, ornullif it is not present.NonZeroUint32TypegetTransactionCreationInitialRateLimit()Return transactionCreationInitialRateLimit, ornullif it is not present.BooleangetTransactionDebugContextEnabled()Return transactionDebugContextEnabled, ornullif it is not present.BooleangetUseLz4Compression()Return useLz4Compression, ornullif it is not present.BooleangetUseTellBasedProtocol()Return useTellBasedProtocol, ornullif it is not present.Class<? extends DataStoreProperties>implementedInterface()default @NonNull NonZeroUint32TyperequireBackendAlivenessTimerIntervalInSeconds()Return backendAlivenessTimerIntervalInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireBoundedMailboxCapacity()Return boundedMailboxCapacity, guaranteed to be non-null.default @NonNull StringrequireCustomRaftPolicyImplementation()Return customRaftPolicyImplementation, guaranteed to be non-null.default @NonNull BooleanrequireEnableMetricCapture()Return enableMetricCapture, guaranteed to be non-null.default @NonNull DataStoreProperties.ExportOnRecoveryrequireExportOnRecovery()Return exportOnRecovery, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireFileBackedStreamingThresholdInMegabytes()Return fileBackedStreamingThresholdInMegabytes, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireFrontendNoProgressTimeoutInSeconds()Return frontendNoProgressTimeoutInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireFrontendRequestTimeoutInSeconds()Return frontendRequestTimeoutInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireInitialPayloadSerializedBufferCapacity()Return initialPayloadSerializedBufferCapacity, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireInitialSettleTimeoutMultiplier()Return initialSettleTimeoutMultiplier, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireMaximumMessageSliceSize()Return maximumMessageSliceSize, guaranteed to be non-null.default @NonNull OperationTimeoutTyperequireOperationTimeoutInSeconds()Return operationTimeoutInSeconds, guaranteed to be non-null.default @NonNull BooleanrequirePersistent()Return persistent, guaranteed to be non-null.default @NonNull StringrequireRecoveryExportBaseDir()Return recoveryExportBaseDir, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireRecoverySnapshotIntervalSeconds()Return recoverySnapshotIntervalSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardBatchedModificationCount()Return shardBatchedModificationCount, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardCommitQueueExpiryTimeoutInSeconds()Return shardCommitQueueExpiryTimeoutInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardElectionTimeoutFactor()Return shardElectionTimeoutFactor, guaranteed to be non-null.default @NonNull HeartbeatIntervalTyperequireShardHeartbeatIntervalInMillis()Return shardHeartbeatIntervalInMillis, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardInitializationTimeoutInSeconds()Return shardInitializationTimeoutInSeconds, guaranteed to be non-null.default @NonNull HeartbeatIntervalTyperequireShardIsolatedLeaderCheckIntervalInMillis()Return shardIsolatedLeaderCheckIntervalInMillis, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardJournalRecoveryLogBatchSize()Return shardJournalRecoveryLogBatchSize, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardLeaderElectionTimeoutInSeconds()Return shardLeaderElectionTimeoutInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardSnapshotBatchCount()Return shardSnapshotBatchCount, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardSnapshotChunkSize()Return shardSnapshotChunkSize, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireShardSnapshotDataThreshold()Return shardSnapshotDataThreshold, guaranteed to be non-null.default @NonNull PercentagerequireShardSnapshotDataThresholdPercentage()Return shardSnapshotDataThresholdPercentage, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardTransactionCommitQueueCapacity()Return shardTransactionCommitQueueCapacity, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardTransactionCommitTimeoutInSeconds()Return shardTransactionCommitTimeoutInSeconds, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireShardTransactionIdleTimeoutInMinutes()Return shardTransactionIdleTimeoutInMinutes, guaranteed to be non-null.default @NonNull BooleanrequireSnapshotOnRootOverwrite()Return snapshotOnRootOverwrite, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireSyncIndexThreshold()Return syncIndexThreshold, guaranteed to be non-null.default @NonNull NonZeroUint32TyperequireTransactionCreationInitialRateLimit()Return transactionCreationInitialRateLimit, guaranteed to be non-null.default @NonNull BooleanrequireTransactionDebugContextEnabled()Return transactionDebugContextEnabled, guaranteed to be non-null.default @NonNull BooleanrequireUseLz4Compression()Return useLz4Compression, guaranteed to be non-null.default @NonNull BooleanrequireUseTellBasedProtocol()Return useTellBasedProtocol, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends DataStoreProperties> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getShardTransactionIdleTimeoutInMinutes
NonZeroUint32Type getShardTransactionIdleTimeoutInMinutes()
Return shardTransactionIdleTimeoutInMinutes, ornullif it is not present.The maximum amount of time a shard transaction can be idle without receiving any messages before it self-destructs.- Returns:
NonZeroUint32TypeshardTransactionIdleTimeoutInMinutes, ornullif it is not present.
-
requireShardTransactionIdleTimeoutInMinutes
default @NonNull NonZeroUint32Type requireShardTransactionIdleTimeoutInMinutes()
Return shardTransactionIdleTimeoutInMinutes, guaranteed to be non-null.The maximum amount of time a shard transaction can be idle without receiving any messages before it self-destructs.- Returns:
NonZeroUint32TypeshardTransactionIdleTimeoutInMinutes, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardTransactionIdleTimeoutInMinutes is not present
-
getShardSnapshotBatchCount
NonZeroUint32Type getShardSnapshotBatchCount()
Return shardSnapshotBatchCount, ornullif it is not present.The minimum number of entries to be present in the in-memory journal log before a snapshot is to be taken.- Returns:
NonZeroUint32TypeshardSnapshotBatchCount, ornullif it is not present.
-
requireShardSnapshotBatchCount
default @NonNull NonZeroUint32Type requireShardSnapshotBatchCount()
Return shardSnapshotBatchCount, guaranteed to be non-null.The minimum number of entries to be present in the in-memory journal log before a snapshot is to be taken.- Returns:
NonZeroUint32TypeshardSnapshotBatchCount, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardSnapshotBatchCount is not present
-
getShardSnapshotDataThresholdPercentage
Percentage getShardSnapshotDataThresholdPercentage()
Return shardSnapshotDataThresholdPercentage, ornullif it is not present.The percentage of Runtime.maxMemory() used by the in-memory journal log before a snapshot is to be taken. Disabled, if direct threshold is enabled.- Returns:
PercentageshardSnapshotDataThresholdPercentage, ornullif it is not present.
-
requireShardSnapshotDataThresholdPercentage
default @NonNull Percentage requireShardSnapshotDataThresholdPercentage()
Return shardSnapshotDataThresholdPercentage, guaranteed to be non-null.The percentage of Runtime.maxMemory() used by the in-memory journal log before a snapshot is to be taken. Disabled, if direct threshold is enabled.- Returns:
PercentageshardSnapshotDataThresholdPercentage, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardSnapshotDataThresholdPercentage is not present
-
getShardSnapshotDataThreshold
org.opendaylight.yangtools.yang.common.Uint32 getShardSnapshotDataThreshold()
Return shardSnapshotDataThreshold, ornullif it is not present.The threshold of in-memory journal size before a snapshot is to be taken. If set to 0, direct threshold is disabled and percentage is used instead.- Returns:
Uint32shardSnapshotDataThreshold, ornullif it is not present.
-
requireShardSnapshotDataThreshold
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireShardSnapshotDataThreshold()
Return shardSnapshotDataThreshold, guaranteed to be non-null.The threshold of in-memory journal size before a snapshot is to be taken. If set to 0, direct threshold is disabled and percentage is used instead.- Returns:
Uint32shardSnapshotDataThreshold, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardSnapshotDataThreshold is not present
-
getShardHeartbeatIntervalInMillis
HeartbeatIntervalType getShardHeartbeatIntervalInMillis()
Return shardHeartbeatIntervalInMillis, ornullif it is not present.The interval at which a shard will send a heart beat message to its remote shard.- Returns:
HeartbeatIntervalTypeshardHeartbeatIntervalInMillis, ornullif it is not present.
-
requireShardHeartbeatIntervalInMillis
default @NonNull HeartbeatIntervalType requireShardHeartbeatIntervalInMillis()
Return shardHeartbeatIntervalInMillis, guaranteed to be non-null.The interval at which a shard will send a heart beat message to its remote shard.- Returns:
HeartbeatIntervalTypeshardHeartbeatIntervalInMillis, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardHeartbeatIntervalInMillis is not present
-
getShardElectionTimeoutFactor
NonZeroUint32Type getShardElectionTimeoutFactor()
Return shardElectionTimeoutFactor, ornullif it is not present.The multiplication factor to be used to determine shard election timeout. The shard election timeout is determined by multiplying shard-heartbeat-interval-in-millis with the shard-election-timeout-factor- Returns:
NonZeroUint32TypeshardElectionTimeoutFactor, ornullif it is not present.
-
requireShardElectionTimeoutFactor
default @NonNull NonZeroUint32Type requireShardElectionTimeoutFactor()
Return shardElectionTimeoutFactor, guaranteed to be non-null.The multiplication factor to be used to determine shard election timeout. The shard election timeout is determined by multiplying shard-heartbeat-interval-in-millis with the shard-election-timeout-factor- Returns:
NonZeroUint32TypeshardElectionTimeoutFactor, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardElectionTimeoutFactor is not present
-
getOperationTimeoutInSeconds
OperationTimeoutType getOperationTimeoutInSeconds()
Return operationTimeoutInSeconds, ornullif it is not present.The maximum amount of time for akka operations (remote or local) to complete before failing.- Returns:
OperationTimeoutTypeoperationTimeoutInSeconds, ornullif it is not present.
-
requireOperationTimeoutInSeconds
default @NonNull OperationTimeoutType requireOperationTimeoutInSeconds()
Return operationTimeoutInSeconds, guaranteed to be non-null.The maximum amount of time for akka operations (remote or local) to complete before failing.- Returns:
OperationTimeoutTypeoperationTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if operationTimeoutInSeconds is not present
-
getShardJournalRecoveryLogBatchSize
NonZeroUint32Type getShardJournalRecoveryLogBatchSize()
Return shardJournalRecoveryLogBatchSize, ornullif it is not present.The maximum number of journal log entries to batch on recovery for a shard before committing to the data store.- Returns:
NonZeroUint32TypeshardJournalRecoveryLogBatchSize, ornullif it is not present.
-
requireShardJournalRecoveryLogBatchSize
default @NonNull NonZeroUint32Type requireShardJournalRecoveryLogBatchSize()
Return shardJournalRecoveryLogBatchSize, guaranteed to be non-null.The maximum number of journal log entries to batch on recovery for a shard before committing to the data store.- Returns:
NonZeroUint32TypeshardJournalRecoveryLogBatchSize, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardJournalRecoveryLogBatchSize is not present
-
getShardTransactionCommitTimeoutInSeconds
NonZeroUint32Type getShardTransactionCommitTimeoutInSeconds()
Return shardTransactionCommitTimeoutInSeconds, ornullif it is not present.The maximum amount of time a shard transaction three-phase commit can be idle without receiving the next messages before it aborts the transaction- Returns:
NonZeroUint32TypeshardTransactionCommitTimeoutInSeconds, ornullif it is not present.
-
requireShardTransactionCommitTimeoutInSeconds
default @NonNull NonZeroUint32Type requireShardTransactionCommitTimeoutInSeconds()
Return shardTransactionCommitTimeoutInSeconds, guaranteed to be non-null.The maximum amount of time a shard transaction three-phase commit can be idle without receiving the next messages before it aborts the transaction- Returns:
NonZeroUint32TypeshardTransactionCommitTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardTransactionCommitTimeoutInSeconds is not present
-
getShardTransactionCommitQueueCapacity
NonZeroUint32Type getShardTransactionCommitQueueCapacity()
Return shardTransactionCommitQueueCapacity, ornullif it is not present.The maximum allowed capacity for each shard's transaction commit queue.- Returns:
NonZeroUint32TypeshardTransactionCommitQueueCapacity, ornullif it is not present.
-
requireShardTransactionCommitQueueCapacity
default @NonNull NonZeroUint32Type requireShardTransactionCommitQueueCapacity()
Return shardTransactionCommitQueueCapacity, guaranteed to be non-null.The maximum allowed capacity for each shard's transaction commit queue.- Returns:
NonZeroUint32TypeshardTransactionCommitQueueCapacity, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardTransactionCommitQueueCapacity is not present
-
getShardCommitQueueExpiryTimeoutInSeconds
NonZeroUint32Type getShardCommitQueueExpiryTimeoutInSeconds()
Return shardCommitQueueExpiryTimeoutInSeconds, ornullif it is not present.The maximum amount of time a transaction can remain in a shard's commit queue waiting to begin the CanCommit phase as coordinated by the broker front-end. Normally this should be quick but latencies can occur in between transaction ready and CanCommit or a remote broker could lose connection and CanCommit might never occur. Expiring transactions from the queue allows subsequent pending transaction to be processed.- Returns:
NonZeroUint32TypeshardCommitQueueExpiryTimeoutInSeconds, ornullif it is not present.
-
requireShardCommitQueueExpiryTimeoutInSeconds
default @NonNull NonZeroUint32Type requireShardCommitQueueExpiryTimeoutInSeconds()
Return shardCommitQueueExpiryTimeoutInSeconds, guaranteed to be non-null.The maximum amount of time a transaction can remain in a shard's commit queue waiting to begin the CanCommit phase as coordinated by the broker front-end. Normally this should be quick but latencies can occur in between transaction ready and CanCommit or a remote broker could lose connection and CanCommit might never occur. Expiring transactions from the queue allows subsequent pending transaction to be processed.- Returns:
NonZeroUint32TypeshardCommitQueueExpiryTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardCommitQueueExpiryTimeoutInSeconds is not present
-
getShardInitializationTimeoutInSeconds
NonZeroUint32Type getShardInitializationTimeoutInSeconds()
Return shardInitializationTimeoutInSeconds, ornullif it is not present.The maximum amount of time to wait for a shard to initialize from persistence on startup before failing an operation (eg transaction create and change listener registration).- Returns:
NonZeroUint32TypeshardInitializationTimeoutInSeconds, ornullif it is not present.
-
requireShardInitializationTimeoutInSeconds
default @NonNull NonZeroUint32Type requireShardInitializationTimeoutInSeconds()
Return shardInitializationTimeoutInSeconds, guaranteed to be non-null.The maximum amount of time to wait for a shard to initialize from persistence on startup before failing an operation (eg transaction create and change listener registration).- Returns:
NonZeroUint32TypeshardInitializationTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardInitializationTimeoutInSeconds is not present
-
getShardLeaderElectionTimeoutInSeconds
NonZeroUint32Type getShardLeaderElectionTimeoutInSeconds()
Return shardLeaderElectionTimeoutInSeconds, ornullif it is not present.The maximum amount of time to wait for a shard to elect a leader before failing an operation (eg transaction create).- Returns:
NonZeroUint32TypeshardLeaderElectionTimeoutInSeconds, ornullif it is not present.
-
requireShardLeaderElectionTimeoutInSeconds
default @NonNull NonZeroUint32Type requireShardLeaderElectionTimeoutInSeconds()
Return shardLeaderElectionTimeoutInSeconds, guaranteed to be non-null.The maximum amount of time to wait for a shard to elect a leader before failing an operation (eg transaction create).- Returns:
NonZeroUint32TypeshardLeaderElectionTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardLeaderElectionTimeoutInSeconds is not present
-
getInitialSettleTimeoutMultiplier
org.opendaylight.yangtools.yang.common.Uint32 getInitialSettleTimeoutMultiplier()
Return initialSettleTimeoutMultiplier, ornullif it is not present.Multiplier for the maximum amount of time to wait for a shard to elect a leader. Zero value means wait indefinitely (as long as it takes).- Returns:
Uint32initialSettleTimeoutMultiplier, ornullif it is not present.
-
requireInitialSettleTimeoutMultiplier
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInitialSettleTimeoutMultiplier()
Return initialSettleTimeoutMultiplier, guaranteed to be non-null.Multiplier for the maximum amount of time to wait for a shard to elect a leader. Zero value means wait indefinitely (as long as it takes).- Returns:
Uint32initialSettleTimeoutMultiplier, guaranteed to be non-null.- Throws:
NoSuchElementException- if initialSettleTimeoutMultiplier is not present
-
getRecoverySnapshotIntervalSeconds
org.opendaylight.yangtools.yang.common.Uint32 getRecoverySnapshotIntervalSeconds()
Return recoverySnapshotIntervalSeconds, ornullif it is not present.Interval after which a snapshot should be taken during the recovery process.- Returns:
Uint32recoverySnapshotIntervalSeconds, ornullif it is not present.
-
requireRecoverySnapshotIntervalSeconds
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRecoverySnapshotIntervalSeconds()
Return recoverySnapshotIntervalSeconds, guaranteed to be non-null.Interval after which a snapshot should be taken during the recovery process.- Returns:
Uint32recoverySnapshotIntervalSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if recoverySnapshotIntervalSeconds is not present
-
getShardBatchedModificationCount
NonZeroUint32Type getShardBatchedModificationCount()
Return shardBatchedModificationCount, ornullif it is not present.The number of transaction modification operations (put, merge, delete) to batch before sending to the shard transaction actor. Batching improves performance as less modifications messages are sent to the actor and thus lessens the chance that the transaction actor's mailbox queue could get full.- Returns:
NonZeroUint32TypeshardBatchedModificationCount, ornullif it is not present.
-
requireShardBatchedModificationCount
default @NonNull NonZeroUint32Type requireShardBatchedModificationCount()
Return shardBatchedModificationCount, guaranteed to be non-null.The number of transaction modification operations (put, merge, delete) to batch before sending to the shard transaction actor. Batching improves performance as less modifications messages are sent to the actor and thus lessens the chance that the transaction actor's mailbox queue could get full.- Returns:
NonZeroUint32TypeshardBatchedModificationCount, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardBatchedModificationCount is not present
-
getEnableMetricCapture
Boolean getEnableMetricCapture()
Return enableMetricCapture, ornullif it is not present.Enable or disable metric capture.- Returns:
BooleanenableMetricCapture, ornullif it is not present.
-
requireEnableMetricCapture
default @NonNull Boolean requireEnableMetricCapture()
Return enableMetricCapture, guaranteed to be non-null.Enable or disable metric capture.- Returns:
BooleanenableMetricCapture, guaranteed to be non-null.- Throws:
NoSuchElementException- if enableMetricCapture is not present
-
getBoundedMailboxCapacity
NonZeroUint32Type getBoundedMailboxCapacity()
Return boundedMailboxCapacity, ornullif it is not present.Max queue size that an actor's mailbox can reach- Returns:
NonZeroUint32TypeboundedMailboxCapacity, ornullif it is not present.
-
requireBoundedMailboxCapacity
default @NonNull NonZeroUint32Type requireBoundedMailboxCapacity()
Return boundedMailboxCapacity, guaranteed to be non-null.Max queue size that an actor's mailbox can reach- Returns:
NonZeroUint32TypeboundedMailboxCapacity, guaranteed to be non-null.- Throws:
NoSuchElementException- if boundedMailboxCapacity is not present
-
getPersistent
Boolean getPersistent()
Return persistent, ornullif it is not present.Enable or disable data persistence- Returns:
Booleanpersistent, ornullif it is not present.
-
requirePersistent
default @NonNull Boolean requirePersistent()
Return persistent, guaranteed to be non-null.Enable or disable data persistence- Returns:
Booleanpersistent, guaranteed to be non-null.- Throws:
NoSuchElementException- if persistent is not present
-
getSnapshotOnRootOverwrite
Boolean getSnapshotOnRootOverwrite()
Return snapshotOnRootOverwrite, ornullif it is not present.Enable or disable capturing snapshots on DataTree root overwrites- Returns:
BooleansnapshotOnRootOverwrite, ornullif it is not present.
-
requireSnapshotOnRootOverwrite
default @NonNull Boolean requireSnapshotOnRootOverwrite()
Return snapshotOnRootOverwrite, guaranteed to be non-null.Enable or disable capturing snapshots on DataTree root overwrites- Returns:
BooleansnapshotOnRootOverwrite, guaranteed to be non-null.- Throws:
NoSuchElementException- if snapshotOnRootOverwrite is not present
-
getShardIsolatedLeaderCheckIntervalInMillis
HeartbeatIntervalType getShardIsolatedLeaderCheckIntervalInMillis()
Return shardIsolatedLeaderCheckIntervalInMillis, ornullif it is not present.The interval at which the leader of the shard will check if its majority followers are active and term itself as isolated- Returns:
HeartbeatIntervalTypeshardIsolatedLeaderCheckIntervalInMillis, ornullif it is not present.
-
requireShardIsolatedLeaderCheckIntervalInMillis
default @NonNull HeartbeatIntervalType requireShardIsolatedLeaderCheckIntervalInMillis()
Return shardIsolatedLeaderCheckIntervalInMillis, guaranteed to be non-null.The interval at which the leader of the shard will check if its majority followers are active and term itself as isolated- Returns:
HeartbeatIntervalTypeshardIsolatedLeaderCheckIntervalInMillis, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardIsolatedLeaderCheckIntervalInMillis is not present
-
getTransactionCreationInitialRateLimit
NonZeroUint32Type getTransactionCreationInitialRateLimit()
Return transactionCreationInitialRateLimit, ornullif it is not present.The initial number of transactions per second that are allowed before the data store should begin applying back pressure. This number is only used as an initial guidance, subsequently the datastore measures the latency for a commit and auto-adjusts the rate limit- Returns:
NonZeroUint32TypetransactionCreationInitialRateLimit, ornullif it is not present.
-
requireTransactionCreationInitialRateLimit
default @NonNull NonZeroUint32Type requireTransactionCreationInitialRateLimit()
Return transactionCreationInitialRateLimit, guaranteed to be non-null.The initial number of transactions per second that are allowed before the data store should begin applying back pressure. This number is only used as an initial guidance, subsequently the datastore measures the latency for a commit and auto-adjusts the rate limit- Returns:
NonZeroUint32TypetransactionCreationInitialRateLimit, guaranteed to be non-null.- Throws:
NoSuchElementException- if transactionCreationInitialRateLimit is not present
-
getTransactionDebugContextEnabled
Boolean getTransactionDebugContextEnabled()
Return transactionDebugContextEnabled, ornullif it is not present.Enable or disable transaction context debug. This will log the call site trace for transactions that fail- Returns:
BooleantransactionDebugContextEnabled, ornullif it is not present.
-
requireTransactionDebugContextEnabled
default @NonNull Boolean requireTransactionDebugContextEnabled()
Return transactionDebugContextEnabled, guaranteed to be non-null.Enable or disable transaction context debug. This will log the call site trace for transactions that fail- Returns:
BooleantransactionDebugContextEnabled, guaranteed to be non-null.- Throws:
NoSuchElementException- if transactionDebugContextEnabled is not present
-
getCustomRaftPolicyImplementation
String getCustomRaftPolicyImplementation()
Return customRaftPolicyImplementation, ornullif it is not present.A fully qualified java class name. The class should implement org.opendaylight.controller.cluster.raft.policy.RaftPolicy. This java class should be accessible to the distributed data store OSGi module so that it can be dynamically loaded via reflection. For now let's assume that these classes to customize raft behaviors should be present in the distributed data store module itself. If this property is set to a class which cannot be found then the default raft behavior will be applied- Returns:
StringcustomRaftPolicyImplementation, ornullif it is not present.
-
requireCustomRaftPolicyImplementation
default @NonNull String requireCustomRaftPolicyImplementation()
Return customRaftPolicyImplementation, guaranteed to be non-null.A fully qualified java class name. The class should implement org.opendaylight.controller.cluster.raft.policy.RaftPolicy. This java class should be accessible to the distributed data store OSGi module so that it can be dynamically loaded via reflection. For now let's assume that these classes to customize raft behaviors should be present in the distributed data store module itself. If this property is set to a class which cannot be found then the default raft behavior will be applied- Returns:
StringcustomRaftPolicyImplementation, guaranteed to be non-null.- Throws:
NoSuchElementException- if customRaftPolicyImplementation is not present
-
getShardSnapshotChunkSize
@Deprecated NonZeroUint32Type getShardSnapshotChunkSize()
Deprecated.Return shardSnapshotChunkSize, ornullif it is not present.When sending a snapshot to a follower, this is the maximum size in bytes for a chunk of data.- Returns:
NonZeroUint32TypeshardSnapshotChunkSize, ornullif it is not present.
-
requireShardSnapshotChunkSize
default @NonNull NonZeroUint32Type requireShardSnapshotChunkSize()
Return shardSnapshotChunkSize, guaranteed to be non-null.When sending a snapshot to a follower, this is the maximum size in bytes for a chunk of data.- Returns:
NonZeroUint32TypeshardSnapshotChunkSize, guaranteed to be non-null.- Throws:
NoSuchElementException- if shardSnapshotChunkSize is not present
-
getMaximumMessageSliceSize
NonZeroUint32Type getMaximumMessageSliceSize()
Return maximumMessageSliceSize, ornullif it is not present.When fragmenting messages thru the akka remoting framework, this is the maximum size in bytes for a message slice.- Returns:
NonZeroUint32TypemaximumMessageSliceSize, ornullif it is not present.
-
requireMaximumMessageSliceSize
default @NonNull NonZeroUint32Type requireMaximumMessageSliceSize()
Return maximumMessageSliceSize, guaranteed to be non-null.When fragmenting messages thru the akka remoting framework, this is the maximum size in bytes for a message slice.- Returns:
NonZeroUint32TypemaximumMessageSliceSize, guaranteed to be non-null.- Throws:
NoSuchElementException- if maximumMessageSliceSize is not present
-
getUseTellBasedProtocol
Boolean getUseTellBasedProtocol()
Return useTellBasedProtocol, ornullif it is not present.Use a newer protocol between the frontend and backend. This feature is considered exprerimental at this point.- Returns:
BooleanuseTellBasedProtocol, ornullif it is not present.
-
requireUseTellBasedProtocol
default @NonNull Boolean requireUseTellBasedProtocol()
Return useTellBasedProtocol, guaranteed to be non-null.Use a newer protocol between the frontend and backend. This feature is considered exprerimental at this point.- Returns:
BooleanuseTellBasedProtocol, guaranteed to be non-null.- Throws:
NoSuchElementException- if useTellBasedProtocol is not present
-
getFileBackedStreamingThresholdInMegabytes
NonZeroUint32Type getFileBackedStreamingThresholdInMegabytes()
Return fileBackedStreamingThresholdInMegabytes, ornullif it is not present.When streaming large amounts of data, eg when sending a snapshot to a follower, this is the threshold in terms of number of megabytes before it should switch from storing in memory to buffering to a file.- Returns:
NonZeroUint32TypefileBackedStreamingThresholdInMegabytes, ornullif it is not present.
-
requireFileBackedStreamingThresholdInMegabytes
default @NonNull NonZeroUint32Type requireFileBackedStreamingThresholdInMegabytes()
Return fileBackedStreamingThresholdInMegabytes, guaranteed to be non-null.When streaming large amounts of data, eg when sending a snapshot to a follower, this is the threshold in terms of number of megabytes before it should switch from storing in memory to buffering to a file.- Returns:
NonZeroUint32TypefileBackedStreamingThresholdInMegabytes, guaranteed to be non-null.- Throws:
NoSuchElementException- if fileBackedStreamingThresholdInMegabytes is not present
-
getSyncIndexThreshold
NonZeroUint32Type getSyncIndexThreshold()
Return syncIndexThreshold, ornullif it is not present.Permitted synchronization lag, expressed in terms of RAFT entry count. It a follower's commitIndex trails the leader's journal by more than this amount of entries the follower is considered to be out-of-sync.- Returns:
NonZeroUint32TypesyncIndexThreshold, ornullif it is not present.
-
requireSyncIndexThreshold
default @NonNull NonZeroUint32Type requireSyncIndexThreshold()
Return syncIndexThreshold, guaranteed to be non-null.Permitted synchronization lag, expressed in terms of RAFT entry count. It a follower's commitIndex trails the leader's journal by more than this amount of entries the follower is considered to be out-of-sync.- Returns:
NonZeroUint32TypesyncIndexThreshold, guaranteed to be non-null.- Throws:
NoSuchElementException- if syncIndexThreshold is not present
-
getBackendAlivenessTimerIntervalInSeconds
NonZeroUint32Type getBackendAlivenessTimerIntervalInSeconds()
Return backendAlivenessTimerIntervalInSeconds, ornullif it is not present.The timer interval whereby, on expiration after response inactivity from the back-end, the connection to the back-end is torn down and reconnection is attempted.- Returns:
NonZeroUint32TypebackendAlivenessTimerIntervalInSeconds, ornullif it is not present.
-
requireBackendAlivenessTimerIntervalInSeconds
default @NonNull NonZeroUint32Type requireBackendAlivenessTimerIntervalInSeconds()
Return backendAlivenessTimerIntervalInSeconds, guaranteed to be non-null.The timer interval whereby, on expiration after response inactivity from the back-end, the connection to the back-end is torn down and reconnection is attempted.- Returns:
NonZeroUint32TypebackendAlivenessTimerIntervalInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if backendAlivenessTimerIntervalInSeconds is not present
-
getFrontendRequestTimeoutInSeconds
NonZeroUint32Type getFrontendRequestTimeoutInSeconds()
Return frontendRequestTimeoutInSeconds, ornullif it is not present.The timeout interval whereby client frontend transaction requests are failed.- Returns:
NonZeroUint32TypefrontendRequestTimeoutInSeconds, ornullif it is not present.
-
requireFrontendRequestTimeoutInSeconds
default @NonNull NonZeroUint32Type requireFrontendRequestTimeoutInSeconds()
Return frontendRequestTimeoutInSeconds, guaranteed to be non-null.The timeout interval whereby client frontend transaction requests are failed.- Returns:
NonZeroUint32TypefrontendRequestTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if frontendRequestTimeoutInSeconds is not present
-
getFrontendNoProgressTimeoutInSeconds
NonZeroUint32Type getFrontendNoProgressTimeoutInSeconds()
Return frontendNoProgressTimeoutInSeconds, ornullif it is not present.The timeout interval whereby the client front-end hasn't made progress with the back-end on any request and terminates.- Returns:
NonZeroUint32TypefrontendNoProgressTimeoutInSeconds, ornullif it is not present.
-
requireFrontendNoProgressTimeoutInSeconds
default @NonNull NonZeroUint32Type requireFrontendNoProgressTimeoutInSeconds()
Return frontendNoProgressTimeoutInSeconds, guaranteed to be non-null.The timeout interval whereby the client front-end hasn't made progress with the back-end on any request and terminates.- Returns:
NonZeroUint32TypefrontendNoProgressTimeoutInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException- if frontendNoProgressTimeoutInSeconds is not present
-
getInitialPayloadSerializedBufferCapacity
NonZeroUint32Type getInitialPayloadSerializedBufferCapacity()
Return initialPayloadSerializedBufferCapacity, ornullif it is not present.The initial buffer capacity, in bytes, to use when serializing message payloads.- Returns:
NonZeroUint32TypeinitialPayloadSerializedBufferCapacity, ornullif it is not present.
-
requireInitialPayloadSerializedBufferCapacity
default @NonNull NonZeroUint32Type requireInitialPayloadSerializedBufferCapacity()
Return initialPayloadSerializedBufferCapacity, guaranteed to be non-null.The initial buffer capacity, in bytes, to use when serializing message payloads.- Returns:
NonZeroUint32TypeinitialPayloadSerializedBufferCapacity, guaranteed to be non-null.- Throws:
NoSuchElementException- if initialPayloadSerializedBufferCapacity is not present
-
getUseLz4Compression
Boolean getUseLz4Compression()
Return useLz4Compression, ornullif it is not present.Use lz4 compression for snapshots, sent from leader to follower, for snapshots stored by LocalSnapshotStore, use akka.conf configuration.- Returns:
BooleanuseLz4Compression, ornullif it is not present.
-
requireUseLz4Compression
default @NonNull Boolean requireUseLz4Compression()
Return useLz4Compression, guaranteed to be non-null.Use lz4 compression for snapshots, sent from leader to follower, for snapshots stored by LocalSnapshotStore, use akka.conf configuration.- Returns:
BooleanuseLz4Compression, guaranteed to be non-null.- Throws:
NoSuchElementException- if useLz4Compression is not present
-
getExportOnRecovery
DataStoreProperties.ExportOnRecovery getExportOnRecovery()
Return exportOnRecovery, ornullif it is not present.Export snapshot and journal during recovery. Possible modes: off(default), json(export to json files). Note that in case of large snapshot, export will take a lot of time.- Returns:
ExportOnRecoveryexportOnRecovery, ornullif it is not present.
-
requireExportOnRecovery
default @NonNull DataStoreProperties.ExportOnRecovery requireExportOnRecovery()
Return exportOnRecovery, guaranteed to be non-null.Export snapshot and journal during recovery. Possible modes: off(default), json(export to json files). Note that in case of large snapshot, export will take a lot of time.- Returns:
ExportOnRecoveryexportOnRecovery, guaranteed to be non-null.- Throws:
NoSuchElementException- if exportOnRecovery is not present
-
getRecoveryExportBaseDir
String getRecoveryExportBaseDir()
Return recoveryExportBaseDir, ornullif it is not present.Directory name for snapshot and journal dumps.- Returns:
StringrecoveryExportBaseDir, ornullif it is not present.
-
requireRecoveryExportBaseDir
default @NonNull String requireRecoveryExportBaseDir()
Return recoveryExportBaseDir, guaranteed to be non-null.Directory name for snapshot and journal dumps.- Returns:
StringrecoveryExportBaseDir, guaranteed to be non-null.- Throws:
NoSuchElementException- if recoveryExportBaseDir is not present
-
-