public class FProxyFetchTracker
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
FProxyFetchTracker(ClientContext context,
FetchContext fctx,
RequestClient rc) |
Modifier and Type | Method and Description |
---|---|
FProxyFetchInProgress |
getFetchInProgress(FreenetURI key,
long maxSize,
FetchContext fctx)
Gets an FProxyFetchInProgress identified by the URI and the maxsize.
|
FProxyFetchWaiter |
makeFetcher(FreenetURI key,
long maxSize,
FetchContext fctx,
FProxyFetchInProgress.REFILTER_POLICY refilterPolicy) |
int |
makeRandomElementID() |
FProxyFetchWaiter |
makeWaiterForFetchInProgress(FreenetURI key,
long maxSize,
FetchContext fctx) |
void |
queueCancel(FProxyFetchInProgress progress) |
void |
run() |
public FProxyFetchTracker(ClientContext context, FetchContext fctx, RequestClient rc)
public FProxyFetchWaiter makeFetcher(FreenetURI key, long maxSize, FetchContext fctx, FProxyFetchInProgress.REFILTER_POLICY refilterPolicy) throws FetchException
FetchException
public FProxyFetchWaiter makeWaiterForFetchInProgress(FreenetURI key, long maxSize, FetchContext fctx)
public FProxyFetchInProgress getFetchInProgress(FreenetURI key, long maxSize, FetchContext fctx)
key
- - The URI of the fetchmaxSize
- - The maxSize of the fetchfctx
- TODOpublic void queueCancel(FProxyFetchInProgress progress)
public void run()
run
in interface java.lang.Runnable
public int makeRandomElementID()