org.hardtokenmgmt.admin.common
Class MemInfoVO
java.lang.Object
org.hardtokenmgmt.admin.common.MemInfoVO
public class MemInfoVO
- extends java.lang.Object
Information about a memory type, either heap or non heap
- Version:
- $Id$
- Author:
- Philip Vendil 23 feb 2009
|
Constructor Summary |
MemInfoVO()
Empty constructor. |
MemInfoVO(java.lang.String memType,
long memInitSize,
long memMaxSize,
long memUsedSize)
Default constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemInfoVO
public MemInfoVO()
- Empty constructor.
MemInfoVO
public MemInfoVO(java.lang.String memType,
long memInitSize,
long memMaxSize,
long memUsedSize)
- Default constructor
- Parameters:
memType - one of Constants.MEMTYPE constants.memInitSize - initial size of memory.memMaxSize - maximum size of memory.memUsedSize - used size of memory.
setMemMaxSize
public void setMemMaxSize(long memMaxSize)
- Parameters:
memMaxSize - the maximum size of memory.
getMemMaxSize
public long getMemMaxSize()
- Returns:
- the maximum size of memory.
setMemUsedSize
public void setMemUsedSize(long memUsedSize)
- Parameters:
memUsedSize - the used size of memory.
getMemUsedSize
public long getMemUsedSize()
- Returns:
- the used size of memory.
setMemInitSize
public void setMemInitSize(long memInitSize)
- Parameters:
memInitSize - the initial size of memory.
getMemInitSize
public long getMemInitSize()
- Returns:
- initial size of memory.
setMemType
public void setMemType(java.lang.String memType)
- Parameters:
memType - one of Constants.MEMTYPE constants.
getMemType
public java.lang.String getMemType()
- Returns:
- one of Constants.MEMTYPE constants.