public interface Storage
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes any buffered data in this storage backend
|
StorageUnit |
getUnit(Torrent torrent,
TorrentFile torrentFile)
Get a storage unit for a particular torrent file.
|
StorageUnit getUnit(Torrent torrent, TorrentFile torrentFile)
torrent
- Torrent metainfotorrentFile
- Torrent file metainfovoid flush()
Copyright © 2016–2021. All rights reserved.