All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ydb.yoj.repository.db.bulk.BulkParams Maven / Gradle / Ivy

Go to download

Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.

There is a newer version: 2.6.1
Show newest version
package tech.ydb.yoj.repository.db.bulk;

import lombok.Builder;
import lombok.Value;

import java.time.Duration;

@Value
@Builder
public class BulkParams {
    public static final BulkParams DEFAULT = BulkParams.builder().build();

    @Builder.Default
    Duration timeout = Duration.ofSeconds(60);

    @Builder.Default
    Duration cancelAfter = null;

    @Builder.Default
    long deadlineAfter = 0;

    @Builder.Default
    String traceId = null;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy