|
36 | 36 | import java.util.concurrent.ScheduledExecutorService; |
37 | 37 | import java.util.concurrent.TimeUnit; |
38 | 38 |
|
| 39 | +import javax.ejb.Local; |
39 | 40 | import javax.inject.Inject; |
40 | 41 | import javax.naming.ConfigurationException; |
41 | 42 |
|
42 | 43 | import org.apache.cloudstack.affinity.dao.AffinityGroupVMMapDao; |
| 44 | +import org.apache.cloudstack.context.CallContext; |
43 | 45 | import org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService; |
44 | 46 | import org.apache.cloudstack.engine.orchestration.service.VolumeOrchestrationService; |
45 | 47 | import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager; |
|
49 | 51 | import org.apache.cloudstack.framework.config.ConfigKey; |
50 | 52 | import org.apache.cloudstack.framework.config.Configurable; |
51 | 53 | import org.apache.cloudstack.framework.config.dao.ConfigurationDao; |
| 54 | +import org.apache.cloudstack.framework.jobs.AsyncJob; |
| 55 | +import org.apache.cloudstack.framework.jobs.AsyncJobExecutionContext; |
| 56 | +import org.apache.cloudstack.framework.jobs.AsyncJobManager; |
| 57 | +import org.apache.cloudstack.framework.jobs.Outcome; |
| 58 | +import org.apache.cloudstack.framework.jobs.dao.VmWorkJobDao; |
| 59 | +import org.apache.cloudstack.framework.jobs.impl.AsyncJobVO; |
| 60 | +import org.apache.cloudstack.framework.jobs.impl.OutcomeImpl; |
| 61 | +import org.apache.cloudstack.framework.jobs.impl.VmWorkJobVO; |
52 | 62 | import org.apache.cloudstack.framework.messagebus.MessageBus; |
53 | 63 | import org.apache.cloudstack.framework.messagebus.MessageDispatcher; |
54 | 64 | import org.apache.cloudstack.framework.messagebus.MessageHandler; |
| 65 | +import org.apache.cloudstack.jobs.JobInfo; |
| 66 | +import org.apache.cloudstack.managed.context.ManagedContextRunnable; |
55 | 67 | import org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDao; |
56 | 68 | import org.apache.cloudstack.storage.datastore.db.StoragePoolVO; |
57 | 69 | import org.apache.cloudstack.storage.to.VolumeObjectTO; |
|
0 commit comments