Package com.gigaspaces.annotation.pojo
Annotation Interface SpaceClassBinaryStorage
Indicates that entries of this class will be stored in-memory in a packed binary format. Binary storage reduces
memory consumption, but requires unpacking when accessing the data at the server side (e.g. matching or aggregation).
By default, non-indexed properties are stored in binary format, whereas indexed properties are stored in object format,
providing a balanced tradeoff between performance and memory footprint. You can override that default per property
using the
SpacePropertyStorage annotation.- Since:
- 15.8
- Author:
- Yael Nahon, Niv Ingberg
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDetermines the layout of the binary storage
-
Element Details
-
layout
ClassBinaryStorageLayout layoutDetermines the layout of the binary storage- Default:
- DEFAULT
-