Class PdxType
java.lang.Object
org.apache.geode.cache.configuration.PdxType
A "pdx" element specifies the configuration for the portable data exchange (PDX) method of
serialization. The "read-serialized" attribute is "early access".
Java class for pdx-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pdx-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pdx-serializer" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
<element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="read-serialized" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="ignore-unread-fields" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="disk-store-name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected DeclarableTypeprotected Booleanprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the diskStoreName property.Gets the value of the pdxSerializer property.Gets the value of the ignoreUnreadFields property.Gets the value of the persistent property.Gets the value of the readSerialized property.voidsetDiskStoreName(String value) Sets the value of the diskStoreName property.voidsetIgnoreUnreadFields(Boolean value) Sets the value of the ignoreUnreadFields property.voidsetPdxSerializer(DeclarableType value) Sets the value of the pdxSerializer property.voidsetPersistent(Boolean value) Sets the value of the persistent property.voidsetReadSerialized(Boolean value) Sets the value of the readSerialized property.
-
Field Details
-
pdxSerializer
-
readSerialized
-
ignoreUnreadFields
-
persistent
-
diskStoreName
-
-
Constructor Details
-
PdxType
public PdxType()
-
-
Method Details
-
getPdxSerializer
Gets the value of the pdxSerializer property. possible object isDeclarableType- Returns:
- the type of the
PdxSerializer.
-
setPdxSerializer
Sets the value of the pdxSerializer property. allowed object isDeclarableType- Parameters:
value- the type ofPdxSerializerto use.
-
isReadSerialized
Gets the value of the readSerialized property. possible object isBoolean- Returns:
- true if read serialized is enabled, false otherwise.
-
setReadSerialized
Sets the value of the readSerialized property. allowed object isBoolean- Parameters:
value- enables or disables read serialized.
-
isIgnoreUnreadFields
Gets the value of the ignoreUnreadFields property. possible object isBoolean- Returns:
- true if unread fields are ignored, false otherwise.
-
setIgnoreUnreadFields
Sets the value of the ignoreUnreadFields property. allowed object isBoolean- Parameters:
value- determine whether to ignore unread fields.
-
isPersistent
Gets the value of the persistent property. possible object isBoolean- Returns:
- true if persistence is enabled, false otherwise.
-
setPersistent
Sets the value of the persistent property. allowed object isBoolean- Parameters:
value- enables or disables persistence.
-
getDiskStoreName
Gets the value of the diskStoreName property. possible object isString- Returns:
- the disk store name.
-
setDiskStoreName
Sets the value of the diskStoreName property. allowed object isString- Parameters:
value- the disk store name.
-