org.mmtk.utility.options
Class FixedNursery

java.lang.Object
  extended by org.vmutil.options.Option
      extended by org.vmutil.options.PagesOption
          extended by org.mmtk.utility.options.FixedNursery

public final class FixedNursery
extends PagesOption

Provide an lower and upper bound on nursery size.

This option is not intended to be created directly, but via NurserySize.


Field Summary
(package private)  BoundedNursery boundedNursery
           
 
Fields inherited from class org.vmutil.options.PagesOption
defaultValue, value
 
Fields inherited from class org.vmutil.options.Option
ADDRESS_OPTION, BOOLEAN_OPTION, ENUM_OPTION, FLOAT_OPTION, INT_OPTION, MICROSECONDS_OPTION, PAGES_OPTION, RAW, READABLE, set, STRING_OPTION, XML
 
Constructor Summary
FixedNursery(BoundedNursery boundedNursery)
          Create the option
 
Method Summary
protected  void validate()
          Nursery can not be empty.
 
Methods inherited from class org.vmutil.options.PagesOption
getBytes, getDefaultBytes, getDefaultPages, getPages, setBytes, setDefaultPages, setPages
 
Methods inherited from class org.vmutil.options.Option
fail, failIf, getDescription, getKey, getName, getNext, getType, warn, warnIf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

boundedNursery

BoundedNursery boundedNursery
Constructor Detail

FixedNursery

public FixedNursery(BoundedNursery boundedNursery)
Create the option

Method Detail

validate

protected void validate()
Nursery can not be empty.

Overrides:
validate in class Option