| Modifier and Type | Field and Description |
|---|---|
private static DummyDelayer |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
DummyDelayer() |
| Modifier and Type | Method and Description |
|---|---|
static DummyDelayer |
get() |
long |
getDelay()
Returns the delay (in ms) that this instance typically would introduce
between two consecutive requests.
|
void |
getRequestPermission()
Waits for the permission to perform a new request.
|
void |
requestFinished()
informs the Delayer instance about the finished request.
|
private static DummyDelayer instance
public static DummyDelayer get()
public void getRequestPermission()
DelayergetRequestPermission in interface Delayerpublic void requestFinished()
DelayerrequestFinished in interface Delayerpublic long getDelay()
DelayerCopyright © 2017–2020. All rights reserved.