org.jclouds.gogrid.compute
Class GoGridComputeService

java.lang.Object
  extended by org.jclouds.compute.internal.BaseComputeService
      extended by org.jclouds.gogrid.compute.GoGridComputeService
All Implemented Interfaces:
ComputeService

@Singleton
public class GoGridComputeService
extends BaseComputeService

Author:
Andrew Kennedy

Field Summary
 
Fields inherited from class org.jclouds.compute.internal.BaseComputeService
context, credentialStore, logger
 
Constructor Summary
protected GoGridComputeService(ComputeServiceContext context, Map<String,Credentials> credentialStore, com.google.common.base.Supplier<Set<? extends Image>> images, com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles, com.google.common.base.Supplier<Set<? extends Location>> locations, ListNodesStrategy listNodesStrategy, GetNodeMetadataStrategy getNodeMetadataStrategy, CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy, RebootNodeStrategy rebootNodeStrategy, DestroyNodeStrategy destroyNodeStrategy, ResumeNodeStrategy resumeNodeStrategy, SuspendNodeStrategy suspendNodeStrategy, javax.inject.Provider<TemplateBuilder> templateBuilderProvider, javax.inject.Provider<TemplateOptions> templateOptionsProvider, com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated, com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended, InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory, InitAdminAccess initAdminAccess, RunScriptOnNode.Factory runScriptOnNodeFactory, PersistNodeCredentials persistNodeCredentials, ComputeServiceConstants.Timeouts timeouts, ExecutorService executor)
           
 
Method Summary
 GoGridTemplateOptions templateOptions()
          Returns template options, except of type GoGridTemplateOptions.
 
Methods inherited from class org.jclouds.compute.internal.BaseComputeService
cleanUpIncidentalResourcesOfDeadNodes, createNodesInGroup, createNodesInGroup, createNodesInGroup, destroyNode, destroyNodesMatching, doDestroyNode, getContext, getNodeMetadata, listAssignableLocations, listHardwareProfiles, listImages, listNodes, listNodesDetailsMatching, rebootNode, rebootNodesMatching, resumeNode, resumeNodesMatching, runScriptOnNode, runScriptOnNode, runScriptOnNode, runScriptOnNode, runScriptOnNodesMatching, runScriptOnNodesMatching, runScriptOnNodesMatching, runScriptOnNodesMatching, submitScriptOnNode, suspendNode, suspendNodesMatching, templateBuilder, updateNodeWithCredentialsIfPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoGridComputeService

@Inject
protected GoGridComputeService(ComputeServiceContext context,
                                      Map<String,Credentials> credentialStore,
                                      com.google.common.base.Supplier<Set<? extends Image>> images,
                                      com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles,
                                      com.google.common.base.Supplier<Set<? extends Location>> locations,
                                      ListNodesStrategy listNodesStrategy,
                                      GetNodeMetadataStrategy getNodeMetadataStrategy,
                                      CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
                                      RebootNodeStrategy rebootNodeStrategy,
                                      DestroyNodeStrategy destroyNodeStrategy,
                                      ResumeNodeStrategy resumeNodeStrategy,
                                      SuspendNodeStrategy suspendNodeStrategy,
                                      javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
                                      javax.inject.Provider<TemplateOptions> templateOptionsProvider,
                                      @Named(value="NODE_RUNNING")
                                      com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
                                      @Named(value="NODE_TERMINATED")
                                      com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
                                      @Named(value="NODE_SUSPENDED")
                                      com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
                                      InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
                                      InitAdminAccess initAdminAccess,
                                      RunScriptOnNode.Factory runScriptOnNodeFactory,
                                      PersistNodeCredentials persistNodeCredentials,
                                      ComputeServiceConstants.Timeouts timeouts,
                                      @Named(value="jclouds.user-threads")
                                      ExecutorService executor)
Method Detail

templateOptions

public GoGridTemplateOptions templateOptions()
Returns template options, except of type GoGridTemplateOptions.

Specified by:
templateOptions in interface ComputeService
Overrides:
templateOptions in class BaseComputeService


Copyright © 2009-2012 jclouds. All Rights Reserved.