@Experimental public class Pdx extends AbstractConfiguration<PdxInfo>
| Modifier and Type | Field and Description |
|---|---|
static String |
PDX_ENDPOINT |
static String |
PDX_ID |
CLUSTER| Constructor and Description |
|---|
Pdx() |
| Modifier and Type | Method and Description |
|---|---|
AutoSerializer |
getAutoSerializer() |
String |
getDiskStoreName() |
String |
getId()
Returns
PDX_ID |
Links |
getLinks()
for internal usage only
|
ClassName |
getPdxSerializer() |
Boolean |
isIgnoreUnreadFields() |
Boolean |
isReadSerialized() |
void |
setAutoSerializer(AutoSerializer autoSerializer) |
void |
setDiskStoreName(String diskStoreName)
Setting a non-null diskStoreName causes the Pdx information
to be persisted to the named disk store.
|
void |
setIgnoreUnreadFields(Boolean ignoreUnreadFields)
Setting ignoreUnreadFields to true can save memory during pdx deserialization but if the
deserialized
object is reserialized then the unread field data will be lost.
|
void |
setPdxSerializer(ClassName pdxSerializer) |
void |
setReadSerialized(Boolean readSerialized)
Setting readSerialized to true causes any pdx deserialization to produce
instances of org.apache.geode.pdx.PdxInstance interface in the geode-core module
instead of a domain class instance.
|
getCreationCommandType, getGroup, getGroupName, isCluster, isGlobalRuntimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, find, removepublic static final String PDX_ID
public static final String PDX_ENDPOINT
public String getId()
PDX_IDgetId in interface Identifiable<String>getId in class AbstractConfiguration<PdxInfo>public Links getLinks()
AbstractConfigurationgetLinks in class AbstractConfiguration<PdxInfo>public AutoSerializer getAutoSerializer()
public void setAutoSerializer(AutoSerializer autoSerializer)
IllegalArgumentException - if a pdxSerializer has already been setpublic Boolean isReadSerialized()
public void setReadSerialized(Boolean readSerialized)
public ClassName getPdxSerializer()
public void setPdxSerializer(ClassName pdxSerializer)
pdxSerializer - the class name given must implement the
org.apache.geode.pdx.PdxSerializer interface from the geode-core module.IllegalArgumentException - if an autoSerializer has already been setpublic Boolean isIgnoreUnreadFields()
public void setIgnoreUnreadFields(Boolean ignoreUnreadFields)
public String getDiskStoreName()
public void setDiskStoreName(String diskStoreName)