Java Code Examples for org.apache.flink.fs.s3.common.utils.BackPressuringExecutor

The following examples show how to use org.apache.flink.fs.s3.common.utils.BackPressuringExecutor. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
private Executor limitedExecutor() {
	return maxConcurrentUploadsPerStream <= 0 ?
			executor :
			new BackPressuringExecutor(executor, maxConcurrentUploadsPerStream);
}
 
Example 2
Source Project: flink   Source File: S3RecoverableMultipartUploadFactory.java    License: Apache License 2.0 4 votes vote down vote up
private Executor limitedExecutor() {
	return maxConcurrentUploadsPerStream <= 0 ?
			executor :
			new BackPressuringExecutor(executor, maxConcurrentUploadsPerStream);
}
 
Example 3
Source Project: flink   Source File: S3RecoverableMultipartUploadFactory.java    License: Apache License 2.0 4 votes vote down vote up
private Executor limitedExecutor() {
	return maxConcurrentUploadsPerStream <= 0 ?
			executor :
			new BackPressuringExecutor(executor, maxConcurrentUploadsPerStream);
}