Mentions légales du service

Skip to content
Snippets Groups Projects

WIP: feat: Improve batch performance

Closed Julia StopCovid requested to merge feat-improve-batch-performance into develop
2 unresolved threads

Merge request reports

Checking pipeline status.

Approval is optional

Closed by Deniro StopCovidDeniro StopCovid 4 years ago (Jul 1, 2020 12:37pm UTC)

Merge details

  • The changes were not merged into develop.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 package fr.gouv.stopc.robert.server.batch.component;
2
3 import org.springframework.context.annotation.Scope;
4 import org.springframework.stereotype.Component;
5
6 import lombok.Getter;
7
8 @Component
9 @Scope("singleton")
  • 18 private static final ContactsProcessingCounter INSTANCE = ContactsProcessingCounter.getInstance();
    19
    20 @Override
    21 public void beforeChunk(ChunkContext chunkContext) {
    22
    23 this.startTime = Instant.now();
    24 }
    25
    26 @Override
    27 public void afterChunkError(ChunkContext context) {
    28
    29 //
    30 }
    31
    32 @Override
    33 @AfterChunk
  • added 1 commit

    • eb7a2a4b - fix: Adding CustomMongoItemReader

    Compare with previous version

  • added 1 commit

    • 6126f5e2 - fix: Adding CustomMongoItemReader

    Compare with previous version

  • Please register or sign in to reply
    Loading