org.geotools.util.WeakCollectionCleaner.getReferenceQueue()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(83)

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

WeakCollectionCleaner.getReferenceQueue介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

public BufferSoftReference(ByteBuffer referent) {
  super(referent, WeakCollectionCleaner.DEFAULT.getReferenceQueue());
}

代码示例来源:origin: geotools/geotools

public DataStoreSoftReference(DataStore referent) {
  super(referent, WeakCollectionCleaner.DEFAULT.getReferenceQueue());
}

代码示例来源:origin: geotools/geotools

public void run() {
  ReferenceQueue<Object> rq;
  while ((rq = getReferenceQueue()) != null) {
    try {

代码示例来源:origin: org.geotools/gt-data

public DataStoreSoftReference(DataStore referent) {
  super(referent, WeakCollectionCleaner.DEFAULT.getReferenceQueue());
}

代码示例来源:origin: org.geotools/gt-metadata

public BufferSoftReference(ByteBuffer referent) {
  super(referent, WeakCollectionCleaner.DEFAULT.getReferenceQueue());
}

代码示例来源:origin: org.geotools/gt-directory

public DataStoreSoftReference(DataStore referent) {
  super(referent, WeakCollectionCleaner.DEFAULT.getReferenceQueue());
}

代码示例来源:origin: mjiderhamn/classloader-leak-prevention

@Override
 protected void triggerLeak() throws Exception {    
  WeakCollectionCleaner.DEFAULT.getReferenceQueue();
 }
}

代码示例来源:origin: org.geotools/gt-metadata

public void run() {
  ReferenceQueue<Object> rq;
  while ((rq = getReferenceQueue ()) != null) {
    try {

相关文章