JanosVM v1.0 API

edu.utah.janosvm.resources
Class DescriptorIOSpec

java.lang.Object
  |
  +--edu.utah.janosvm.resources.ResourceSpec
        |
        +--edu.utah.janosvm.resources.IOSpec
              |
              +--edu.utah.janosvm.resources.DescriptorIOSpec
All Implemented Interfaces:
java.lang.Cloneable

public final class DescriptorIOSpec
extends IOSpec

Resource specification for file descriptors.


Field Summary
static int DEFAULT_COUNT
          The default descriptor count.
 
Fields inherited from class edu.utah.janosvm.resources.ResourceSpec
found
 
Constructor Summary
DescriptorIOSpec(int count)
          Construct a DescriptorIOSpec with the given value.
 
Method Summary
 java.lang.Object clone()
           
static DescriptorIOSpec current()
           
static DescriptorIOSpec defaultSpec()
           
 boolean equals(java.lang.Object obj)
           
 int getCount()
           
private  void nativeConstructor(int count)
          Constructs the native part of the class.
 java.lang.String toString()
           
 
Methods inherited from class edu.utah.janosvm.resources.ResourceSpec
find, nativeFind
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Field Detail

DEFAULT_COUNT

public static final int DEFAULT_COUNT
The default descriptor count.
Constructor Detail

DescriptorIOSpec

public DescriptorIOSpec(int count)
Construct a DescriptorIOSpec with the given value.
Parameters:
count - The limit for open file descriptors.
Method Detail

nativeConstructor

private void nativeConstructor(int count)
Constructs the native part of the class.
Parameters:
count - The descriptor count.

getCount

public int getCount()
Returns:
The limit for open file descriptors.

toString

public java.lang.String toString()
Overrides:
toString in class IOSpec

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

current

public static DescriptorIOSpec current()
Returns:
A copy of the current DescriptorIOSpec.

defaultSpec

public static final DescriptorIOSpec defaultSpec()
Returns:
A copy of the default DescriptorIOSpec.

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003