com.aelitis.azureus.core.networkmanager.impl
Class ReadController
java.lang.Object
com.aelitis.azureus.core.networkmanager.impl.ReadController
- All Implemented Interfaces:
- AzureusCoreStatsProvider
public class ReadController
- extends Object
- implements AzureusCoreStatsProvider
Processes reads of read-entities and handles the read selector.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadController
public ReadController()
updateStats
public void updateStats(Set types,
Map values)
- Specified by:
updateStats
in interface AzureusCoreStatsProvider
addReadEntity
public void addReadEntity(RateControlledEntity entity)
- Add the given entity to the controller for read processing.
- Parameters:
entity
- to process reads for
removeReadEntity
public void removeReadEntity(RateControlledEntity entity)
- Remove the given entity from the controller.
- Parameters:
entity
- to remove from read processing
getEntityCount
public int getEntityCount()