GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Epoll: Remove outdated docs about usage of edge-triggered (#16478) · chrisvest/netty@d5d6bae

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • transport-classes-epoll/src/main/java/io/netty/channel/epoll
    • EpollChannelConfig.java
    • EpollDatagramChannel.java
    • EpollServerSocketChannel.java
    • EpollSocketChannel.java
    • package-info.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollChannelConfig.java‎

Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollChannelConfig.java
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,7 @@ public EpollChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator
180180
}
181181

182182
/**
183-
* Return the {@link EpollMode} used. Default is
184-
* {@link EpollMode#EDGE_TRIGGERED}. If you want to use {@link #isAutoRead()} {@code false} or
185-
* {@link #getMaxMessagesPerRead()} and have an accurate behaviour you should use
186-
* {@link EpollMode#LEVEL_TRIGGERED}.
183+
* Return the {@link EpollMode} used.
187184
*
188185
* @deprecated Netty always uses level-triggered mode and so this method is just a no-op.
189186
*/
@@ -194,8 +191,6 @@ public EpollMode getEpollMode() {
194191

195192
/**
196193
* Set the {@link EpollMode} used. Default is
197-
* {@link EpollMode#EDGE_TRIGGERED}. If you want to use {@link #isAutoRead()} {@code false} or
198-
* {@link #getMaxMessagesPerRead()} and have an accurate behaviour you should use
199194
* {@link EpollMode#LEVEL_TRIGGERED}.
200195
*
201196
* <strong>Be aware this config setting can only be adjusted before the channel was registered.</strong>
Collapse file

‎transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollDatagramChannel.java‎

Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollDatagramChannel.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
import static io.netty.channel.epoll.LinuxSocket.newSocketDgram;
5656

5757
/**
58-
* {@link DatagramChannel} implementation that uses linux EPOLL Edge-Triggered Mode for
59-
* maximal performance.
58+
* {@link DatagramChannel} implementation that uses linux EPOLL.
6059
*/
6160
public final class EpollDatagramChannel extends AbstractEpollChannel implements DatagramChannel {
6261
private static final InternalLogger logger = InternalLoggerFactory.getInstance(EpollDatagramChannel.class);
Collapse file

‎transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollServerSocketChannel.java‎

Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollServerSocketChannel.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
import static io.netty.channel.unix.NativeInetAddress.address;
3434

3535
/**
36-
* {@link ServerSocketChannel} implementation that uses linux EPOLL Edge-Triggered Mode for
37-
* maximal performance.
36+
* {@link ServerSocketChannel} implementation that uses linux EPOLL.
3837
*/
3938
public final class EpollServerSocketChannel extends AbstractEpollServerChannel implements ServerSocketChannel {
4039

Collapse file

‎transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannel.java‎

Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannel.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
import static io.netty.channel.epoll.Native.IS_SUPPORTING_TCP_FASTOPEN_CLIENT;
3939

4040
/**
41-
* {@link SocketChannel} implementation that uses linux EPOLL Edge-Triggered Mode for
42-
* maximal performance.
41+
* {@link SocketChannel} implementation that uses linux EPOLL.
4342
*/
4443
public final class EpollSocketChannel extends AbstractEpollStreamChannel implements SocketChannel {
4544

Collapse file

‎transport-classes-epoll/src/main/java/io/netty/channel/epoll/package-info.java‎

Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/package-info.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
/**
18-
* Optimized transport for linux which uses <a href="https://en.wikipedia.org/wiki/Epoll">EPOLL Edge-Triggered Mode</a>
19-
* for maximal performance.
18+
* Optimized transport for linux which uses <a href="https://en.wikipedia.org/wiki/Epoll">EPOLL</a>.
2019
*/
2120
package io.netty.channel.epoll;

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.