JanosVM v0.6.0 Java API Documentation: Package edu.utah.janosvm.resources
|
JanosVM v0.6.0 Java API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
ClassPathResource | Provides access methods to the current team's class path. |
ClassPathSpec | Specification for the class path resource. |
ConfigSpec | |
GCPolicy | Base class for objects that implement a specific policy for the GC. |
MemoryResource | Provides java level access to the current team's memory resource. |
MemorySpec | Specification for memory resources. |
NameSpaceGroup | Helper class for NameSpaceSpec that specifies which class groups to import from a team. |
NameSpaceResource | Provides access methods to the current team's root name space. |
NameSpaceSpec | Resource specification for the root name space of a team. |
NativeSpec | Specification for the native library resource. |
ResourceSpec | Base class for resource specifications. |
StdioSpec | Resource specification for the standard I/O channels for a Team. |
Exception Summary | |
ClassGroupNotFoundException | Exception indicating that the class group couldn't be found in the config file. |
DuplicateResourceSpecException | Exception indicating that there was a duplicate resource spec in the array of ResourceSpec's passed to Team.create(). |
InvalidClassGroupException | Exception indicating that the class group being exported is malformed. |
ResourceSpecException | Exception indicating that the system couldn't satisfy a resource specification. |
Resources managed by the JanosVM on a per-team basis. Managed resources are:
For each resource a specification and a client object exist. The
specification is the object that communicates what is required from the
resource when creating a new team. For example, creating a team with the
spec, new MemorySpec(8 * 1024 * 1024)
, would give the new
team an eight megabyte memory limit. The client object is the object
held by the team that gives it access to the resource. In the case of
global resources like memory, the client object is manipulated through
static methods in the corresponding resource class, for example,
MemoryResource
.
|
JanosVM v0.6.0 Java API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |