Package org.apache.solr.cloud
Class IpTables
- java.lang.Object
 - 
- org.apache.solr.cloud.IpTables
 
 
- 
public class IpTables extends Object
To use, tests must be able to run iptables, eg sudo chmod u+s iptables 
- 
- 
Constructor Summary
Constructors Constructor Description IpTables() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidblockPort(int port)static voidunblockAllPorts()static voidunblockPort(int port) 
 - 
 
- 
- 
Method Detail
- 
blockPort
public static void blockPort(int port) throws IOException, InterruptedException- Throws:
 IOExceptionInterruptedException
 
- 
unblockPort
public static void unblockPort(int port) throws IOException, InterruptedException- Throws:
 IOExceptionInterruptedException
 
- 
unblockAllPorts
public static void unblockAllPorts() throws IOException, InterruptedException- Throws:
 IOExceptionInterruptedException
 
 - 
 
 -