@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface EnablePdx
EnablePdx annotation marks a Spring @Configuration annotated Class
to enable the Pivotal GemFire/Apache Geode PDX features and functionality in this peer cache, cluster member
or cache client application.Annotation,
AbstractCacheConfiguration.configurePdx(AnnotationMetadata)| Modifier and Type | Optional Element and Description |
|---|---|
String |
diskStoreName
Configures the disk store that is used for PDX meta data.
|
boolean |
ignoreUnreadFields
Configures whether pdx ignores fields that were unread during deserialization.
|
boolean |
persistent
Configures whether the type metadata for PDX objects is persisted to disk.
|
boolean |
readSerialized
Configures the object preference to
PdxInstance type or Object. |
String |
serializerBeanName
Configures the PDX serializer to be used by the cache to serialize object data.
|
public abstract String diskStoreName
public abstract boolean ignoreUnreadFields
public abstract boolean persistent
public abstract boolean readSerialized
PdxInstance type or Object.
Default is false.
Use the spring.data.gemfire.pdx.read-serialized property in application.properties.public abstract String serializerBeanName
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.