com.apama.cumulocity
Event StartSharedMOCache


Start a shared cache instance. Until this is done, there will be no responses from the shared cache for the given tenant.
Constant summary
 stringSEND_CHANNEL := "SharedManagedObjectCache_Send"

Channel to which to send start requests, regardless of the tenant in question.
 
Field summary
 optional<sequence<string>>cacheParams

The parameters to cache from the ManagedObjects.
 integermaxSize

The maximum number of items to be stored in the cache. Defaults to unlimited.
 floatidlePeriodSecs

The period in seconds after which an unaccessed cache item will be removed. Defaults to no items being removed for inactivity.
 com.apama.cumulocity.TenantDetailstenantDetails

The tenant id for which to create a cache instance in a multi-tenant application.
 
Constant detail

SEND_CHANNEL

string SEND_CHANNEL := "SharedManagedObjectCache_Send"
Channel to which to send start requests, regardless of the tenant in question.
Field detail

cacheParams

optional<sequence<string>> cacheParams
The parameters to cache from the ManagedObjects.

An empty value means cache the entire ManagedObject. An empty sequeence means cache no parameters, for example, if you are only interested in the position.

idlePeriodSecs

float idlePeriodSecs
The period in seconds after which an unaccessed cache item will be removed. Defaults to no items being removed for inactivity.

maxSize

integer maxSize
The maximum number of items to be stored in the cache. Defaults to unlimited.

tenantDetails

com.apama.cumulocity.TenantDetails tenantDetails
The tenant id for which to create a cache instance in a multi-tenant application.