wrench::SimpleStorageServiceBufferized

class SimpleStorageServiceBufferized : public wrench::SimpleStorageService

The bufferized (i.e., BUFFER_SIZE > 0) implementation.

Public Functions

virtual void cleanup(bool has_returned_from_main, int return_value) override

Cleanup method.

Parameters:
  • has_returned_from_main – whether main() returned

  • return_value – the return value (if main() returned)

unsigned long countRunningFileTransferThreads()

Get number of File Transfer Threads that are currently running or are pending.

Returns:

The number of threads

virtual double getLoad() override

Get the load (number of concurrent reads) on the storage service.

Returns:

the load on the service