Class CacheThing

All Implemented Interfaces:
ISupportsAccessModifier, IConfigurableObject, INotScriptFriendly, ISupportsDeprecation, IDiffableObject, IAlertProvider, IAvatar, IEntityLifeCycleEvent, IEventMetadataProvider, IEventProvider, IPersistable, IPropertyProvider, IServiceMetadataProvider, IServiceProvider, IShapeProvider, ITaggableObject, IDependencyScannableObject, IImportDependencyHandler, IData, IDynamicServiceShape, IHierarchicalEntity, IEntityDefinition, IPersistableObject<String>, IDesignTimeSecurable, IDesignTimeSecurableEntity, IRunTimeSecurable, IRunTimeSecurableEntity, ISecurable, IVisibilitySecurable, IVisibilitySecurableEntity, IEventProcessor, IAspectContainer, INamedObject, Serializable

@ThingworxExtensionApiClass(since={10,0}, canInstantiate=true, canExtendOrImplement=true) public class CacheThing extends Thing implements IData, IDynamicServiceShape
CacheThing allows customers to access a fairly raw backing of a JSR 107 Cache. There is no guarantee of durability of the cache after system restart.

This Thing requires a configured DataShape with one or more primary Keys. The API is a fairly simple Put-Get-Delete-Clear API based on one-row InfoTables (ValueCollections). There are also Convenience Put-By-Key and Get-By-Key methods.

If ANY of the Cache Configurations are changed, the cache may automatically be purged for those changes to take effect.

See Also: