org.apache.solr.cloud
Class IpTables

java.lang.Object
  extended by 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
IpTables()
           
 
Method Summary
static void blockPort(int port)
           
static void unblockAllPorts()
           
static void unblockPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpTables

public IpTables()
Method Detail

blockPort

public static void blockPort(int port)
                      throws IOException,
                             InterruptedException
Throws:
IOException
InterruptedException

unblockPort

public static void unblockPort(int port)
                        throws IOException,
                               InterruptedException
Throws:
IOException
InterruptedException

unblockAllPorts

public static void unblockAllPorts()
                            throws IOException,
                                   InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.