public class LatencyController extends Object implements ChangeColorEventListener<ChangeColorEvent>
| Modifier and Type | Field and Description |
|---|---|
org.slf4j.Logger |
log |
| Constructor and Description |
|---|
LatencyController() |
LatencyController(String name) |
LatencyController(String name,
SystemMonitorManager monitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeColorEventListener(VideoTag type,
WebPage testClient,
String name) |
void |
checkLatency(long testTime,
TimeUnit testTimeUnit,
WebPage client) |
void |
checkLatency(long testTime,
TimeUnit testTimeUnit,
WebPage localClient,
WebPage remoteClient) |
void |
checkLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
WebPage client) |
void |
checkLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
WebPage localClient,
WebPage remoteClient) |
void |
checkLatencyInBackground(WebPage localClient,
WebPage remoteClient) |
void |
drawChart(String filename,
int width,
int height) |
void |
failIfLatencyProblem() |
Map<Long,LatencyRegistry> |
getLatencyMap() |
long |
getLatencyThreshold() |
long |
getLatencyThreshold(TimeUnit timeUnit) |
TimeUnit |
getLatencyTimeUnit() |
String |
getName() |
long |
getTimeout() |
TimeUnit |
getTimeoutTimeUnit() |
void |
logLatencyErrorrs() |
void |
onEvent(ChangeColorEvent event) |
void |
setConsecutiveFailMax(int consecutiveFailMax) |
void |
setLatencyRate(long latencyRate) |
void |
setLatencyThreshold(long latencyThreshold,
TimeUnit latencyThresholdTimeUnit) |
void |
setTimeout(long timeout,
TimeUnit timeoutTimeUnit) |
void |
writeCsv(String csvTitle) |
public LatencyController(String name)
public LatencyController(String name, SystemMonitorManager monitor)
public LatencyController()
public void onEvent(ChangeColorEvent event)
onEvent in interface ChangeColorEventListener<ChangeColorEvent>public void checkLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
WebPage client)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void checkLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
WebPage localClient,
WebPage remoteClient)
public void checkLatencyInBackground(WebPage localClient, WebPage remoteClient)
public void checkLatency(long testTime,
TimeUnit testTimeUnit,
WebPage client)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void checkLatency(long testTime,
TimeUnit testTimeUnit,
WebPage localClient,
WebPage remoteClient)
public void addChangeColorEventListener(VideoTag type, WebPage testClient, String name)
public void drawChart(String filename, int width, int height) throws IOException
IOExceptionpublic void writeCsv(String csvTitle) throws IOException
IOExceptionpublic void logLatencyErrorrs()
throws IOException
IOExceptionpublic long getLatencyThreshold(TimeUnit timeUnit)
public long getLatencyThreshold()
public void setLatencyThreshold(long latencyThreshold,
TimeUnit latencyThresholdTimeUnit)
public TimeUnit getLatencyTimeUnit()
public long getTimeout()
public void setTimeout(long timeout,
TimeUnit timeoutTimeUnit)
public TimeUnit getTimeoutTimeUnit()
public void failIfLatencyProblem()
public String getName()
public void setLatencyRate(long latencyRate)
public void setConsecutiveFailMax(int consecutiveFailMax)
public Map<Long,LatencyRegistry> getLatencyMap()
Copyright © 2018 Kurento. All rights reserved.