Class Pointer.ProxyDeallocator
java.lang.Object
java.lang.ref.Reference<Pointer>
java.lang.ref.PhantomReference<Pointer>
org.bytedeco.javacpp.Pointer.DeallocatorReference
org.bytedeco.javacpp.Pointer.ProxyDeallocator
- All Implemented Interfaces:
Pointer.Deallocator, Pointer.ReferenceCounter
- Enclosing class:
Pointer
A
Pointer.Deallocator that keeps and uses a strong reference to a Buffer or another Pointer.-
Field Summary
FieldsFields inherited from class Pointer.DeallocatorReference
bytes, count, deallocator, head, next, prev, totalBytes, totalCount -
Constructor Summary
ConstructorsConstructorDescriptionProxyDeallocator(Pointer p, Buffer b) ProxyDeallocator(Pointer p, Pointer p2) -
Method Summary
Methods inherited from class Pointer.DeallocatorReference
add, clear, removeMethods inherited from class PhantomReference
getMethods inherited from class Reference
clone, enqueue, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
Constructor Details
-
ProxyDeallocator
-
ProxyDeallocator
-
-
Method Details
-
deallocate
public void deallocate()- Specified by:
deallocatein interfacePointer.Deallocator- Overrides:
deallocatein classPointer.DeallocatorReference
-
retain
public void retain()- Specified by:
retainin interfacePointer.ReferenceCounter- Overrides:
retainin classPointer.DeallocatorReference
-
release
public boolean release()- Specified by:
releasein interfacePointer.ReferenceCounter- Overrides:
releasein classPointer.DeallocatorReference
-
count
public int count()- Specified by:
countin interfacePointer.ReferenceCounter- Overrides:
countin classPointer.DeallocatorReference
-
toString
- Overrides:
toStringin classPointer.DeallocatorReference
-