GigaSpaces XAP 9.7.2 API

com.gigaspaces.annotation.pojo
Annotation Type SpaceClass


@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

Since:
5.0
Author:
Lior Ben Yizhak

Optional Element Summary
 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
           
 

fifoSupport

public abstract FifoSupport fifoSupport
Determines FIFO operations support for this class.

See Also:
FifoSupport
Default:
com.gigaspaces.annotation.pojo.FifoSupport.DEFAULT

replicate

public abstract 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)

Default:
true

persist

public abstract boolean persist
When 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
public abstract boolean 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

public abstract 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. The default is IncludeProperties.IMPLICIT to take into account all the POJO fields.

Default:
com.gigaspaces.annotation.pojo.SpaceClass.IncludeProperties.IMPLICIT

storageType

public abstract StorageType storageType
Since:
9.0.0
Default:
com.gigaspaces.metadata.StorageType.DEFAULT

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.