Bundle Cache Space
To load the golden record bundles as cache in ActiveSpaces, a distributed object BUNDLE is defined in the CacheConfig.xml file.
Refer to the following sample:
<Cache> <Name>BUNDLE</Name> <Description>This space contains global record bundles as cache</Description> <Type>distributed</Type> <ReplicationCount>0</ReplicationCount> <SingleByteObjectSize>3000</SingleByteObjectSize> <MultiByteObjectSize>4500</MultiByteObjectSize> <ListSize>500</ListSize> </Cache>
The
BUNDLE space contains the following fields:
Field Name | ActiveSpaces Data Type | Description |
---|---|---|
z_id | String | Refers to the bundle ID. This is a primary key. |
DATE | Datetime | Indicates the bundle creation date, using which you can evict bundles out of the cache based on the staleness |
RKEYLIST | String | Refers to the record key list that contains the record IDs concatenated with a separator ‘__’ |
BUNDLESTRUCT | String | Contains hints about the graph structure of the bundle |
RELATIONSHIPDEF | String | Encodes a list of relationships. The list is an encoded form of the IDs in the relationshipMetaInfo field in the Recordbundle cache. |
ALLRELATIONS | Blob | Serializes the map object (relationships per relationship definition) so that the allRelationship field inside the Recordbundle cache can be reestablished upon record bundle access from cache. |
rkeyidx | String | Indicates an index on the record key list for a quick search on the field. |
Copyright © Cloud Software Group, Inc. All rights reserved.