Rio Project 4.2 API Documentation



org.rioproject.system.capability.platform
Class ProcessorArchitecture

java.lang.Object
  extended by org.rioproject.system.capability.PlatformCapability
      extended by org.rioproject.system.capability.platform.ProcessorArchitecture
All Implemented Interfaces:
Serializable, ResourceCostProducer, PlatformCapabilityMBean

public class ProcessorArchitecture
extends PlatformCapability

The ProcessorArchitecture object provides a definition of the processor architecture

Author:
Dennis Reedy
See Also:
Serialized Form

Field Summary
static String ARCHITECTURE
          cpu type
static String AVAILABLE
          number of processors
 
Fields inherited from class org.rioproject.system.capability.PlatformCapability
capabilities, description, DESCRIPTION, logger, MANUFACTURER, MODEL, NAME, NATIVE_LIBS, PROVISIONABLE, STATIC, VENDOR, VERSION
 
Constructor Summary
ProcessorArchitecture()
          Create a ProcessorArchitecture with the default description
ProcessorArchitecture(String description)
          Create a ProcessorArchitecture with a description
 
Method Summary
 boolean supports(SystemRequirements.SystemComponent requirement)
          Override supports to ensure that processor requirements are supported
 
Methods inherited from class org.rioproject.system.capability.PlatformCapability
addDownloadRecord, addStagedSoftware, calculateResourceCost, clearAll, decrementUsage, define, defineAll, equals, getCapabilities, getClassPath, getConfigurationFile, getDescription, getDownloadRecords, getLoadableClassPath, getName, getPath, getPlatformKeys, getResourceCostModel, getStagedSoftware, getType, getUsageCount, getValue, hasBasicSupport, hashCode, incrementUsage, loadResources, matches, remove, setClassPath, setConfigurationFile, setDescription, setPath, setResourceCostModel, setType, supports, toString, versionSupported
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AVAILABLE

public static final String AVAILABLE
number of processors

See Also:
Constant Field Values

ARCHITECTURE

public static final String ARCHITECTURE
cpu type

See Also:
Constant Field Values
Constructor Detail

ProcessorArchitecture

public ProcessorArchitecture()
Create a ProcessorArchitecture with the default description


ProcessorArchitecture

public ProcessorArchitecture(String description)
Create a ProcessorArchitecture with a description

Parameters:
description - The description
Method Detail

supports

public boolean supports(SystemRequirements.SystemComponent requirement)
Override supports to ensure that processor requirements are supported

Overrides:
supports in class PlatformCapability
Parameters:
requirement - The SystemRequirement to test for supportability.
Returns:
True if supported, false otherwise

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.