|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
StorageCalculator implementations are responsible of calculating the size that uses a given Node or Property.
| Field Summary | |
static int |
BITS
|
static int |
BYTES
|
static int |
GIGABYTES
|
static int |
KILOBYTES
|
static int |
MEGABYTES
|
| Method Summary | |
double |
getSize(javax.jcr.Node node)
Calculate the size of the given node. |
double |
getSize(javax.jcr.Property property)
Calculate the size of the given property. |
void |
setUnit(int unit)
Sets the unit |
| Field Detail |
public static final int BITS
public static final int BYTES
public static final int KILOBYTES
public static final int MEGABYTES
public static final int GIGABYTES
| Method Detail |
public void setUnit(int unit)
unit - public double getSize(javax.jcr.Node node)
node -
public double getSize(javax.jcr.Property property)
property -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||