tech.ydb.yoj.repository.db.bulk.BulkParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoj-repository Show documentation
Show all versions of yoj-repository Show documentation
Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.
The 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;
}