org.jclouds.nodepool
Class NodePoolComputeServiceContext

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by org.jclouds.internal.BaseView
          extended by org.jclouds.compute.internal.ComputeServiceContextImpl
              extended by org.jclouds.nodepool.NodePoolComputeServiceContext
All Implemented Interfaces:
Closeable, ComputeServiceContext, View

@Singleton
public class NodePoolComputeServiceContext
extends ComputeServiceContextImpl


Constructor Summary
NodePoolComputeServiceContext(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, ComputeService computeService, Utils utils, NodePoolComputeServiceAdapter adapter)
           
 
Method Summary
 void destroyPool()
          Destroys all (backing nodes) in the pool and deletes all state.
 ComputeServiceContext getBackendContext()
          Returns the backend context.
 String getPoolGroupName()
           
 NodePoolStats getPoolStats()
          Returns the statistics on the pool.
 
Methods inherited from class org.jclouds.compute.internal.ComputeServiceContextImpl
close, credentialStore, getComputeService, getCredentialStore, getProviderSpecificContext, getUtils, utils
 
Methods inherited from class org.jclouds.internal.BaseView
delegate, equals, getBackendType, hashCode, string, toString, unwrap, unwrap, unwrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.View
getBackendType, unwrap, unwrap, unwrap
 

Constructor Detail

NodePoolComputeServiceContext

@Inject
public NodePoolComputeServiceContext(Context backend,
                                            com.google.common.reflect.TypeToken<? extends Context> backendType,
                                            ComputeService computeService,
                                            Utils utils,
                                            NodePoolComputeServiceAdapter adapter)
Method Detail

getPoolStats

public NodePoolStats getPoolStats()
Returns the statistics on the pool.

Returns:

destroyPool

public void destroyPool()
Destroys all (backing nodes) in the pool and deletes all state.


getBackendContext

public ComputeServiceContext getBackendContext()
Returns the backend context.

Returns:

getPoolGroupName

public String getPoolGroupName()


Copyright © 2009-2012 jclouds. All Rights Reserved.