org.gudy.azureus2.plugins.peers
Interface Piece


public interface Piece


Method Summary
 int getAllocatableRequestCount()
          number of requests that are available to be made
 boolean isDone()
           
 boolean isDownloading()
           
 boolean isFullyAllocatable()
          indicates if this piece is free and available to be allocated for download not done, needed and not downloading
 boolean isNeeded()
           
 

Method Detail

isDone

boolean isDone()

isNeeded

boolean isNeeded()

isDownloading

boolean isDownloading()

isFullyAllocatable

boolean isFullyAllocatable()
indicates if this piece is free and available to be allocated for download not done, needed and not downloading

Returns:

getAllocatableRequestCount

int getAllocatableRequestCount()
number of requests that are available to be made

Returns: