class SchedulerChooser extends Object
| Constructor and Description |
|---|
SchedulerChooser(I2PAppContext context)Create a new scheduler chooser with all available schedulers. |
| Modifier and Type | Method and Description |
|---|---|
TaskScheduler | getScheduler(Connection con)Return the appropriate scheduler for the given connection. |
public SchedulerChooser(I2PAppContext context)
context - the application contextpublic TaskScheduler getScheduler(Connection con)
con - the connection to schedule