IoUringIoHandlerConfig.java — netty Source File
Architecture documentation for IoUringIoHandlerConfig.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2025 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.channel.uring;
import io.netty.util.internal.ObjectUtil;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Configuration class for an {@link IoUringIoHandler},
* managing the settings for a {@link RingBuffer} and its io_uring file descriptor.
*
* <h3>Option Map</h3>
* These options are used exclusively during the initialization of the {@link IoUringIoHandler}
* to configure the associated io_uring instance.
*
* <p>
* The {@link IoUringIoHandlerConfig} class provides the following configurable options:
* </p>
*
* <table border="1" cellspacing="0" cellpadding="6">
* <caption>Available Configuration Options</caption>
* <thead>
* <tr>
* <th>Setter Method</th>
* <th>Description</th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <td>{@link IoUringIoHandlerConfig#setRingSize}</td>
* <td>Sets the size of the submission queue for the io_uring instance.
* <br>
* If you want to submit a large number of io_uring requests at once,
* it is recommended to properly configure this option.
* The default value is 4096, which is sufficient for most scenarios.
* </td>
* </tr>
* <tr>
* <td>{@link IoUringIoHandlerConfig#setMaxBoundedWorker}</td>
* <td>Defines the maximum number of bounded io_uring worker threads.
* <br>
* If you extend io_uring-related file operations based on Netty,
* it is recommended to properly configure this option.
// ... (228 more lines)
Domain
Subdomains
Classes
Source
Frequently Asked Questions
What does IoUringIoHandlerConfig.java do?
IoUringIoHandlerConfig.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Allocators subdomain.
Where is IoUringIoHandlerConfig.java in the architecture?
IoUringIoHandlerConfig.java is located at transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandlerConfig.java (domain: Buffer, subdomain: Allocators, directory: transport-classes-io_uring/src/main/java/io/netty/channel/uring).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free