Package | Description |
---|---|
org.apache.river.concurrent |
Custard-apple is a utility that enables weak, soft, strong
or time references to be used in any collection implementing standard
Java Framework Interfaces
Expected behaviour of reference types may vary between platforms
and should not be depended upon other than; weak references will
be collected when no further strong references remain and soft
references may be collected at any time the JVM's available memory
is under pressure and the referent is softly reachable.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
RefReferenceQueue<T>
A ReferenceQueue that implements RefQueue
|
(package private) class |
TimedRefQueue |
Modifier and Type | Field and Description |
---|---|
private RefQueue<T> |
ReferenceProcessor.queue |
private RefQueue |
ReferenceProcessor.CleanerTask.queue |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> Referrer<T> |
ReferenceFactory.create(T t,
RefQueue<? super T> queue,
Ref type) |
Constructor and Description |
---|
CleanerTask(Collection c,
RefQueue queue) |
ReferenceProcessor(Collection<Referrer<T>> col,
Ref type,
RefQueue<T> queue,
boolean gcThreads,
Object lock) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.