cterasdk.edge.cache module¶
-
class
cterasdk.edge.cache.Cache(gateway)¶ Bases:
cterasdk.edge.base_command.BaseCommandGateway cache configuration
-
disable()¶ Disable caching
-
enable()¶ Enable caching
-
force_eviction()¶ Force eviction
-
pin(path)¶ Pin a folder
Parameters: path (str) – Directory path
-
pin_all()¶ Pin all folders
-
pin_exclude(path)¶ Exclude a sub-folder from a pinned folder
Parameters: path (str) – Directory path
-
remove_pin(path)¶ Remove a pin from a previously pinned folder
Parameters: path (str) – Directory path
-
unpin_all()¶ Remove all folder pins
-