'Declaration Public Overloads Sub Create( _ ByVal tableName As String, _ ByVal filter As String, _ ByVal refreshInterval As Integer, _ ByVal intervalUnit As RefreshIntervalUnit, _ ByVal fullRefresh As Boolean _ )
public void Create( string tableName, string filter, int refreshInterval, RefreshIntervalUnit intervalUnit, bool fullRefresh )
Parameters
- tableName
- The name of the table to create cache for.
- filter
- The cache filter - the condition the object must match to be stored in cache. Must be valid SOQL WHERE clause (without the WHERE keyword).
- refreshInterval
- The interval between automatic cache refreshing for a table in the cache.
- intervalUnit
- The time unit, the refresh interval is set in.
- fullRefresh
- true if full refresh method should be used (all objects, matching the filter if such is set, from thу specified table will be queried when performing cache refreshing); false if smart refresh method should be used (only objects that were created or modified since the last cache refreshing, will be queried when performing cache refreshing).