abstract class BaseHandle extends Object
Modifier and Type | Field and Description |
---|---|
private Queue<? extends BaseHandle> |
content |
private EntryRep |
rep |
Modifier | Constructor and Description |
---|---|
protected |
BaseHandle(EntryRep rep,
Queue<? extends BaseHandle> content)
Create a new handle
|
Modifier and Type | Method and Description |
---|---|
String |
classFor() |
boolean |
remove()
Overridden and called from subclass.
|
abstract boolean |
removed() |
(package private) EntryRep |
rep()
Return the handle's
EntryRep object. |
private final EntryRep rep
private final Queue<? extends BaseHandle> content
protected BaseHandle(EntryRep rep, Queue<? extends BaseHandle> content)
content
- thread safe Queue from which this BaseHandle will be removed
atomically, BaseHandle is not added to content during construction,
as it would allow this to escape.rep
- EntryRep managed by this BaseHandle.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.