private class SelectionManager.SelectLoop extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
private long |
lastExceptionTime |
private int |
recentExceptionCount |
| Modifier | Constructor and Description |
|---|---|
private |
SelectLoop() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
private void |
throttleLoopOnException()
Throttles the select loop after an exception has been
caught: if a burst of 10 exceptions in 5 seconds occurs,
then wait for 10 seconds to curb busy CPU usage.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.