sleighPending-class {nws}R Documentation

Class "sleighPending"

Description

Class representing sleighPending.

Details

This class object is usually obtained from non-blocking eachElem or non-blocking eachWorker.

Objects from the Class

Objects can be created by calls of the form new("sleighPending", nws, numTasks, bn, ss).

  • {bf nws:} netWorkSpace class object.
  • {bf numTasks:} number of submitted tasks.
  • {bf bn:} barrier names.
  • {bf ss:} sleigh state.
  • Slots

    nws:
    Object of class "netWorkSpace" representation of the netWorkSpace class.
    numTasks:
    Object of class "numeric" representation of the number of pending tasks in sleigh.
    barrierName:
    Object of class "character" representation of the barrier name.
    sleighState:
    Object of class "environment" representation of the sleigh state
    state:
    Object of class "environment" representation of the sleighPending state

    Methods

    initialize
    signature(.Object = "sleighPending"): sleighPending class constructor.
    checkSleigh
    signature(.Object = "sleighPending"): return the number of results yet to be generated for the pending sleigh job.
    waitSleigh
    signature(.Object = "sleighPending"): wait and block for the results to be generated for the pending sleigh job.

    See Also

    eachWorker, eachElem


    [Package nws version 1.2.3 Index]