Package com.gigaspaces.annotation.pojo
Annotation Interface SpaceClass
Defines a class annotation of Entry/POJO objects. This class is annotations class describe the fields we are using for convert POJO to entry and entry to POJO with out gs xml file The annotation indicate POJO to entry attribute
- Since:
- 5.0
- Author:
- Lior Ben Yizhak
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhen cache policy is "BLOB_STORE" only the indices + minimal administrative information will be kept in cache per entry, while the data will be kept as blobs.booleanWhen broadcast is false, entries will distributed across partitions when true entries will be replicated to each partitionDetermines FIFO operations support for this class.When 'get' field method is not declared with SpaceProperty annotation it is taking into account as space field only if fieldInclusion is IncludeProperties.IMPLICIT.booleanDeprecated.booleanWhen space defined as persistent true value for this annotation will persist object of this type.booleanWhen running in partial replication mode, a true value for this field will replicate the all object of this type to target space(s)
-
Element Details
-
fifoSupport
FifoSupport fifoSupportDetermines FIFO operations support for this class.- See Also:
- Default:
- DEFAULT
-
replicate
boolean replicateWhen running in partial replication mode, a true value for this field will replicate the all object of this type to target space(s)- Default:
- true
-
persist
boolean persistWhen space defined as persistent true value for this annotation will persist object of this type. See more at the database cache and persistency section.- Default:
- true
-
inheritIndexes
Deprecated.Since 8.0 - To disable an index from the super class, override the relevant property with@SpaceIndex(SpaceIndexType.NONE).The index level indicate if to take into account the indexes which declared into superclasses or only in the instance itself- Returns:
- boolean true for inherit.
- Default:
- true
-
includeProperties
SpaceClass.IncludeProperties includePropertiesWhen 'get' field method is not declared with SpaceProperty annotation it is taking into account as space field only if fieldInclusion is IncludeProperties.IMPLICIT. The default is IncludeProperties.IMPLICIT to take into account all the POJO fields.- Default:
- IMPLICIT
-
storageType
StorageType storageType- Since:
- 9.0.0
- Default:
- DEFAULT
-
blobstoreEnabled
boolean blobstoreEnabledWhen cache policy is "BLOB_STORE" only the indices + minimal administrative information will be kept in cache per entry, while the data will be kept as blobs. This attribute when set to "false" disables blob-store of classes and keeping the entries entirely cached.- Returns:
- true if blobStore will be enabled
- Default:
- true
-
broadcast
boolean broadcastWhen broadcast is false, entries will distributed across partitions when true entries will be replicated to each partition- Returns:
- boolean true for broadcast.
- Default:
- false
-
@SpaceIndex(SpaceIndexType.NONE).