|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.utah.janosvm.resources.ResourceSpec | +--edu.utah.janosvm.resources.CPUSpec
Base resource specification for CPU resources.
Field Summary | |
static long |
INFINITE_LIMIT
Value used to indicate an infinite CPU usage limit. |
Constructor Summary | |
CPUSpec()
Construct a CPU resource specification with the default values. |
|
CPUSpec(long limit)
Construct a CPU resource specification with the given values. |
Method Summary | |
long |
getLimit()
|
java.lang.String |
toString()
|
Methods inherited from class edu.utah.janosvm.resources.ResourceSpec |
find |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long INFINITE_LIMIT
Constructor Detail |
public CPUSpec(long limit)
limit
- The CPU usage limit.public CPUSpec()
Method Detail |
public long getLimit()
public java.lang.String toString()
toString
in class java.lang.Object
|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |