com.db4o.io
Interface GrowthStrategy
- All Known Implementing Classes:
- ConstantGrowthStrategy, DoublingGrowthStrategy
public interface GrowthStrategy
Strategy for file/byte array growth.
Method Summary |
long |
newSize(long curSize,
long requiredSize)
returns the incremented size after the growth
strategy has been applied |
newSize
long newSize(long curSize,
long requiredSize)
- returns the incremented size after the growth
strategy has been applied
- Parameters:
curSize
- the original size
- Returns:
- the new size, after the growth strategy has been
applied, must be bigger than curSize
Copyright 2009 Versant Corporation. All rights reserved.