Get a segment instance

The cache_service reference used below is already defined in the component instance page.

When the segment ID is passed as a parameter, the cache implementation will refer to that particular segment. When the segment ID is not specified explicitly, then it will refer to the default segment.

    
copy
#Get segment instance segment_service = cache_service.segment()

Last Updated 2023-12-18 16:20:08 +0530 +0530

ON THIS PAGE

RELATED LINKS

Cache