Properties Methods Events Config Options Direct Link
Observable
  Batch

Class Ext.data.Batch

Package:Ext.data
Defined In:Batch.js
Class:Batch
Extends:Observable

Provides a mechanism to run one or more operations in a given order. Fires the 'operationcomplete' event after the completion of each Operation, and the 'complete' event when all Operations have been successfully executed. Fires an 'exception' event if any of the Operations encounter an exception.

Usually these are only used internally by Ext.data.Proxy classes

Config Options

Config OptionsDefined By

Public Properties

PropertyDefined By
 autoStart : Boolean
True to immediately start processing the batch as soon as it is constructed (defaults to false)
Batch
 current : Number
The index of the current operation being executed
Batch
 hasException : Boolean
True if this batch has encountered an exception. This is cleared at the start of each operation
Batch
 isComplete : Boolean
True if this batch has been executed completely
Batch
 isRunning : Boolean
True if the batch is currently running
Batch
 operations : Array
Ordered array of operations that will be executed by this batch
Batch
 pauseOnException : Boolean
True to automatically pause the execution of the batch if any operation encounters an exception (defaults to true)
Batch
 total : Number
The total number of operations in this batch. Read only
Batch

Public Methods

MethodDefined By

Public Events

EventDefined By