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()
Delayer
getRequestPermission
in interface Delayer
public void requestFinished()
Delayer
requestFinished
in interface Delayer
public long getDelay()
Delayer
Copyright © 2017–2020. All rights reserved.