cloudstack/server/src/com/cloud/async
Alex Huang e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
..
executor Harmony among gurus 2010-11-03 21:18:31 -07:00
AsyncCommandQueued.java Refactoring the AsyncJobManager to queue jobs appropriately if there is a need to synchronize execution on an object, e.g. a router. API developers can now call command.synchronizeCommand(String, Long) to force the command to be synchronized on a particular object type [the string arg] with a particular id [the long arg]. When synchronizeCommand() is invoked, an exception maybe thrown by the framework (AsyncCommandQueued exception) to force the business logic to abort. The command will then be queued and invoked at the appropriate time. The synchronizeCommand() is re-entrant and will be a no-op if the command has already been queued and is now ready for execution. 2010-09-16 19:05:06 -07:00
AsyncJobExecutor.java cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
AsyncJobExecutorContext.java API refactor 2010-08-18 11:24:29 -07:00
AsyncJobExecutorContextImpl.java API refactor 2010-08-18 11:24:29 -07:00
AsyncJobManager.java Refactoring the AsyncJobManager to queue jobs appropriately if there is a need to synchronize execution on an object, e.g. a router. API developers can now call command.synchronizeCommand(String, Long) to force the command to be synchronized on a particular object type [the string arg] with a particular id [the long arg]. When synchronizeCommand() is invoked, an exception maybe thrown by the framework (AsyncCommandQueued exception) to force the business logic to abort. The command will then be queued and invoked at the appropriate time. The synchronizeCommand() is re-entrant and will be a no-op if the command has already been queued and is now ready for execution. 2010-09-16 19:05:06 -07:00
AsyncJobManagerImpl.java bug 6799: if there's an exception executing the Async command, create an error response with the appropriate information so that queryAsyncJobResult returns the relevant information 2010-10-27 18:23:23 -07:00
BaseAsyncJobExecutor.java cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
SyncQueueManager.java cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
SyncQueueManagerImpl.java Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable. 2010-11-02 12:25:08 -07:00