Package com.db4o.io
Class NonFlushingStorage
- java.lang.Object
-
- com.db4o.io.StorageDecorator
-
- com.db4o.io.NonFlushingStorage
-
- All Implemented Interfaces:
Storage
public class NonFlushingStorage extends StorageDecorator
Storage adapter that does not pass flush calls on to its delegate. You can use thisStorage
for improved db4o speed at the risk of corrupted database files in case of system failure.
-
-
Field Summary
-
Fields inherited from class com.db4o.io.StorageDecorator
_storage
-
-
Constructor Summary
Constructors Constructor Description NonFlushingStorage(Storage storage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Bin
decorate(BinConfiguration config, Bin storage)
-
Methods inherited from class com.db4o.io.StorageDecorator
delete, exists, open, rename
-
-
-
-
Constructor Detail
-
NonFlushingStorage
public NonFlushingStorage(Storage storage)
-
-
Method Detail
-
decorate
protected Bin decorate(BinConfiguration config, Bin storage)
- Overrides:
decorate
in classStorageDecorator
-
-