Interface ByteStorageFactory
-
- All Known Implementing Classes:
ChunkBasedByteStorageFactory,InMemoryByteStorageFactory,OverflowToDiskByteStorageFactory
public interface ByteStorageFactoryFactory that createsByteStorage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteStoragecreate()Creates a new storage.
-
-
-
Method Detail
-
create
ByteStorage create() throws java.io.IOException
Creates a new storage.- Returns:
- a storage that should be closed when no longer used.
- Throws:
java.io.IOException
-
-