Operations
The purpose of the Operations Cache is to load the configuration of an ACO operation, which is fairly static into memory, so that commonly reused items such as column definitions, views and related location twins are quickly accessible.
OperationsCache Class
- class ClientSDK.CacheHelper.OperationsCache
Methods
GetOperationById
Finds the Operation GUID given the index of the operation.
Required Role(s): Any
- ClientSDK.CacheHelper.OperationsCache.GetOperationById(string guid)
- Parameters
guid (string) – unique identifier of the operation.
- Return type
GuidByIndex
Finds the Operation GUID given the index of the operation.
Required Role(s): Any
- ClientSDK.CacheHelper.OperationsCache.GuidByIndex(string index)
- Parameters
index (string) – Zero-based index of the operation.
- Return type
Task<bool>
LoadAsync
Loads the operations cache. After the operations cache is loaded, the user can dive into individual operation cache.
Required Role(s): Any
- ClientSDK.CacheHelper.OperationsCache.LoadOperationsAsync()
- Return type
Task<bool>
Name
Finds the Operation Name given the GUID of the operation.
Required Role(s): Any
- ClientSDK.CacheHelper.OperationsCache.Name(string guid)
- Parameters
guid (string) – unique identifier of the operation.
- Return type
Task<bool>
Properties
Units
- ClientSDK.CacheHelper.OperationsCache.DefaultOperation
- Return type