javax.batch.api.partition

Interface PartitionPlan

    • Method Detail

      • setPartitions

        void setPartitions(int count)
        Set number of partitions.
        Parameters:
        count - specifies the partition count
      • setPartitionsOverride

        void setPartitionsOverride(boolean override)
        Specify whether or not to override the partition count from the previous job execution. This applies only to step restart. The default is false.

        When false is specified, the partition count from the previous job execution is used and any new value set for partition count in the current run is ignored. In addition, partition results from the previous job execution are remembered, and only incomplete partitions are reprocessed.

        When true is specified, the partition count from the current run is used and all results from past partitions are discarded. Any resource cleanup or back out of work done in the previous run is the responsibility of the application. The PartitionReducer artifact's rollbackPartitionedStep method is invoked during restart before any partitions begin processing to provide a cleanup hook.

      • getPartitionsOverride

        boolean getPartitionsOverride()
        Return current value of partition override setting.
        Returns:
        override setting.
      • setThreads

        void setThreads(int count)
        Set number of threads. Defaults to zero, which means thread count is equal to partition count.
        Parameters:
        count - specifies the thread count
      • setPartitionProperties

        void setPartitionProperties(Properties[] props)
        Sets array of substitution Properties objects for the set of Partitions.
        Parameters:
        props - specifies the Properties object array
      • getPartitions

        int getPartitions()
        Gets count of Partitions.
        Returns:
        Partition count
      • getThreads

        int getThreads()
        Gets count of threads.
        Returns:
        thread count
      • getPartitionProperties

        Properties[] getPartitionProperties()
        Gets array of Partition Properties objects for Partitions.
        Returns:
        Partition Properties object array

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/batch/api/partition/partitionplan.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com/en/java/, Interface PartitionPlan

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.