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 and Description
    `IpTables()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2016 Apache Software Foundation. All Rights Reserved.