public enum CacheSyncData extends java.lang.Enum<CacheSyncData> implements ValueEnum
cache synchronization does with them. Set it on DSRequest.cacheSyncData or DSResponse.cacheSyncData. Not to be confused with CacheSyncMode, which is a different question: that controls whether a component with
no ResultSet picks such updates up at all, where this controls how much of a row
each record is claiming to be.
| Enum Constant and Description |
|---|
FULL
each record is the complete row.
|
PARTIAL
each record carries its primary keys plus only the fields that changed.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static CacheSyncData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheSyncData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheSyncData FULL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "full".
public static final CacheSyncData PARTIAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "partial".
public static CacheSyncData[] values()
for (CacheSyncData c : CacheSyncData.values()) System.out.println(c);
public static CacheSyncData valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null