Enum TransportMode

java.lang.Object
java.lang.Enum<TransportMode>
org.redisson.config.TransportMode
All Implemented Interfaces:
Serializable, Comparable<TransportMode>, java.lang.constant.Constable

public enum TransportMode extends Enum<TransportMode>
Author:
Nikita Koksharov
  • Enum Constant Details

    • NIO

      public static final TransportMode NIO
      Use NIO transport.
    • EPOLL

      public static final TransportMode EPOLL
      Use EPOLL transport. Activates an unix socket if servers binded to loopback interface. Requires netty-transport-native-epoll lib in classpath.
    • KQUEUE

      public static final TransportMode KQUEUE
      Use KQUEUE transport. Requires netty-transport-native-kqueue lib in classpath.
    • IO_URING

      public static final TransportMode IO_URING
      Use `io_uring` transport. Requires netty-transport-io_uring lib in classpath.
  • Method Details

    • values

      public static TransportMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransportMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null