O'Reilly logo

VMware VI and vSphere SDK: Managing the VMware Infrastructure and vSphere by Steve Jin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Task and ScheduledTask

This chapter introduces tasks and scheduled tasks. It describes how to manage and monitor tasks, how to retrieve results from asynchronized API calls, and how to retrieve historical tasks. The introduction of task management covers three managed objects: Task, which represents a running operation; TaskManager, which manages the Task objects; and TaskHistoryCollector, which provides interfaces to retrieve previous tasks.

The second half of this chapter introduces how to schedule an operation to run in the future, once or repetitively. ScheduledTask represents a scheduled task to be activated in the future. ScheduledTaskManager manages all the ScheduledTask objects.

Managed Objects: Task, TaskManager, TaskHistoryCollector ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required