Class DownloadHistoryManagerImpl.DownloadHistoryImpl
java.lang.Object
com.biglybt.core.history.impl.DownloadHistoryManagerImpl.DownloadHistoryImpl
- All Implemented Interfaces:
DownloadHistory
- Enclosing class:
DownloadHistoryManagerImpl
private class DownloadHistoryManagerImpl.DownloadHistoryImpl
extends Object
implements DownloadHistory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, DownloadManager dm) DownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, Map<String, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetName()longlonggetSize()String[]getTags()byte[]byte[]longgetUID()(package private) voidvoid(package private) voidsetRemoved(List<Tag> removal_tags) See SearchResult properties for list(package private) boolean(package private) boolean(package private) boolean
-
Field Details
-
uid
private final long uid -
hash
private final byte[] hash -
hash_v2
private final byte[] hash_v2 -
size
private final long size -
add_time
private final long add_time -
name
-
save_location
-
tags
-
complete_time
private long complete_time -
remove_time
private long remove_time -
history_ref
-
-
Constructor Details
-
DownloadHistoryImpl
DownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, DownloadManager dm) -
DownloadHistoryImpl
DownloadHistoryImpl(Map<Long, DownloadHistoryManagerImpl.DownloadHistoryImpl> _history_ref, Map<String, Object> map) throws IOException- Throws:
IOException
-
-
Method Details
-
setHistoryReference
-
exportToMap
- Throws:
IOException
-
toPropertyMap
Description copied from interface:DownloadHistorySee SearchResult properties for list- Specified by:
toPropertyMapin interfaceDownloadHistory- Returns:
-
updateCompleteTime
-
updateSaveLocation
-
updateName
-
getUID
public long getUID()- Specified by:
getUIDin interfaceDownloadHistory
-
getTorrentHash
public byte[] getTorrentHash()- Specified by:
getTorrentHashin interfaceDownloadHistory
-
getTorrentV2Hash
public byte[] getTorrentV2Hash()- Specified by:
getTorrentV2Hashin interfaceDownloadHistory
-
getName
- Specified by:
getNamein interfaceDownloadHistory
-
getSize
public long getSize()- Specified by:
getSizein interfaceDownloadHistory
-
getSaveLocation
- Specified by:
getSaveLocationin interfaceDownloadHistory
-
getAddTime
public long getAddTime()- Specified by:
getAddTimein interfaceDownloadHistory
-
getCompleteTime
public long getCompleteTime()- Specified by:
getCompleteTimein interfaceDownloadHistory
-
getTags
- Specified by:
getTagsin interfaceDownloadHistory
-
setRemoved
-
getRemoveTime
public long getRemoveTime()- Specified by:
getRemoveTimein interfaceDownloadHistory
-
setRedownloading
public void setRedownloading()- Specified by:
setRedownloadingin interfaceDownloadHistory
-