Interface IoUringOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IoUringOptions,IoUringOptions.Builder
public interface IoUringOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEnable io_uring submission queue polling (SQPOLL). io_uring SQPOLL mode polls all SQEs in the SQ in the kernel thread. io_uring SQPOLL mode may reduce latency and increase CPU usage as a cost.com.google.protobuf.UInt32ValueThe size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).com.google.protobuf.UInt32ValueOrBuilderThe size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).com.google.protobuf.UInt32ValueThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32ValueOrBuilderThe size of an io_uring socket's read buffer.com.google.protobuf.UInt32ValueThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.com.google.protobuf.UInt32ValueOrBuilderThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.booleanThe size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE).booleanThe size of an io_uring socket's read buffer.booleanThe write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIoUringSize
boolean hasIoUringSize()The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE). The default is 1000.
.google.protobuf.UInt32Value io_uring_size = 1;- Returns:
- Whether the ioUringSize field is set.
-
getIoUringSize
com.google.protobuf.UInt32Value getIoUringSize()The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE). The default is 1000.
.google.protobuf.UInt32Value io_uring_size = 1;- Returns:
- The ioUringSize.
-
getIoUringSizeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getIoUringSizeOrBuilder()The size for io_uring submission queues (SQ). io_uring is built with a fixed size in each thread during configuration, and each io_uring operation creates a submission queue entry (SQE). The default is 1000.
.google.protobuf.UInt32Value io_uring_size = 1; -
getEnableSubmissionQueuePolling
boolean getEnableSubmissionQueuePolling()Enable io_uring submission queue polling (SQPOLL). io_uring SQPOLL mode polls all SQEs in the SQ in the kernel thread. io_uring SQPOLL mode may reduce latency and increase CPU usage as a cost. The default is false.
bool enable_submission_queue_polling = 2;- Returns:
- The enableSubmissionQueuePolling.
-
hasReadBufferSize
boolean hasReadBufferSize()The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a buffer of the given size. If the given buffer is too small, the socket will have read multiple times for all the data. The default is 8192.
.google.protobuf.UInt32Value read_buffer_size = 3;- Returns:
- Whether the readBufferSize field is set.
-
getReadBufferSize
com.google.protobuf.UInt32Value getReadBufferSize()The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a buffer of the given size. If the given buffer is too small, the socket will have read multiple times for all the data. The default is 8192.
.google.protobuf.UInt32Value read_buffer_size = 3;- Returns:
- The readBufferSize.
-
getReadBufferSizeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getReadBufferSizeOrBuilder()The size of an io_uring socket's read buffer. Each io_uring read operation will allocate a buffer of the given size. If the given buffer is too small, the socket will have read multiple times for all the data. The default is 8192.
.google.protobuf.UInt32Value read_buffer_size = 3; -
hasWriteTimeoutMs
boolean hasWriteTimeoutMs()The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously. If the remote stops reading, the io_uring write operation may never complete. The operation is canceled and the socket is closed after the timeout. The default is 1000.
.google.protobuf.UInt32Value write_timeout_ms = 4;- Returns:
- Whether the writeTimeoutMs field is set.
-
getWriteTimeoutMs
com.google.protobuf.UInt32Value getWriteTimeoutMs()The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously. If the remote stops reading, the io_uring write operation may never complete. The operation is canceled and the socket is closed after the timeout. The default is 1000.
.google.protobuf.UInt32Value write_timeout_ms = 4;- Returns:
- The writeTimeoutMs.
-
getWriteTimeoutMsOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getWriteTimeoutMsOrBuilder()The write timeout of an io_uring socket on closing in ms. io_uring writes and closes asynchronously. If the remote stops reading, the io_uring write operation may never complete. The operation is canceled and the socket is closed after the timeout. The default is 1000.
.google.protobuf.UInt32Value write_timeout_ms = 4;
-