|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.manager.RequestTracker
public class RequestTracker
A class for tracking, canceling, and restarting in progress, completed, and failed requests.
Constructor Summary | |
---|---|
RequestTracker()
|
Method Summary | |
---|---|
void |
clearRequests()
Cancels all requests and clears their resources. |
boolean |
isPaused()
Returns true if requests are currently paused, and false otherwise. |
void |
pauseRequests()
Stops any in progress requests. |
void |
removeRequest(Request request)
Stops tracking the given request. |
void |
restartRequests()
Restarts failed requests and cancels and restarts in progress requests. |
void |
resumeRequests()
Starts any not yet completed or failed requests. |
void |
runRequest(Request request)
Starts tracking the given request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestTracker()
Method Detail |
---|
public void runRequest(Request request)
public void removeRequest(Request request)
public boolean isPaused()
true
if requests are currently paused, and false
otherwise.
public void pauseRequests()
public void resumeRequests()
public void clearRequests()
public void restartRequests()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |