public void removeListener(TableStructureModificationListener listener) {
    try {
      listeners_mon.enter();

      listeners.remove(listener);
    } finally {

      listeners_mon.exit();
    }
  }
  public void removeListener(LongTermStatsListener listener) {
    for (Object[] entry : listeners) {

      if (entry[0] == listener) {

        listeners.remove(entry);

        break;
      }
    }
  }
Esempio n. 3
0
  public void removeListener(DeviceListener listener) {
    synchronized (this) {
      if (device_listeners != null) {

        device_listeners.remove(listener);

        if (device_listeners.size() == 0) {

          device_listeners = null;
        }
      }
    }
  }
  public void removeListener(final PluginListener l) {
    listeners.remove(l);

    // we want to remove this ref, but there is a *small* chance that there's a parallel thread
    // firing the complete so
    // decrease chance of hanging onto unwanted ref

    new DelayedEvent(
        "PIL:clear",
        10000,
        new AERunnable() {
          public void runSupport() {
            synchronized (init_complete_fired_set) {
              init_complete_fired_set.remove(l);
            }
          }
        });
  }
  protected static void close(TRTrackerServerImpl server) {
    try {
      class_mon.enter();

      server.closeSupport();

      if (servers.remove(server)) {

        for (int i = 0; i < listeners.size(); i++) {

          ((TRTrackerServerFactoryListener) listeners.get(i)).serverDestroyed(server);
        }
      }
    } finally {

      class_mon.exit();
    }
  }
 public void removeListener(DiskManagerListener listener) {
   listeners.remove(listener);
 }
Esempio n. 7
0
 public void removeListener(SpeedManagerListener l) {
   listeners.remove(l);
 }
Esempio n. 8
0
 protected void destroy(SpeedManagerPingMapper mapper) {
   transient_mappers.remove(mapper);
 }
Esempio n. 9
0
 public void removeListener(TranscodeTargetListener listener) {
   listeners.remove(listener);
 }
Esempio n. 10
0
 public static void removeListener(TRTrackerUtilsListener l) {
   listeners.remove(l);
 }
 public void removeListener(ContentNetworkListener listener) {
   listeners.remove(listener);
 }
Esempio n. 12
0
 public void removeListener(DHTSpeedTesterContactListener listener) {
   listeners.remove(listener);
 }