Batch.update()

update ( )

All Batch attribute values are cached locally, so queries return the value received during the last communication with the Cluster Manager. This method refreshes the values of all attributes with the values currently available in the Cluster Manager (which involves network communication).

Example usage:

            # Update the resident attribute cache of the Batch object with the
            # latest values from the cluster manager.
            batch.update()