@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=PdxConfiguration.class) public @interface EnablePdx
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.Annotation,
Import,
PdxConfiguration| 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.
|
Class<?>[] |
includeDomainTypes
When using the Spring Data Geode's (SDG)
MappingPdxSerializer most application domain types
are included for Apache Geode PDX serialization, by default. |
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 Class<?>[] includeDomainTypes
MappingPdxSerializer most application domain types
are included for Apache Geode PDX serialization, by default. However, certain types are excluded
by SDG's MappingPdxSerializer, such as java.*, javax.*, com.gemstone.*,
org.apache.geode.* and org.springframework.* types. This allows the default
behavior to be overridden when and where necessary.types to be handled by the MappingPdxSerializer, possibly overriding
the excluded types by default.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–2023 Pivotal Software, Inc.. All rights reserved.