Class MassReencryptOptions
-
- All Implemented Interfaces:
public final class MassReencryptOptionsOptions for SealdSDK.massReencrypt function.
-
-
Field Summary
Fields Modifier and Type Field Description private Integerretriesprivate IntegerretrieveBatchSizeprivate DurationwaitBetweenRetriesprivate BooleanwaitProvisioningprivate DurationwaitProvisioningTimeprivate DurationwaitProvisioningTimeMaxprivate DurationwaitProvisioningTimeStepprivate IntegerwaitProvisioningRetriesprivate BooleanforceLocalAccountUpdate
-
Constructor Summary
Constructors Constructor Description MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep, Integer waitProvisioningRetries, Boolean forceLocalAccountUpdate)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep, Integer waitProvisioningRetries)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning)MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries)MassReencryptOptions(Integer retries, Integer retrieveBatchSize)MassReencryptOptions(Integer retries)MassReencryptOptions()
-
Method Summary
Modifier and Type Method Description final IntegergetRetries()Number of times to retry. final UnitsetRetries(Integer retries)Number of times to retry. final IntegergetRetrieveBatchSize()Default to 1000. final UnitsetRetrieveBatchSize(Integer retrieveBatchSize)Default to 1000. final DurationgetWaitBetweenRetries()Time to wait between retries. final UnitsetWaitBetweenRetries(Duration waitBetweenRetries)Time to wait between retries. final BooleangetWaitProvisioning()Whether to wait for provisioning (new behaviour) or not. final UnitsetWaitProvisioning(Boolean waitProvisioning)Whether to wait for provisioning (new behaviour) or not. final DurationgetWaitProvisioningTime()Time to wait if device is not provisioned on the server yet. final UnitsetWaitProvisioningTime(Duration waitProvisioningTime)Time to wait if device is not provisioned on the server yet. final DurationgetWaitProvisioningTimeMax()Maximum time to wait if device is not provisioned on the server yet. final UnitsetWaitProvisioningTimeMax(Duration waitProvisioningTimeMax)Maximum time to wait if device is not provisioned on the server yet. final DurationgetWaitProvisioningTimeStep()Amount to increase the time to wait if device is not provisioned on the server yet. final UnitsetWaitProvisioningTimeStep(Duration waitProvisioningTimeStep)Amount to increase the time to wait if device is not provisioned on the server yet. final IntegergetWaitProvisioningRetries()Maximum number of tries to check if the device is provisioned yet. final UnitsetWaitProvisioningRetries(Integer waitProvisioningRetries)Maximum number of tries to check if the device is provisioned yet. final BooleangetForceLocalAccountUpdate()Whether to update the local account before trying the reencryption. final UnitsetForceLocalAccountUpdate(Boolean forceLocalAccountUpdate)Whether to update the local account before trying the reencryption. -
-
Constructor Detail
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep, Integer waitProvisioningRetries, Boolean forceLocalAccountUpdate)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep, Integer waitProvisioningRetries)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax, Duration waitProvisioningTimeStep)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime, Duration waitProvisioningTimeMax)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning, Duration waitProvisioningTime)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries, Boolean waitProvisioning)
-
MassReencryptOptions
MassReencryptOptions(Integer retries, Integer retrieveBatchSize, Duration waitBetweenRetries)
-
MassReencryptOptions
MassReencryptOptions(Integer retries)
-
MassReencryptOptions
MassReencryptOptions()
-
-
Method Detail
-
getRetries
final Integer getRetries()
Number of times to retry. Defaults to 3.
-
setRetries
final Unit setRetries(Integer retries)
Number of times to retry. Defaults to 3.
-
getRetrieveBatchSize
final Integer getRetrieveBatchSize()
Default to 1000.
-
setRetrieveBatchSize
final Unit setRetrieveBatchSize(Integer retrieveBatchSize)
Default to 1000.
-
getWaitBetweenRetries
final Duration getWaitBetweenRetries()
Time to wait between retries. Defaults to 3 seconds.
-
setWaitBetweenRetries
final Unit setWaitBetweenRetries(Duration waitBetweenRetries)
Time to wait between retries. Defaults to 3 seconds.
-
getWaitProvisioning
final Boolean getWaitProvisioning()
Whether to wait for provisioning (new behaviour) or not. Defaults to true.
-
setWaitProvisioning
final Unit setWaitProvisioning(Boolean waitProvisioning)
Whether to wait for provisioning (new behaviour) or not. Defaults to true.
-
getWaitProvisioningTime
final Duration getWaitProvisioningTime()
Time to wait if device is not provisioned on the server yet. The actual wait time will be increased on subsequent tries, by
waitProvisioningTimeStep, up towaitProvisioningTimeMax. Defaults to 5 seconds.
-
setWaitProvisioningTime
final Unit setWaitProvisioningTime(Duration waitProvisioningTime)
Time to wait if device is not provisioned on the server yet. The actual wait time will be increased on subsequent tries, by
waitProvisioningTimeStep, up towaitProvisioningTimeMax. Defaults to 5 seconds.
-
getWaitProvisioningTimeMax
final Duration getWaitProvisioningTimeMax()
Maximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds.
-
setWaitProvisioningTimeMax
final Unit setWaitProvisioningTimeMax(Duration waitProvisioningTimeMax)
Maximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds.
-
getWaitProvisioningTimeStep
final Duration getWaitProvisioningTimeStep()
Amount to increase the time to wait if device is not provisioned on the server yet. Defaults to 1 second.
-
setWaitProvisioningTimeStep
final Unit setWaitProvisioningTimeStep(Duration waitProvisioningTimeStep)
Amount to increase the time to wait if device is not provisioned on the server yet. Defaults to 1 second.
-
getWaitProvisioningRetries
final Integer getWaitProvisioningRetries()
Maximum number of tries to check if the device is provisioned yet. Defaults to 100.
-
setWaitProvisioningRetries
final Unit setWaitProvisioningRetries(Integer waitProvisioningRetries)
Maximum number of tries to check if the device is provisioned yet. Defaults to 100.
-
getForceLocalAccountUpdate
final Boolean getForceLocalAccountUpdate()
Whether to update the local account before trying the reencryption.
-
setForceLocalAccountUpdate
final Unit setForceLocalAccountUpdate(Boolean forceLocalAccountUpdate)
Whether to update the local account before trying the reencryption.
-
-
-
-