Class ProvisioningManager
- java.lang.Object
-
- org.jclouds.profitbricks.compute.concurrent.ProvisioningManager
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class ProvisioningManager extends Object implements Closeable
DelegatesJob
to single-threaded executor services based on it's group.
-
-
Constructor Summary
Constructors Constructor Description ProvisioningManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected com.google.common.util.concurrent.ListeningExecutorService
newExecutorService()
Object
provision(ProvisioningJob job)
-
-
-
Method Detail
-
provision
public Object provision(ProvisioningJob job)
-
newExecutorService
protected com.google.common.util.concurrent.ListeningExecutorService newExecutorService()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-