public enum ChronicleSocketChannelFactory extends Enum<ChronicleSocketChannelFactory>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
FAST_JAVA8_IO |
| Modifier and Type | Method and Description |
|---|---|
static ChronicleSocketChannelFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChronicleSocketChannelFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ChronicleSocketChannel |
wrap() |
static ChronicleSocketChannel |
wrap(boolean isNative,
InetSocketAddress socketAddress) |
static ChronicleSocketChannel |
wrap(boolean isNative,
@NotNull SocketChannel sc) |
static ChronicleSocketChannel |
wrap(InetSocketAddress socketAddress) |
static ChronicleSocketChannel |
wrap(@NotNull SocketChannel sc) |
static ChronicleSocketChannel |
wrapUnsafe(@NotNull SocketChannel sc) |
public static ChronicleSocketChannelFactory[] values()
for (ChronicleSocketChannelFactory c : ChronicleSocketChannelFactory.values()) System.out.println(c);
public static ChronicleSocketChannelFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ChronicleSocketChannel wrap() throws IOException
IOExceptionpublic static ChronicleSocketChannel wrap(InetSocketAddress socketAddress) throws IOException
IOExceptionpublic static ChronicleSocketChannel wrap(boolean isNative, InetSocketAddress socketAddress) throws IOException
IOExceptionpublic static ChronicleSocketChannel wrap(@NotNull @NotNull SocketChannel sc)
public static ChronicleSocketChannel wrap(boolean isNative, @NotNull @NotNull SocketChannel sc)
public static ChronicleSocketChannel wrapUnsafe(@NotNull @NotNull SocketChannel sc)
Copyright © 2023. All rights reserved.