|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.io.DoublingGrowthStrategy
public class DoublingGrowthStrategy
Strategy for file/byte array growth that will always double the current size
Constructor Summary | |
---|---|
DoublingGrowthStrategy()
|
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 DoublingGrowthStrategy()
Method Detail |
---|
public long newSize(long curSize, long requiredSize)
GrowthStrategy
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 |