softwarecontainer  0.18.0-739e8d7 2017-05-04
softwarecontainer::DynamicContainerOptions Class Reference

Public Member Functions

std::unique_ptr< SoftwareContainerConfigtoConfig (const SoftwareContainerConfig &conf) const
 
void setWriteBufferEnabled (bool enabled)
 
bool writeBufferEnabled () const
 
void setTemporaryFileSystemWriteBufferEnabled (bool enabled)
 Setter for the temporaryFileSystemWriteBufferEnableds variable used to tell the container if it shall mount a separate tmpfs on top of the temp directory. More...
 
bool temporaryFileSystemWriteBufferEnabled () const
 Getter for the temporaryFileSystemWriteBufferEnableds variable. More...
 
void setTemporaryFileSystemSize (unsigned int size)
 Setter for the temporaryFileSystemSize which is used to tell the system the size of the tmpfs being mounted on the temp directory. More...
 
unsigned int temporaryFileSystemSize () const
 Getter for the temporaryFileSystemSize variable. More...
 

Detailed Description

Definition at line 28 of file dynamiccontaineroptions.h.

Member Function Documentation

void softwarecontainer::DynamicContainerOptions::setTemporaryFileSystemWriteBufferEnabled ( bool  enabled)

Setter for the temporaryFileSystemWriteBufferEnableds variable used to tell the container if it shall mount a separate tmpfs on top of the temp directory.

Definition at line 43 of file dynamiccontaineroptions.cpp.

44 {
45  m_temporaryFileSystemWriteBufferEnabled = enabled;
46 }
bool softwarecontainer::DynamicContainerOptions::temporaryFileSystemWriteBufferEnabled ( ) const

Getter for the temporaryFileSystemWriteBufferEnableds variable.

Definition at line 48 of file dynamiccontaineroptions.cpp.

49 {
50  return m_temporaryFileSystemWriteBufferEnabled;
51 }
void softwarecontainer::DynamicContainerOptions::setTemporaryFileSystemSize ( unsigned int  size)

Setter for the temporaryFileSystemSize which is used to tell the system the size of the tmpfs being mounted on the temp directory.

Parameters
sizein bytes of the filesystem

Definition at line 53 of file dynamiccontaineroptions.cpp.

54 {
55  m_temporaryFileSystemSize = size;
56 }
unsigned int softwarecontainer::DynamicContainerOptions::temporaryFileSystemSize ( ) const

Getter for the temporaryFileSystemSize variable.

Returns
the size

Definition at line 58 of file dynamiccontaineroptions.cpp.

59 {
60  return m_temporaryFileSystemSize;
61 }

The documentation for this class was generated from the following files: