org.apache.whirr.service
Class DynamicComputeCache
java.lang.Object
org.apache.whirr.service.DynamicComputeCache
- All Implemented Interfaces:
- com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext>
public class DynamicComputeCache
- extends Object
- implements com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext>
A class for adding ComputeServiceContext
on runtime.
Method Summary |
org.jclouds.compute.ComputeServiceContext |
apply(ClusterSpec arg0)
|
void |
bind(org.jclouds.compute.ComputeService computeService)
|
void |
unbind(org.jclouds.compute.ComputeService computeService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
DynamicComputeCache
public DynamicComputeCache()
apply
public org.jclouds.compute.ComputeServiceContext apply(ClusterSpec arg0)
- Specified by:
apply
in interface com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext>
bind
public void bind(org.jclouds.compute.ComputeService computeService)
unbind
public void unbind(org.jclouds.compute.ComputeService computeService)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.