Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Latest commit

 

History

History
6 lines (4 loc) · 703 Bytes

02-caching.md

File metadata and controls

6 lines (4 loc) · 703 Bytes

Caching

The schema manager is informed of the schema definition by the cache manager. The cache manager is responsible for reading the schema annotations and parsing to a json schema cache file. The manager is also responsible for reading the cache file and parsing to a CacheFile object. The CacheFile returns information about the schema. Schema data can get gathered either by property name or bit number.

The schema data is returned in the PropertyAnnotationContainer container class. The PropertyAnnotationContainer can return information about the property such as its bit, length, setter name, etc.

A new cache file should be generated every time a change is made to a schema class.