@Target(value=TYPE) @Retention(value=RUNTIME) public @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
Modifier and Type | Optional Element and Description |
---|---|
boolean |
blobstoreEnabled
When 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.
|
boolean |
broadcast
When broadcast is false, entries will distributed across partitions
when true entries will be replicated to each partition
|
FifoSupport |
fifoSupport
Determines FIFO operations support for this class.
|
SpaceClass.IncludeProperties |
includeProperties
When 'get' field method is not declared with SpaceProperty annotation it is taking into
account as space field only if fieldInclusion is IncludeProperties.IMPLICIT.
|
boolean |
inheritIndexes
Deprecated.
Since 8.0 - To disable an index from the super class, override the relevant
property with
@SpaceIndex(SpaceIndexType.NONE) . |
boolean |
persist
When space defined as persistent true value for this annotation will persist object of this
type.
|
boolean |
replicate
When running in partial replication mode, a true value for this field will replicate the all
object of this type to target space(s)
|
StorageType |
storageType |
public abstract FifoSupport fifoSupport
FifoSupport
public abstract boolean replicate
public abstract boolean persist
@Deprecated public abstract boolean inheritIndexes
@SpaceIndex(SpaceIndexType.NONE)
.public abstract SpaceClass.IncludeProperties includeProperties
public abstract StorageType storageType
public abstract boolean blobstoreEnabled
Copyright © GigaSpaces.