public abstract class IDecRefQueue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
m_lock |
protected int |
m_move_limit |
protected java.util.LinkedList<java.lang.Long> |
m_queue |
| Modifier | Constructor and Description |
|---|---|
protected |
IDecRefQueue() |
protected |
IDecRefQueue(int move_limit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(long o) |
protected void |
clear(Context ctx) |
protected abstract void |
decRef(Context ctx,
long obj) |
protected void |
incAndClear(Context ctx,
long o) |
protected abstract void |
incRef(Context ctx,
long obj) |
void |
setLimit(int l) |
protected final java.lang.Object m_lock
protected java.util.LinkedList<java.lang.Long> m_queue
protected int m_move_limit
protected IDecRefQueue()
protected IDecRefQueue(int move_limit)
public void setLimit(int l)
protected abstract void incRef(Context ctx, long obj)
protected abstract void decRef(Context ctx, long obj)
protected void incAndClear(Context ctx, long o)
protected void add(long o)
protected void clear(Context ctx)