Table of Contents

OIL2 Class Standard.JobController


class Standard . JobController {
        int32   firstEntryIndex;
        int32   jobsInProgress;
        int32   lastEntryIndex;
        int32   maxConcurrentJobs;
        oid     peerRegistry;
        string  poolServiceName;
        array   queuedWork;
        oid     replyObj;
        array   serverForJob;
        int32   serverIdCounter;
        assoc   serverList;
        array   serverLoad;
        array   serverOID;
} inherits from Object;

DESCRIPTION

Provides a service that distributes tasks across a load-balanced pool of servers.

METHODS


Standard.JobController:create

JobController:create(string poolName)

Method Description

Use the servers in the pool named by poolName.


Standard.JobController:queueJob

JobController:queueJob(oid client, any clientInfo, string className, assoc acl, set args)

Method Description

Queue a work unit. Result returned to client by sending it a jobComplete message and passing it clientInfo and the result of the job.


Standard.JobController:returnJobResult

JobController:returnJobResult(int32 transactionId, any result)

Method Description

Notes the completion of a queued task.


Generated: Wed, 14 Mar 2012 02:52:23 EDT
Support Information