|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<InterfaceAttributes.DependencyClass>
org.opensolaris.os.dtrace.InterfaceAttributes.DependencyClass
public static enum InterfaceAttributes.DependencyClass
Architectural dependency class. Tells whether an interface is common to all Solaris platforms and processors, or whether the interface is associated with a particular architecture such as SPARC processors only.
Enum Constant Summary | |
---|---|
COMMON
The interface is common to all Solaris systems regardless of the underlying hardware. |
|
CPU
The interface is specific to the CPU model of the current system. |
|
GROUP
The interface is specific to the hardware platform group of the current system. |
|
ISA
The interface is specific to the instruction set architecture (ISA) supported by the microprocessor on this system. |
|
PLATFORM
The interface is specific to the hardware platform of the current system. |
|
UNKNOWN
The interface has an unknown set of architectural dependencies. |
Method Summary | |
---|---|
java.lang.String |
toString()
Overridden to get the default display value. |
static InterfaceAttributes.DependencyClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InterfaceAttributes.DependencyClass[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InterfaceAttributes.DependencyClass UNKNOWN
public static final InterfaceAttributes.DependencyClass CPU
psrinfo(1M)
utility's -v
option to display the current CPU model and
implementation names. Interfaces with CPU model dependencies
might not be available on other CPU implementations, even if
those CPUs export the same instruction set architecture
(ISA). For example, a CPU-dependent interface on an
UltraSPARC-III+ microprocessor might not be available on an
UltraSPARC-II microprocessor, even though both processors
support the SPARC instruction set.
public static final InterfaceAttributes.DependencyClass PLATFORM
SUNW,
Ultra-Enterprise-10000
. You can display the current
platform name using the uname(1)
-i
option.
The interface might not be available on other hardware
platforms.
public static final InterfaceAttributes.DependencyClass GROUP
sun4u
. You can display the current platform
group name using the uname(1)
-m
option. The
interface is available on other platforms in the platform
group, but might not be available on hardware platforms that
are not members of the group.
public static final InterfaceAttributes.DependencyClass ISA
isainfo(1)
utility. The interface might not be supported on
systems that do not export any of of the same instruction
sets. For example, an ISA-dependent interface on a Solaris
SPARC system might not be supported on a Solaris x86 system.
public static final InterfaceAttributes.DependencyClass COMMON
Method Detail |
---|
public static InterfaceAttributes.DependencyClass[] values()
for (InterfaceAttributes.DependencyClass c : InterfaceAttributes.DependencyClass.values()) System.out.println(c);
public static InterfaceAttributes.DependencyClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
Enum.name()
instead as a lookup key.
toString
in class java.lang.Enum<InterfaceAttributes.DependencyClass>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |