| Interface | Description |
|---|---|
| RefCounted |
An object that needs ref counting does the following:
- defines a Tidy object that will cleanup once it's gone,
(this must retain no references to the object we're tracking (only its resources and how to clean up))
- implements RefCounted
- encapsulates a RefCounted.Impl, to which it proxies all calls to RefCounted behaviours
- ensures no external access to the encapsulated Impl, and permits no references to it to leak
- users must ensure no references to the sharedRef leak, or are retained outside of a method scope either.
|
| RefCounted.Tidy | |
| WaitQueue.Signal |
A Signal is a one-time-use mechanism for a thread to wait for notification that some condition
state has transitioned that it may be interested in (and hence should check if it is).
|
| Class | Description |
|---|---|
| Locks | |
| OpOrder |
A class for providing synchronization between producers and consumers that do not
communicate directly with each other, but where the consumers need to process their
work in contiguous batches.
|
| OpOrder.Group |
Represents a group of identically ordered operations, i.e.
|
| Ref |
A single managed reference to a RefCounted object
|
| RefCounted.Impl | |
| Refs<T extends RefCounted> |
A collection of managed Ref references to RefCounted objects, and the objects they are referencing.
|
| SimpleCondition | |
| WaitQueue |
A relatively easy to use utility for general purpose thread signalling.
|
| WaitQueue.AbstractSignal |
An abstract signal implementation
|
Copyright © 2015 The Apache Software Foundation