public final class SizeUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
REFERENCE_SIZE |
| Constructor and Description |
|---|
SizeUtility(Class<?>[] types) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBatchSize(boolean accountForValueCache,
List<? extends List<?>> data) |
static int |
getSize(boolean isValueCacheEnabled,
Class<?> type) |
static long |
getSize(Object obj,
boolean accountForValueCache)
Get size of object
|
static boolean |
isVariableSize(Class<?> type) |
public static final int REFERENCE_SIZE
public SizeUtility(Class<?>[] types)
Copyright © 2019. All rights reserved.