Class PartitionedDataStorageDataLossErrorModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] The 'DataLoss' model for the 'PartitionedDataStorage' component will randomly delete data from the storage system at a particular time interval.
public class PartitionedDataStorageDataLossErrorModel : UniverseModel<PartitionedDataStorage>
- Inheritance
-
PartitionedDataStorageDataLossErrorModel
Constructors
PartitionedDataStorageDataLossErrorModel()
Default constructor
protected PartitionedDataStorageDataLossErrorModel()
Fields
DeletionMean
The mean number of bytes that should be deleted from a cluster when a deletion occurs.
[Unit("B")]
public double DeletionMean
Field Value
DeletionStd
The standard deviation that defines how many bytes should be deleted from a cluster when a deletion occurs.
[Unit("B")]
public double DeletionStd
Field Value
DeletionTime
The deletion time sleep time
[Unit(UnitType.SECOND)]
[ReadOnly]
public double DeletionTime
Field Value
TimeMean
The time particular mean that defines the next deletion time when data will be deleted from the system.
[Unit(UnitType.SECOND)]
public double TimeMean
Field Value
TimeStd
The time standard deviation that defines the next deletion time when data will be deleted from the system.
[Unit(UnitType.SECOND)]
public double TimeStd
Field Value
Methods
OnBegin(double)
Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.
protected override void OnBegin(double time)
Parameters
time
double[s] Current time of the simulation before the tick
OnUpdate(double, double)
Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.
protected override void OnUpdate(double time, double step)