mirror of https://github.com/apache/cloudstack.git
Revert "disble XS event, found there is an issue when event.from is called by multiple thread."
This reverts commit 8696f386dd.
This commit is contained in:
parent
2239eb4b17
commit
376078e90f
|
|
@ -31,12 +31,11 @@ import com.xensource.xenapi.Types.XenAPIException;
|
|||
import com.xensource.xenapi.VM;
|
||||
|
||||
import com.xensource.xenapi.Event;
|
||||
/*
|
||||
import com.xensource.xenapi.Task;
|
||||
import com.xensource.xenapi.Types;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
*/
|
||||
import org.apache.xmlrpc.XmlRpcException;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
|
||||
import com.cloud.agent.api.Answer;
|
||||
import com.cloud.agent.api.ClusterSyncAnswer;
|
||||
|
|
@ -102,7 +101,7 @@ public class XenServerResourceNewBase extends XenServer620SP1Resource {
|
|||
return cmds;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
protected void waitForTask(Connection c, Task task, long pollInterval, long timeout) throws XenAPIException, XmlRpcException, TimeoutException {
|
||||
long beginTime = System.currentTimeMillis();
|
||||
if (s_logger.isTraceEnabled()) {
|
||||
|
|
@ -155,7 +154,7 @@ public class XenServerResourceNewBase extends XenServer620SP1Resource {
|
|||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@Override
|
||||
protected Answer execute(final ClusterSyncCommand cmd) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue