public class DeltaPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
enforceDeltaObjectsOnly
(boolean)
Whether to complain if a test tries to use an object that does not
implement
Delta. |
static Long |
getBeforeUpdate
(boolean)
Whether to obtain an object to update by getting it from the cache
(default) or by instantiating an uninitialized instance.
|
| Constructor and Description |
|---|
DeltaPrms() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
enforceDeltaObjectsOnly() |
static boolean |
getBeforeUpdate() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long getBeforeUpdate
UpdatableObject and, if
uninitialized, must also implement Delta.
Defaults to true.
False is used for "full delta", where, for example, an empty peer or partitioned accessor can feed deltas to entries without the overhead of a get by creating a dummy object and setting only delta fields. Full delta does not work in the general case. It will cause object payload loss and cache inconsistency if the delta sender has a local cache, or if a delta receiver has to go back to the delta sender for the full object, since the dummy object will end up in one or more caches.
Used by #updateDeltaDataTask.
Not intended for randomization.
public static Long enforceDeltaObjectsOnly
Delta. Defaults to true,
so that it is harder to misconfigure a delta test.
This is for comparing delta to non-delta with the same delta client code.
Used by #updateDeltaDataTask.
Not intended for randomization.
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.