public abstract class IndexMockObjects extends MockObjectsSupport
IndexMockObjects class is a mock objects class allowing users to manually mock Apache Geode
or Pivotal GemFire Index objects and related objects in the org.apache.geode.cache.query package.Index,
IndexStatistics,
Mockito,
MockObjectsSupport| Constructor and Description |
|---|
IndexMockObjects() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.geode.cache.query.Index |
mockIndex(java.lang.String name,
java.lang.String fromClause,
java.lang.String indexedExpression,
java.lang.String projectionAttributes,
org.apache.geode.cache.Region region,
org.apache.geode.cache.query.IndexStatistics statistics,
org.apache.geode.cache.query.IndexType type) |
static org.apache.geode.cache.query.IndexStatistics |
mockIndexStatistics(int numberOfBucketIndexes,
long numberOfKeys,
long numberOfMapIndexKeys,
long numberOfValues,
long numberOfUpdates,
int readLockCount,
long totalUpdateTime,
long totalUses) |
mockObjectIdentifier, mockObjectIdentifier, newAdder, newGetter, newGetter, newGetter, newGetter, newGetter, newGetter, newGetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetterWithArgument, newSetterWithArument, newVoidAnswerpublic static org.apache.geode.cache.query.Index mockIndex(java.lang.String name,
java.lang.String fromClause,
java.lang.String indexedExpression,
java.lang.String projectionAttributes,
org.apache.geode.cache.Region region,
org.apache.geode.cache.query.IndexStatistics statistics,
org.apache.geode.cache.query.IndexType type)
public static org.apache.geode.cache.query.IndexStatistics mockIndexStatistics(int numberOfBucketIndexes,
long numberOfKeys,
long numberOfMapIndexKeys,
long numberOfValues,
long numberOfUpdates,
int readLockCount,
long totalUpdateTime,
long totalUses)