Uses of Interface
io.camunda.client.CamundaClientBuilder
Packages that use CamundaClientBuilder
-
Uses of CamundaClientBuilder in io.camunda.client
Subinterfaces of CamundaClientBuilder in io.camunda.clientModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceMethods in io.camunda.client that return CamundaClientBuilderModifier and TypeMethodDescriptionCamundaClientBuilder.applyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) Allows to disable the mechanism to override some properties by ENVIRONMENT VARIABLES.CamundaClientBuilder.caCertificatePath(String certificatePath) Path to a root CA certificate to be used instead of the certificate in the default default store.CamundaClientBuilder.credentialsProvider(CredentialsProvider credentialsProvider) A customCredentialsProviderwhich will be used to apply authentication credentials to requests.CamundaClientBuilder.defaultJobPollInterval(Duration pollInterval) The interval which a job worker is periodically polling for new jobs.CamundaClientBuilder.defaultJobTimeout(Duration timeout) The timeout which is used when none is provided for a job worker.CamundaClientBuilder.defaultJobWorkerExceptionHandler(JobExceptionHandler jobExceptionHandler) A custom retryBackoffSupplier allows the client to determine the default retry backoff strategy that every job worker will apply unless configured otherwise.CamundaClientBuilder.defaultJobWorkerMaxJobsActive(int maxJobsActive) CamundaClientBuilder.defaultJobWorkerName(String workerName) The name of the worker which is used when none is set for a job worker.CamundaClientBuilder.defaultJobWorkerStreamEnabled(boolean streamEnabled) A custom streamEnabled allows the client to use job stream instead of job poll.CamundaClientBuilder.defaultJobWorkerTenantFilter(TenantFilter tenantFilter) The behavior to adopt when filtering jobs during activation by a given worker.CamundaClientBuilder.defaultJobWorkerTenantIds(List<String> tenantIds) CamundaClientBuilder.defaultMessageTimeToLive(Duration timeToLive) The time-to-live which is used when none is provided for a message.CamundaClientBuilder.defaultRequestTimeout(Duration requestTimeout) The request timeout used if not overridden by the command.CamundaClientBuilder.defaultRequestTimeoutOffset(Duration requestTimeoutOffset) The request timeout client offset is used in commands where thedefaultRequestTimeout(Duration)is also passed to the server.CamundaClientBuilder.defaultTenantId(String tenantId) CamundaClientBuilder.grpcAddress(URI grpcAddress) default CamundaClientBuilderCamundaClientBuilder.jobHandlingExecutor(ExecutorService executor) Identical behavior asjobHandlingExecutor(ExecutorService,boolean), but taking ownership of the executor by default.CamundaClientBuilder.jobHandlingExecutor(ExecutorService executor, boolean takeOwnership) Allows passing a custom executor service that will be used for handling jobs (i.e. executing theJobHandler).default CamundaClientBuilderCamundaClientBuilder.jobWorkerExecutor(ScheduledExecutorService executor) Deprecated.CamundaClientBuilder.jobWorkerExecutor(ScheduledExecutorService executor, boolean takeOwnership) Deprecated.default CamundaClientBuilderCamundaClientBuilder.jobWorkerSchedulingExecutor(ScheduledExecutorService executor) Identical behavior asjobWorkerSchedulingExecutor(ScheduledExecutorService,boolean), but taking ownership of the executor by default.CamundaClientBuilder.jobWorkerSchedulingExecutor(ScheduledExecutorService executor, boolean takeOwnership) Allows passing a custom scheduled executor service that will be used for scheduling job worker tasks such as polling for new jobs.Time interval between keep alive messages sent to the gateway.CamundaClientBuilder.maxHttpConnections(int maxConnections) Sets the maximum number of concurrent HTTP connections the client can open.CamundaClientBuilder.maxMessageSize(int maxSize) A custom maxMessageSize allows the client to receive larger or smaller responses from Camunda.CamundaClientBuilder.maxMetadataSize(int maxSize) A custom maxMetadataSize allows the client to receive larger or smaller response headers from Camunda.static CamundaClientBuilderCamundaClient.newClientBuilder()static CamundaClientBuilderCamundaClient.newClientBuilder(CamundaClientConfiguration configuration) CamundaClientBuilder.numJobWorkerExecutionThreads(int numThreads) CamundaClientBuilder.overrideAuthority(String authority) Overrides the authority used with TLS virtual hosting.CamundaClientBuilder.physicalTenantId(String physicalTenantId) CamundaClientBuilder.preferRestOverGrpc(boolean preferRestOverGrpc) If true, will prefer to use REST over gRPC for calls which can be done over both REST and gRPC.CamundaClientBuilder.prefixPhysicalTenantPath(boolean prefixPhysicalTenantPath) Controls whether the client prefixes the REST base path with/physical-tenants/<id>when aphysical tenant idis set (defaulttrue).CamundaClientBuilder.restAddress(URI restAddress) CamundaClientBuilder.useClientSideLoadBalancing(boolean useClientSideLoadBalancing) If enabled, the client will use DNS-based name resolution and balance across all addresses.CamundaClientBuilder.useDefaultRetryPolicy(boolean useDefaultRetryPolicy) If enabled, the client will make use of the default retry policy defined.CamundaClientBuilder.withChainHandlers(org.apache.hc.client5.http.async.AsyncExecChainHandler... chainHandler) Custom implementations of the Apache HttpClientAsyncExecChainHandlermiddleware API.CamundaClientBuilder.withConfiguration(CamundaClientConfiguration configuration) Sets the configuration from aCamundaClientConfigurationobject.CamundaClientBuilder.withInterceptors(io.grpc.ClientInterceptor... interceptor) Custom implementations of the gRPCClientInterceptormiddleware API.CamundaClientBuilder.withJsonMapper(JsonMapper jsonMapper) CamundaClientBuilder.withProperties(Properties properties) Sets all the properties from aPropertiesobject. -
Uses of CamundaClientBuilder in io.camunda.client.impl
Classes in io.camunda.client.impl that implement CamundaClientBuilderModifier and TypeClassDescriptionfinal classclassMethods in io.camunda.client.impl that return CamundaClientBuilderModifier and TypeMethodDescriptionCamundaClientBuilderImpl.applyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) CamundaClientCloudBuilderImpl.applyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) CamundaClientBuilderImpl.caCertificatePath(String certificatePath) CamundaClientCloudBuilderImpl.caCertificatePath(String certificatePath) CamundaClientBuilderImpl.credentialsProvider(CredentialsProvider credentialsProvider) CamundaClientCloudBuilderImpl.credentialsProvider(CredentialsProvider credentialsProvider) CamundaClientBuilderImpl.defaultJobPollInterval(Duration pollInterval) CamundaClientCloudBuilderImpl.defaultJobPollInterval(Duration pollInterval) CamundaClientBuilderImpl.defaultJobTimeout(Duration timeout) CamundaClientCloudBuilderImpl.defaultJobTimeout(Duration timeout) CamundaClientBuilderImpl.defaultJobWorkerExceptionHandler(JobExceptionHandler jobExceptionHandler) CamundaClientCloudBuilderImpl.defaultJobWorkerExceptionHandler(JobExceptionHandler jobExceptionHandler) CamundaClientBuilderImpl.defaultJobWorkerMaxJobsActive(int maxJobsActive) CamundaClientCloudBuilderImpl.defaultJobWorkerMaxJobsActive(int maxJobsActive) CamundaClientBuilderImpl.defaultJobWorkerName(String workerName) CamundaClientCloudBuilderImpl.defaultJobWorkerName(String workerName) CamundaClientBuilderImpl.defaultJobWorkerStreamEnabled(boolean streamEnabled) CamundaClientCloudBuilderImpl.defaultJobWorkerStreamEnabled(boolean streamEnabled) CamundaClientBuilderImpl.defaultJobWorkerTenantFilter(TenantFilter tenantFilter) CamundaClientCloudBuilderImpl.defaultJobWorkerTenantFilter(TenantFilter tenantFilter) CamundaClientBuilderImpl.defaultJobWorkerTenantIds(List<String> tenantIds) CamundaClientCloudBuilderImpl.defaultJobWorkerTenantIds(List<String> tenantIds) CamundaClientBuilderImpl.defaultMessageTimeToLive(Duration timeToLive) CamundaClientCloudBuilderImpl.defaultMessageTimeToLive(Duration timeToLive) CamundaClientBuilderImpl.defaultRequestTimeout(Duration requestTimeout) CamundaClientCloudBuilderImpl.defaultRequestTimeout(Duration requestTimeout) CamundaClientBuilderImpl.defaultRequestTimeoutOffset(Duration requestTimeoutOffset) CamundaClientCloudBuilderImpl.defaultRequestTimeoutOffset(Duration requestTimeoutOffset) CamundaClientBuilderImpl.defaultTenantId(String tenantId) CamundaClientCloudBuilderImpl.defaultTenantId(String tenantId) CamundaClientBuilderImpl.grpcAddress(URI grpcAddress) CamundaClientCloudBuilderImpl.grpcAddress(URI grpcAddress) CamundaClientBuilderImpl.jobHandlingExecutor(ExecutorService executor, boolean takeOwnership) CamundaClientCloudBuilderImpl.jobHandlingExecutor(ExecutorService executor, boolean takeOwnership) CamundaClientBuilderImpl.jobWorkerExecutor(ScheduledExecutorService executor, boolean takeOwnership) CamundaClientCloudBuilderImpl.jobWorkerExecutor(ScheduledExecutorService executor, boolean takeOwnership) CamundaClientBuilderImpl.jobWorkerSchedulingExecutor(ScheduledExecutorService executor, boolean takeOwnership) CamundaClientCloudBuilderImpl.jobWorkerSchedulingExecutor(ScheduledExecutorService executor, boolean takeOwnership) CamundaClientBuilderImpl.maxHttpConnections(int maxConnections) CamundaClientCloudBuilderImpl.maxHttpConnections(int maxConnections) CamundaClientBuilderImpl.maxMessageSize(int maxMessageSize) CamundaClientCloudBuilderImpl.maxMessageSize(int maxMessageSize) CamundaClientBuilderImpl.maxMetadataSize(int maxMetadataSize) CamundaClientCloudBuilderImpl.maxMetadataSize(int maxMetadataSize) CamundaClientBuilderImpl.numJobWorkerExecutionThreads(int numSubscriptionThreads) CamundaClientCloudBuilderImpl.numJobWorkerExecutionThreads(int numThreads) CamundaClientBuilderImpl.overrideAuthority(String authority) CamundaClientCloudBuilderImpl.overrideAuthority(String authority) CamundaClientBuilderImpl.physicalTenantId(String physicalTenantId) CamundaClientCloudBuilderImpl.physicalTenantId(String physicalTenantId) CamundaClientBuilderImpl.preferRestOverGrpc(boolean preferRestOverGrpc) CamundaClientCloudBuilderImpl.preferRestOverGrpc(boolean preferRestOverGrpc) CamundaClientBuilderImpl.prefixPhysicalTenantPath(boolean prefixPhysicalTenantPath) CamundaClientCloudBuilderImpl.prefixPhysicalTenantPath(boolean prefixPhysicalTenantPath) CamundaClientBuilderImpl.restAddress(URI restAddress) CamundaClientCloudBuilderImpl.restAddress(URI restAddress) CamundaClientBuilderImpl.useClientSideLoadBalancing(boolean useClientSideLoadBalancing) CamundaClientCloudBuilderImpl.useClientSideLoadBalancing(boolean useClientSideLoadBalancing) CamundaClientBuilderImpl.useDefaultRetryPolicy(boolean useDefaultRetryPolicy) CamundaClientCloudBuilderImpl.useDefaultRetryPolicy(boolean useDefaultRetryPolicy) CamundaClientBuilderImpl.withChainHandlers(org.apache.hc.client5.http.async.AsyncExecChainHandler... chainHandler) CamundaClientCloudBuilderImpl.withConfiguration(CamundaClientConfiguration configuration) CamundaClientBuilderImpl.withInterceptors(io.grpc.ClientInterceptor... interceptors) CamundaClientCloudBuilderImpl.withInterceptors(io.grpc.ClientInterceptor... interceptor) CamundaClientBuilderImpl.withJsonMapper(JsonMapper jsonMapper) CamundaClientCloudBuilderImpl.withJsonMapper(JsonMapper jsonMapper) CamundaClientBuilderImpl.withProperties(Properties properties) CamundaClientCloudBuilderImpl.withProperties(Properties properties)
jobWorkerSchedulingExecutor(ScheduledExecutorService, boolean)andjobHandlingExecutor(ExecutorService, boolean)instead