public class PretendSizer extends com.gemstone.gemfire.cache.util.ObjectSizerImpl implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
numberOfCalls |
| Constructor and Description |
|---|
PretendSizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize(Object o)
Just return the myValue field of the expected ValueHolder argument.
|
int |
sizeof(Object o) |
public int sizeof(Object o)
sizeof in interface com.gemstone.gemfire.cache.util.ObjectSizersizeof in class com.gemstone.gemfire.cache.util.ObjectSizerImplpublic int getSize(Object o)
o - The object to return the pretend size for (must be an instance
of util.ValueHolder.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.