Annotation Interface EnablePdx
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(PdxConfiguration.class)
public @interface EnablePdx
The
EnablePdx
annotation marks a Spring @Configuration
annotated Class
to enable the Apache Geode PDX features and functionality in this peer cache, cluster member or cache client
application.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionConfigures the disk store that is used for PDX meta data.boolean
Configures whether pdx ignores fields that were unread during deserialization.boolean
Configures whether the type metadata for PDX objects is persisted to disk.boolean
Configures the object preference toPdxInstance
type orObject
.Configures the PDX serializer to be used by the cache to serialize object data.
-
Element Details
-
diskStoreName
String diskStoreNameConfigures the disk store that is used for PDX meta data. Use the spring.data.gemfire.pdx.disk-store-name property in application.properties.- Default:
- ""
-
ignoreUnreadFields
boolean ignoreUnreadFieldsConfigures whether pdx ignores fields that were unread during deserialization. Default is false. Use the spring.data.gemfire.pdx.ignore-unread-fields property in application.properties.- Default:
- false
-
persistent
boolean persistentConfigures whether the type metadata for PDX objects is persisted to disk. Default is false. Use the spring.data.gemfire.pdx.persistent property in application.properties.- Default:
- false
-
readSerialized
boolean readSerializedConfigures the object preference toPdxInstance
type orObject
. Default is false. Use the spring.data.gemfire.pdx.read-serialized property in application.properties.- Default:
- false
-
serializerBeanName
String serializerBeanNameConfigures the PDX serializer to be used by the cache to serialize object data. Use the spring.data.gemfire.pdx.serializer-bean-name property in application.properties.- Default:
- ""
-