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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IpTables
public IpTables()
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.