|
lintel 0.2.0
|
#include <SharedMemoryApi.h>
Public Member Functions | |
| SharedMemoryApi (const std::shared_ptr< ClientProvider > &clientProvider) | |
| std::vector< SharedMemorySegmentDto > | allSegmentsOf (const std::string &segmentName=".*") |
| void | shrinkOf (const std::string &segmentName) |
| void | growOf (const std::string &segmentName, const std::string &sizeStr) |
| std::vector< SharedMemoryRepositoryDto > | allRepositoriesOf (const std::string &repositoryName=".*", const std::string &segmentName=".*") |
| std::string | repositoryOf (const std::string &uuid) |
API client for shared memory management via HTTP
|
explicit |
| std::vector< SharedMemoryRepositoryDto > lintel::SharedMemoryApi::allRepositoriesOf | ( | const std::string & | repositoryName = ".*", |
| const std::string & | segmentName = ".*" |
||
| ) |
| std::vector< SharedMemorySegmentDto > lintel::SharedMemoryApi::allSegmentsOf | ( | const std::string & | segmentName = ".*" | ) |
| segmentName | regex filter; return all matching segments |
| void lintel::SharedMemoryApi::growOf | ( | const std::string & | segmentName, |
| const std::string & | sizeStr | ||
| ) |
Grow a shared memory segment by name and size
| std::string lintel::SharedMemoryApi::repositoryOf | ( | const std::string & | uuid | ) |
Export a repository by UUID; return its content as string
Shrink a shared memory segment by name