org.gudy.azureus2.core3.history
Interface DownloadHistoryManager

All Known Implementing Classes:
DownloadHistoryManagerImpl

public interface DownloadHistoryManager


Method Summary
 void addListener(DownloadHistoryListener listener, boolean fire_for_existing)
           
 long[] getDates(byte[] hash)
           
 int getHistoryCount()
           
 boolean isEnabled()
           
 void removeHistory(List<DownloadHistory> history)
           
 void removeListener(DownloadHistoryListener listener)
           
 void resetHistory()
           
 void setEnabled(boolean enabled)
           
 

Method Detail

isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean enabled)

getHistoryCount

int getHistoryCount()

removeHistory

void removeHistory(List<DownloadHistory> history)

resetHistory

void resetHistory()

getDates

long[] getDates(byte[] hash)
Returns:
[ added, completed, removed, redownloaded (transient)]

addListener

void addListener(DownloadHistoryListener listener,
                 boolean fire_for_existing)

removeListener

void removeListener(DownloadHistoryListener listener)