本文整理了Java中org.geotools.util.WeakCollectionCleaner.getReferenceQueue()
方法的一些代码示例,展示了WeakCollectionCleaner.getReferenceQueue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WeakCollectionCleaner.getReferenceQueue()
方法的具体详情如下:
包路径:org.geotools.util.WeakCollectionCleaner
类名称: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 {
内容来源于网络,如有侵权,请联系作者删除!