org.gudy.azureus2.core3.history.impl
Class DownloadHistoryManagerImpl
java.lang.Object
org.gudy.azureus2.core3.history.impl.DownloadHistoryManagerImpl
- All Implemented Interfaces:
- DownloadHistoryManager
public class DownloadHistoryManagerImpl
- extends Object
- implements DownloadHistoryManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadHistoryManagerImpl
public DownloadHistoryManagerImpl()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface DownloadHistoryManager
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface DownloadHistoryManager
getHistoryCount
public int getHistoryCount()
- Specified by:
getHistoryCount
in interface DownloadHistoryManager
removeHistory
public void removeHistory(List<DownloadHistory> to_remove)
- Specified by:
removeHistory
in interface DownloadHistoryManager
resetHistory
public void resetHistory()
- Specified by:
resetHistory
in interface DownloadHistoryManager
getDates
public long[] getDates(byte[] hash)
- Specified by:
getDates
in interface DownloadHistoryManager
- Returns:
- [ added, completed, removed, redownloaded (transient)]
addListener
public void addListener(DownloadHistoryListener listener,
boolean fire_for_existing)
- Specified by:
addListener
in interface DownloadHistoryManager
removeListener
public void removeListener(DownloadHistoryListener listener)
- Specified by:
removeListener
in interface DownloadHistoryManager