lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::SharedMemoryApi Class Reference

#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)
 

Detailed Description

API client for shared memory management via HTTP

Constructor & Destructor Documentation

◆ SharedMemoryApi()

lintel::SharedMemoryApi::SharedMemoryApi ( const std::shared_ptr< ClientProvider > &  clientProvider)
explicit

Member Function Documentation

◆ allRepositoriesOf()

std::vector< SharedMemoryRepositoryDto > lintel::SharedMemoryApi::allRepositoriesOf ( const std::string &  repositoryName = ".*",
const std::string &  segmentName = ".*" 
)
Returns
all repositories matching the given filters

◆ allSegmentsOf()

std::vector< SharedMemorySegmentDto > lintel::SharedMemoryApi::allSegmentsOf ( const std::string &  segmentName = ".*")
Parameters
segmentNameregex filter; return all matching segments

◆ growOf()

void lintel::SharedMemoryApi::growOf ( const std::string &  segmentName,
const std::string &  sizeStr 
)

Grow a shared memory segment by name and size

◆ repositoryOf()

std::string lintel::SharedMemoryApi::repositoryOf ( const std::string &  uuid)

Export a repository by UUID; return its content as string

◆ shrinkOf()

void lintel::SharedMemoryApi::shrinkOf ( const std::string &  segmentName)

Shrink a shared memory segment by name


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