Package org.apache.solr.cloud
Class IpTables
java.lang.Object
org.apache.solr.cloud.IpTables
To use, tests must be able to run iptables, eg sudo chmod u+s iptables
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidblockPort(int port) static voidstatic voidunblockPort(int port)
-
Constructor Details
-
IpTables
public IpTables()
-
-
Method Details
-
blockPort
- Throws:
IOExceptionInterruptedException
-
unblockPort
- Throws:
IOExceptionInterruptedException
-
unblockAllPorts
- Throws:
IOExceptionInterruptedException
-