gpt4 book ai didi

com.tc.admin.common.XContainer.tearDown()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 19:33:05 25 4
gpt4 key购买 nike

本文整理了Java中com.tc.admin.common.XContainer.tearDown()方法的一些代码示例,展示了XContainer.tearDown()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XContainer.tearDown()方法的具体详情如下:
包路径:com.tc.admin.common.XContainer
类名称:XContainer
方法名:tearDown

XContainer.tearDown介绍

暂无

代码示例

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  synchronized (this) {
   clusterModel = null;
   appContext = null;
   regionInfoMap.clear();
   regionInfoMap = null;
   summaryLabel = null;
   tableModel.clear();
   table = null;
   tableModel = null;
   detailPanel = null;
   beanProvider = null;
   showConfigButton = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  synchronized (this) {
   clusterModel = null;
   appContext = null;
   regionInfoMap.clear();
   regionInfoMap = null;
   summaryLabel = null;
   tableModel.clear();
   table = null;
   tableModel = null;
   detailPanel = null;
   beanProvider = null;
   showConfigButton = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   h2lcPanel = null;
   runtimeStatsPanel = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-1.7-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  cacheManagerModel.removeCacheManagerModelListener(this);

  synchronized (this) {
   appContext = null;
   cacheManagerModel = null;
   summaryLabel = null;
   table = null;
   tableModel.clear();
   tableModel = null;
   clearCacheAction = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   h2lcPanel = null;
   runtimeStatsPanel = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   h2lcPanel = null;
   runtimeStatsPanel = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   mainPanel = null;
   vuMeterPanel = null;
   messagePanel = null;
   messageLabel = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   mainPanel = null;
   vuMeterPanel = null;
   messagePanel = null;
   messageLabel = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   mainPanel = null;
   overviewPanel = null;
   cacheRegionsPanel = null;
   h2lcStatsPanel = null;
   messagePanel = null;
   messageLabel = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   mainPanel = null;
   vuMeterPanel = null;
   messagePanel = null;
   messageLabel = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-1.7-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  IClusterModel clusterModel = cacheManagerModel.getClusterModel();
  if (clusterModel != null) {
   clusterModel.removePropertyChangeListener(clusterListener);
  }
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   cacheManagerModel = null;
   clusterListener = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  IClusterModel clusterModel = cacheManagerModel.getClusterModel();
  if (clusterModel != null) {
   clusterModel.removePropertyChangeListener(clusterListener);
  }
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   cacheManagerModel = null;
   clusterListener = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-1.7-ui

private void removePage(PagedView pagedView, String pageName) {
 Component page = pagedView.getPage(pageName);
 if (page != null) {
  pagedView.removePage(pageName);
  if (page instanceof XContainer) {
   ((XContainer) page).tearDown();
  } else if (page instanceof XTabbedPane) {
   ((XTabbedPane) page).tearDown();
  }
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  if (cacheManagerModel != null) {
   IClusterModel clusterModel = cacheManagerModel.getClusterModel();
   if (clusterModel != null) {
    clusterModel.removePropertyChangeListener(clusterListener);
   }
   clusterListener.tearDown();
  }

  synchronized (this) {
   appContext = null;
   cacheManagerModel = null;
   clusterListener = null;
  }

  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

private void removePage(PagedView pagedView, String pageName) {
 Component page = pagedView.getPage(pageName);
 if (page != null) {
  pagedView.removePage(pageName);
  if (page instanceof XContainer) {
   ((XContainer) page).tearDown();
  } else if (page instanceof XTabbedPane) {
   ((XTabbedPane) page).tearDown();
  }
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0

private void removePage(PagedView pagedView, String pageName) {
 Component page = pagedView.getPage(pageName);
 if (page != null) {
  pagedView.removePage(pageName);
  if (page instanceof XContainer) {
   ((XContainer) page).tearDown();
  } else if (page instanceof XTabbedPane) {
   ((XTabbedPane) page).tearDown();
  }
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  beanProvider.removeNotificationListener(this);
  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   regionTable = null;
   regionTableModel.clear();
   regionTableModel = null;
   refreshRegionsButton = null;
   beanProvider = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  beanProvider.removeNotificationListener(this);
  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   regionTable = null;
   regionTableModel.clear();
   regionTableModel = null;
   refreshRegionsButton = null;
   beanProvider = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  beanProvider.removeNotificationListener(this);
  clusterModel.removePropertyChangeListener(clusterListener);
  clusterListener.tearDown();

  synchronized (this) {
   appContext = null;
   clusterModel = null;
   clusterListener = null;
   regionTable = null;
   regionTableModel.clear();
   regionTableModel = null;
   refreshRegionsButton = null;
   beanProvider = null;
  }
  super.tearDown();
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

@Override
 public void tearDown() {
  if (!tornDown.compareAndSet(false, true)) { return; }

  cacheManagerModel.removeCacheManagerModelListener(this);
  cacheManagerModel.getEhcacheModel().addEhcacheModelListener(this);

  super.tearDown();

  ((XRootNode) treeModel.getRoot()).tearDownChildren();

  synchronized (this) {
   channel = null;
   cacheManagerModel = null;
   tree = null;
   treeModel = null;
  }
 }
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com