Annotation Type Storage


@Retention(RUNTIME)
@Target({TYPE,ANNOTATION_TYPE})
@Stereotype
@Alternative
public @interface Storage
The Storage class in Microstream indicates a class as a root instance. Object instances can be stored as simple records. One value after another as a trivial byte stream. References between objects are mapped with unique numbers, called ObjectId, or short OID. + With both combined, byte streams and OIDs, an object graph can be stored in a simple and quick way, as well as loaded, as a whole or partially. Ref: Root instances

Each application must have a unique class with this annotation. Note: To increase performance use immutable sub-graphs as often as possible.