Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.io.util
Interface MemoryManageable  view MemoryManageable download MemoryManageable.java


public interface MemoryManageable


Method Summary
 int decrementMemoryReferenceCount()
          Decrement reference count for bounded memory collections
 java.lang.Object getMemoryId()
          Get an id that can be used to identify the object.
 int getMemoryUsage()
          Get a hint about how much memory this Packet is consuming
 int getMemoryUsageReferenceCount()
           
 int getPriority()
           
 int incrementMemoryReferenceCount()
          Increment reference count for bounded memory collections
 

Method Detail

getMemoryId

public java.lang.Object getMemoryId()
Get an id that can be used to identify the object.


getMemoryUsage

public int getMemoryUsage()
Get a hint about how much memory this Packet is consuming


incrementMemoryReferenceCount

public int incrementMemoryReferenceCount()
Increment reference count for bounded memory collections


decrementMemoryReferenceCount

public int decrementMemoryReferenceCount()
Decrement reference count for bounded memory collections


getMemoryUsageReferenceCount

public int getMemoryUsageReferenceCount()

getPriority

public int getPriority()