Module v.c.a.batch

Part of vmc.contrib.axiom

Utilities for performing repetitive tasks over potentially large sets of data over an extended period of time.
Class BatchProcessingError Undocumented
Function upgradeProcessor1to2 Batch processors stopped polling at version 2, so they no longer needed the
Function processor Create an Axiom Item type which is suitable to use as a batch processor for
Class ProcessUnavailable Indicates the process is not available to perform tasks.
Class Shutdown Abandon, belay, cancel, cease, close, conclude, cut it out, desist,
Class ProcessController Stateful class which tracks a Juice connection to a child process.
Class JuiceConnector Undocumented
Class JuiceChild Protocol class which runs in the child process
Class SetStore Specify the location of the site store.
Class SuspendProcessor Prevent a particular reliable listener from receiving any notifications
Class ResumeProcessor Cause a particular reliable listener to begin receiving notifications
Class CallItemMethod Invoke a particular method of a particular item.
Class BatchProcessingControllerService Controls starting, stopping, and passing messages to the system process in
Function storeBatchServiceSpecialCase Undocumented
Class BatchProcessingProtocol Undocumented
Class BatchProcessingService Steps over the iaxiom.IBatchProcessor powerups for a single axiom.store.Store.
Class BatchManholePowerup Undocumented
def upgradeProcessor1to2(oldProcessor):

Batch processors stopped polling at version 2, so they no longer needed the idleInterval attribute. They also gained a scheduled attribute which tracks their interaction with the scheduler. Since they stopped polling, we also set them up as a timed event here to make sure that they don't silently disappear, never to be seen again: running them with the scheduler gives them a chance to figure out what's up and set up whatever other state they need to continue to run.

Since this introduces a new dependency of all batch processors on a powerup for the IScheduler, install a Scheduler or a SubScheduler if one is not already present.
def processor(forType):

Create an Axiom Item type which is suitable to use as a batch processor for the given Axiom Item type.

Processors created this way depend on a iaxiom.IScheduler powerup on the on which store they are installed.
ParametersforTypeThe Axiom Item type for which to create a batch processor type. (type: item.MetaItem )
ReturnsAn Axiom Item type suitable for use as a batch processor. If such a type previously existed, it will be returned. Otherwise, a new type is created. (type: item.MetaItem )
def _childProcTerminated(self, err):
Undocumented
def storeBatchServiceSpecialCase(st, pups):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.