Interface Transport
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransportNative transport based on Netty native epoll transport.static final TransportNative transport based on Netty native io_uring transport.static final TransportNative transport based on Netty native kqueue transport.static final TransportNio transport, always available based on ${code java.nio} API. -
Method Summary
-
Field Details
-
NIO
Nio transport, always available based on ${code java.nio} API. -
KQUEUE
Native transport based on Netty native kqueue transport. -
EPOLL
Native transport based on Netty native epoll transport. -
IO_URING
Native transport based on Netty native io_uring transport.
-
-
Method Details
-
name
String name()- Returns:
- the name among
nio, kqueue, epoll, io_uring
-
nativeTransport
- Returns:
- a native transport, it might return an unavailable transport (
available()) thenunavailabilityCause()can be used to check the error preventing its unsafe,nullcan be returned when no native transport can be loaded.
-
available
boolean available()- Returns:
- whether the transport can be used by a Vert.x instance
-
implementation
Transport implementation()- Returns:
- the implementation
-