1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.channel.unix;
17
18 import static io.netty.channel.unix.LimitsStaticallyReferencedJniMethods.iovMax;
19 import static io.netty.channel.unix.LimitsStaticallyReferencedJniMethods.sizeOfjlong;
20 import static io.netty.channel.unix.LimitsStaticallyReferencedJniMethods.ssizeMax;
21 import static io.netty.channel.unix.LimitsStaticallyReferencedJniMethods.uioMaxIov;
22
23 public final class Limits {
24 public static final int IOV_MAX = iovMax();
25 public static final int UIO_MAX_IOV = uioMaxIov();
26 public static final long SSIZE_MAX = ssizeMax();
27
28 public static final int SIZEOF_JLONG = sizeOfjlong();
29
30 private Limits() { }
31 }