|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.io.ConstantGrowthStrategy
public class ConstantGrowthStrategy
Strategy for file/byte array growth by a constant factor
Constructor Summary | |
---|---|
ConstantGrowthStrategy(int growth)
|
Method Summary | |
---|---|
long |
newSize(long curSize,
long requiredSize)
returns the incremented size after the growth strategy has been applied |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantGrowthStrategy(int growth)
growth
- The constant growth sizeMethod Detail |
---|
public long newSize(long curSize, long requiredSize)
newSize
in interface GrowthStrategy
curSize
- the original size
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |