~smaioli/azureus/ubuntu-experimental

« back to all changes in this revision

Viewing changes to com/aelitis/azureus/core/networkmanager/impl/WriteController.java

MergedĀ VuzeĀ 4.2.0.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  
75
75
  private EventWaiter   write_waiter = new EventWaiter();
76
76
  
 
77
  private int   entity_count = 0;
 
78
  
77
79
  /**
78
80
   * Create a new write controller.
79
81
   */
358
360
        norm_new.add( entity );
359
361
        normal_priority_entities = norm_new;
360
362
      }
 
363
      
 
364
      entity_count = normal_priority_entities.size() + high_priority_entities.size();
361
365
    }
362
366
    finally {  entities_mon.exit();  }
363
367
  }
381
385
        norm_new.remove( entity );
382
386
        normal_priority_entities = norm_new;
383
387
      }
 
388
      
 
389
      entity_count = normal_priority_entities.size() + high_priority_entities.size();
384
390
    }
385
391
    finally {  entities_mon.exit();  }
386
392
  }
 
393
  
 
394
  public int
 
395
  getEntityCount()
 
396
  {
 
397
          return( entity_count );
 
398
  }
387
399
}