com.bea.jvm
Interface Memory

All Known Subinterfaces:
PhysicalMemory

public interface Memory

Interface for components having some sort of memory.

Author:
Marcus Hirt

Method Summary
 long getTotalMemory()
          Returns the total available size of the memory in bytes.
 long getUsedMemory()
          Returns the amount of used memory in bytes.
 

Method Detail

getTotalMemory

public long getTotalMemory()
Returns the total available size of the memory in bytes.

Returns:
the available size of the memory in bytes.

getUsedMemory

public long getUsedMemory()
Returns the amount of used memory in bytes.

Returns:
the amount of memory in use in bytes.