Lines Matching refs:linger
60 int linger = sc.<Integer>getOption(SO_LINGER);
61 if (linger >= 0)
87 linger = sc.<Integer>getOption(SO_LINGER);
88 if (linger < 1)
89 throw new RuntimeException("expected linger to be enabled");
91 linger = sc.<Integer>getOption(SO_LINGER);
92 if (linger >= 0)
93 throw new RuntimeException("expected linger to be disabled");
108 linger = sc.<Integer>getOption(SO_LINGER);
109 if (linger < 1)
110 throw new RuntimeException("expected linger to be enabled");
112 linger = sc.<Integer>getOption(SO_LINGER);
113 if (linger >= 0)
114 throw new RuntimeException("expected linger to be disabled");