Faultline API Reference

All Types / Faultline.Storage

class SimDiskConfig

public sealed class SimDiskConfig

Configuration for simulated disk I/O latency and crash-fault behavior on a SimFileSystem.

Properties

public TimeSpan MinLatency
public TimeSpan MaxLatency
public double TornWriteProbability

Probability [0.0, 1.0] that an unflushed write results in a partial (torn) prefix persisting on SimHost.Crash instead of rolling back cleanly to the last flushed state.