wrench::StorageServiceProperty

class StorageServiceProperty : public wrench::ServiceProperty

Configurable properties for a StorageService.

Subclassed by wrench::CompoundStorageServiceProperty, wrench::SimpleStorageServiceProperty, wrench::StorageServiceProxyProperty

Public Static Attributes

static const std::string BUFFER_SIZE

Buffer size used when copying/communicating data:

  • “0”: an ideal fluid model (very fast simulation)

  • ”infinity”: read/write and forward model (very fast, but likely less realistic simulation)

  • any integral value in between: an actual buffer size (the smaller the buffer size, the slower the simulation)

  • Default value: “0” (fluid)

  • Example values: “0”, “infinity”, “42”, “10000000”, “42B”, “56MB”, “100KiB”, etc.

static const std::string CACHING_BEHAVIOR

The caching behavior. Possible values are:

  • “NONE” (default): no caching, i.e., if not enough space is available for a new file, then the file write/creation fails.

  • ”FIFO”: FIFO policy, i.e., if not enough space is available for a new file, the oldest files are deleted until enough space is available.

  • ”LRU”: Least Recently Used policy, i.e., if not enough space is available for a new file, the Least Recently Used files are deleted until enough space is available.