com.aelitis.azureus.core.networkmanager.impl
Class ReadController

java.lang.Object
  extended by 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.


Constructor Summary
ReadController()
           
 
Method Summary
 void addReadEntity(RateControlledEntity entity)
          Add the given entity to the controller for read processing.
 int getEntityCount()
           
 void removeReadEntity(RateControlledEntity entity)
          Remove the given entity from the controller.
 void updateStats(Set types, Map values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadController

public ReadController()
Method Detail

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()