Methods Summary |
---|
protected abstract void | close()A custom implementation. Performs an action if no reference remaining
|
public final void | decrementRef()Decrements the reference. If no references remain the
{@link ReferenceCounter#close()} method will be invoked;
/*
* close if less or equals 0
*/
if (this.refcounter.decrementAndGet() <= 0)
close();
|
public final Type | get()
return this.resource;
|
public final org.apache.lucene.gdata.utils.ReferenceCounter | increamentReference()Increments the reference
this.refcounter.incrementAndGet();
return this;
|