aicas logo Realtime Java
Technology.

javax.realtime
Class MemoryParameters

java.lang.Object
  |
  +--javax.realtime.MemoryParameters

public class MemoryParameters
extends java.lang.Object


Field Summary
static long NO_MAX
           
 
Constructor Summary
MemoryParameters(long maxMemoryArea, long maxImmortal)
           
MemoryParameters(long maxMemoryArea, long maxImmortal, long allocationRate)
           
 
Method Summary
 long getAllocationRate()
           
 long getMaxImmortal()
           
 long getMaxMemoryArea()
           
 boolean setAllocationRate(int allocationRate)
           
 void setAllocationRate(long allocationRate)
           
 boolean setAllocationRateIfFeasible(int allocationRate)
           
 boolean setMaxImmortal(long maximum)
           
 boolean setMaxImmortalIfFeasible(long maximum)
           
 boolean setMaxMemoryArea(long maximum)
           
 boolean setMaxMemoryAreaIfFeasible(long maximum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_MAX

public static final long NO_MAX
See Also:
Constant Field Values
Constructor Detail

MemoryParameters

public MemoryParameters(long maxMemoryArea,
                        long maxImmortal)
                 throws java.lang.IllegalArgumentException

MemoryParameters

public MemoryParameters(long maxMemoryArea,
                        long maxImmortal,
                        long allocationRate)
                 throws java.lang.IllegalArgumentException
Method Detail

getAllocationRate

public long getAllocationRate()

getMaxImmortal

public long getMaxImmortal()

getMaxMemoryArea

public long getMaxMemoryArea()

setAllocationRate

public void setAllocationRate(long allocationRate)

setMaxImmortalIfFeasible

public boolean setMaxImmortalIfFeasible(long maximum)

setMaxMemoryAreaIfFeasible

public boolean setMaxMemoryAreaIfFeasible(long maximum)

setAllocationRateIfFeasible

public boolean setAllocationRateIfFeasible(int allocationRate)

setMaxImmortal

public boolean setMaxImmortal(long maximum)

setMaxMemoryArea

public boolean setMaxMemoryArea(long maximum)

setAllocationRate

public boolean setAllocationRate(int allocationRate)

aicas logo Realtime Java
Technology.

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.