|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TargetSystemClient
The client interface to the target system resource.
Method Summary | ||
---|---|---|
|
getApplications()
|
|
|
getApplications(java.lang.String applicationName)
Get application resources with a certain name. |
|
ProcessorType |
getCPUArtchitecture()
Get the CPU architecture information |
|
int |
getIndividualCPUCount()
Get the individual CPU count (per node) |
|
int |
getIndividualPhysicalMemory()
Get the individual physical memory (per node) |
|
|
getJobs()
|
|
JobType |
getJobType(java.lang.String jobDefinition)
Construct the job definition type description from the current target system type and job definition type. |
|
java.lang.String |
getName()
|
|
java.util.List<java.lang.Double> |
getNumericInfo(java.lang.String name)
Get the value of NumericInfo properties with the specified name. |
|
OperatingSystemRequirementsType |
getOperatingSystem()
Get the OS type/version information |
|
|
getStorage(java.lang.String type)
|
|
|
getStorages()
|
|
TargetSystemType |
getTargetSystemType()
Get the type of the target system |
|
java.util.List<java.lang.String> |
getTextInfo(java.lang.String name)
Get the value of TextInfo properties with the specified name. |
|
|
newJob(JobType type)
Return the job definition template of the certain job definition type. |
|
|
newJob(JobType jobType,
byte[] jobDefinition)
Create a job definition from the provided byte array |
|
|
submit(Job job,
java.util.Calendar initialTerminationTime)
Submit the job. |
|
boolean |
supportsApplication(java.lang.String applicationName,
java.lang.String applicationVersion)
Check if the application is available on the target system |
Methods inherited from interface com.intel.gpe.clients.api.WSLTClient |
---|
destroy, getCurrentTime, getTerminationTime, setTerminationTime |
Methods inherited from interface com.intel.gpe.clients.api.WSRPClient |
---|
getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, queryXPath10Properties |
Method Detail |
---|
<JobClientType extends JobClient> JobClientType submit(Job job, java.util.Calendar initialTerminationTime) throws GPEWrongJobTypeException, GPEJobNotSubmittedException, GPEResourceUnknownException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException, GPESecurityException
job
- The job definition. This definition must be supported by the target system, otherwise
exception is throwninitialTerminationTime
- The initial value for the job's termination time
GPEWrongJobTypeException
- If this target system does corresponding type of job
GPEJobNotSubmittedException
- If target system refused to accept a submitted job
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceExceptionjava.lang.String getName() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Name property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<StorageClientType extends StorageClient> java.util.List<StorageClientType> getStorages() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Storage property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<StorageClientType extends StorageClient> StorageClientType getStorage(java.lang.String type) throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
type
- The type of the storage
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Storage property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<JobClientType extends JobClient> java.util.List<JobClientType> getJobs() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
JobReference
resource property of the target system
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide JobReference property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<ApplicationType extends Application> java.util.List<ApplicationType> getApplications() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
Application
resource property of the target system
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Application property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<ApplicationType extends Application> java.util.List<ApplicationType> getApplications(java.lang.String applicationName) throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Application property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceExceptionboolean supportsApplication(java.lang.String applicationName, java.lang.String applicationVersion) throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
applicationName
- The name of the required application
true
if the application is supported
GPEInvalidResourcePropertyQNameException
- If corresponding job resource does not provide Application property
GPEResourceUnknownException
- If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
- If something bad happens during convertation from XML to resource property object
GPESecurityException
- If client fails to setup security
GPEMiddlewareRemoteException
- If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException
- If middleware throws an analogue of ServiceException<JobDefinitionType extends Job> JobDefinitionType newJob(JobType type) throws GPEWrongJobTypeException
type
- The required job definition type
GPEWrongJobTypeException
- If this target system does corresponding type of job<JobDefinitionType extends Job> JobDefinitionType newJob(JobType jobType, byte[] jobDefinition) throws GPEWrongJobTypeException
jobType
- jobDefinition
-
GPEWrongJobTypeException
JobType getJobType(java.lang.String jobDefinition)
jobDefinition
- The job definition type
java.util.List<java.lang.String> getTextInfo(java.lang.String name) throws GPEInvalidQueryExpressionException, GPEQueryEvaluationErrorException, GPEUnknownQueryExpressionDialectException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException, GPESecurityException, GPEUnmarshallingException, GPEMiddlewareServiceException, GPEMiddlewareRemoteException
name
- - the name of TextInfo properties
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPEUnmarshallingException
GPESecurityException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnknownQueryExpressionDialectException
GPEQueryEvaluationErrorException
GPEInvalidQueryExpressionException
java.util.List<java.lang.Double> getNumericInfo(java.lang.String name) throws GPEInvalidQueryExpressionException, GPEQueryEvaluationErrorException, GPEUnknownQueryExpressionDialectException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException, GPESecurityException, GPEUnmarshallingException, GPEMiddlewareServiceException, GPEMiddlewareRemoteException
name
-
GPEInvalidQueryExpressionException
GPEQueryEvaluationErrorException
GPEUnknownQueryExpressionDialectException
GPEResourceUnknownException
GPEInvalidResourcePropertyQNameException
GPESecurityException
GPEUnmarshallingException
GPEMiddlewareServiceException
GPEMiddlewareRemoteException
TargetSystemType getTargetSystemType()
OperatingSystemRequirementsType getOperatingSystem() throws GPEMiddlewareRemoteException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException
GPEMiddlewareRemoteException
GPEResourceUnknownException
GPEInvalidResourcePropertyQNameException
ProcessorType getCPUArtchitecture() throws GPEMiddlewareRemoteException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException
GPEMiddlewareRemoteException
GPEResourceUnknownException
GPEInvalidResourcePropertyQNameException
int getIndividualCPUCount() throws GPEMiddlewareRemoteException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException
GPEMiddlewareRemoteException
GPEResourceUnknownException
GPEInvalidResourcePropertyQNameException
int getIndividualPhysicalMemory() throws GPEMiddlewareRemoteException, GPEResourceUnknownException, GPEInvalidResourcePropertyQNameException
GPEMiddlewareRemoteException
GPEResourceUnknownException
GPEInvalidResourcePropertyQNameException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |