Package org.apache.catalina.tribes.util
Class JreCompat
java.lang.Object
org.apache.catalina.tribes.util.JreCompat
- Direct Known Subclasses:
Jre14Compat
This is the base implementation class for JRE compatibility and provides an implementation based on Java 11.
Sub-classes may extend this class and provide alternative implementations for later JRE versions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JreCompat
void
setSocketoptionIpMulticastLoop
(MulticastSocket socket, boolean enabled)
-
Constructor Details
-
JreCompat
public JreCompat()
-
-
Method Details
-
getInstance
-
setSocketoptionIpMulticastLoop
public void setSocketoptionIpMulticastLoop(MulticastSocket socket, boolean enabled) throws IOException - Throws:
IOException
-