|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.get.GetFileToolFailedChunksListener
public class GetFileToolFailedChunksListener
| Constructor Summary | |
|---|---|
GetFileToolFailedChunksListener()
|
|
| Method Summary | |
|---|---|
void |
failedData(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a data chunk could not be downloaded. |
void |
failedDirectory(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a directory download has failed. |
void |
failedFile(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a file download has failed. |
void |
failedMetaData(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a meta data chunk could not be downloaded. |
void |
finishedData(GetFileToolEvent event)
Notification that a data chunk has been downloaded. |
void |
finishedDirectory(GetFileToolEvent event)
Notification that a directory download has finished. |
void |
finishedFile(GetFileToolEvent event)
Notification that a file download has finished. |
void |
finishedMetaData(GetFileToolEvent event)
Notification that a meta data chunk has been downloaded. |
java.util.Map<BigHash,java.util.Set<BigHash>> |
getMissingDataChunks()
Return all the data chunks reported by the tool as missing in an unmodifiable container. |
java.util.Set<BigHash> |
getMissingMetaDataChunks()
Return all the meta data chunks reported by the tool as missing in an unmodifiable container. |
void |
message(java.lang.String msg)
Notification of any other event occurence. |
void |
skippedFile(GetFileToolEvent event)
Notification that a file downloaded has been skipped. |
void |
startedData(GetFileToolEvent event)
Notificatin that a data chunk is starting to be downloaded. |
void |
startedDirectory(GetFileToolEvent event)
Notification that a directory download has started. |
void |
startedFile(GetFileToolEvent event)
Notification that a file download has started. |
void |
startedMetaData(GetFileToolEvent event)
Notification that a meta data chunk is starting to be downloaded. |
void |
startingDirectory(GetFileToolEvent event)
Notification that a directory download is starting. |
void |
startingFile(GetFileToolEvent event)
Notification that a file is starting to be downloaded. |
void |
tryingData(GetFileToolEvent event)
Notification that a data chunk is trying to be downloaded from a server. |
void |
tryingMetaData(GetFileToolEvent event)
Notification that a meta data chunk is trying to be downloaded from a server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetFileToolFailedChunksListener()
| Method Detail |
|---|
public void message(java.lang.String msg)
Notification of any other event occurence.
message in interface GetFileToolListenermsg - public void startedMetaData(GetFileToolEvent event)
Notification that a meta data chunk is starting to be downloaded.
startedMetaData in interface GetFileToolListenerevent - public void tryingMetaData(GetFileToolEvent event)
Notification that a meta data chunk is trying to be downloaded from a server.
tryingMetaData in interface GetFileToolListenerevent -
public void failedMetaData(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a meta data chunk could not be downloaded.
failedMetaData in interface GetFileToolListenerevent - public void finishedMetaData(GetFileToolEvent event)
Notification that a meta data chunk has been downloaded.
finishedMetaData in interface GetFileToolListenerevent - public void startedData(GetFileToolEvent event)
Notificatin that a data chunk is starting to be downloaded.
startedData in interface GetFileToolListenerevent - public void tryingData(GetFileToolEvent event)
Notification that a data chunk is trying to be downloaded from a server.
tryingData in interface GetFileToolListenerevent -
public void failedData(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a data chunk could not be downloaded.
failedData in interface GetFileToolListenerevent - public void finishedData(GetFileToolEvent event)
Notification that a data chunk has been downloaded.
finishedData in interface GetFileToolListenerevent - public void startingFile(GetFileToolEvent event)
Notification that a file is starting to be downloaded.
startingFile in interface GetFileToolListenerevent - public void startedFile(GetFileToolEvent event)
Notification that a file download has started.
startedFile in interface GetFileToolListenerevent - public void skippedFile(GetFileToolEvent event)
Notification that a file downloaded has been skipped.
skippedFile in interface GetFileToolListenerevent - public void finishedFile(GetFileToolEvent event)
Notification that a file download has finished.
finishedFile in interface GetFileToolListenerevent -
public void failedFile(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a file download has failed.
failedFile in interface GetFileToolListenerevent - public void startingDirectory(GetFileToolEvent event)
Notification that a directory download is starting.
startingDirectory in interface GetFileToolListenerevent - public void startedDirectory(GetFileToolEvent event)
Notification that a directory download has started.
startedDirectory in interface GetFileToolListenerevent - public void finishedDirectory(GetFileToolEvent event)
Notification that a directory download has finished.
finishedDirectory in interface GetFileToolListenerevent -
public void failedDirectory(GetFileToolEvent event,
java.util.Collection<PropagationExceptionWrapper> exceptions)
Notification that a directory download has failed.
failedDirectory in interface GetFileToolListenerevent - public java.util.Map<BigHash,java.util.Set<BigHash>> getMissingDataChunks()
Return all the data chunks reported by the tool as missing in an unmodifiable container.
Note that the map's key set are the meta data chunks that are missing corresponding data chunks; the associated value set of hashes are the missing data chunks.
If a meta data is not missing any associated data chunks, it will not be in this collection.
public java.util.Set<BigHash> getMissingMetaDataChunks()
Return all the meta data chunks reported by the tool as missing in an unmodifiable container.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||