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. |
Constructor Summary |
DescriptorIOSpec(int count)
Construct a DescriptorIOSpec with the given value. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
DEFAULT_COUNT
public static final int DEFAULT_COUNT
- The default descriptor count.
DescriptorIOSpec
public DescriptorIOSpec(int count)
- Construct a DescriptorIOSpec with the given value.
- Parameters:
count
- The limit for open file descriptors.
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.
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