- java.lang.Object
-
- javax.batch.api.partition.AbstractPartitionReducer
-
- All Implemented Interfaces:
- PartitionReducer
public abstract class AbstractPartitionReducer extends Object implements PartitionReducer
The AbstractBatchlet provides default implementations of less commonly implemented methods.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.batch.api.partition.PartitionReducer
PartitionReducer.PartitionStatus
-
-
Constructor Summary
Constructors Constructor and Description AbstractPartitionReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status)
Override this method to take action after partitioned step processing ends.void
beforePartitionedStepCompletion()
Override this method to take action before normal partitioned step processing ends.void
beginPartitionedStep()
Override this method to take action before partitioned step processing begins.void
rollbackPartitionedStep()
Override this method to take action when a partitioned step is rolling back.
-
-
-
Method Detail
-
beginPartitionedStep
public void beginPartitionedStep() throws Exception
Override this method to take action before partitioned step processing begins.- Specified by:
beginPartitionedStep
in interfacePartitionReducer
- Throws:
Exception
- is thrown if an error occurs.
-
beforePartitionedStepCompletion
public void beforePartitionedStepCompletion() throws Exception
Override this method to take action before normal partitioned step processing ends.- Specified by:
beforePartitionedStepCompletion
in interfacePartitionReducer
- Throws:
Exception
- is thrown if an error occurs.
-
rollbackPartitionedStep
public void rollbackPartitionedStep() throws Exception
Override this method to take action when a partitioned step is rolling back.- Specified by:
rollbackPartitionedStep
in interfacePartitionReducer
- Throws:
Exception
- is thrown if an error occurs.
-
afterPartitionedStepCompletion
public void afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status) throws Exception
Override this method to take action after partitioned step processing ends.- Specified by:
afterPartitionedStepCompletion
in interfacePartitionReducer
- Parameters:
status
- specifies the outcome of the partitioned step. Values are "COMMIT" or "ROLLBACK".- Throws:
Exception
- is thrown if an error occurs.
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/08/2025 19:05:05 Cette version de la page est en cache (à la date du 21/08/2025 19:05:05) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/batch/api/partition/AbstractPartitionReducer.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.