Class NetUtils.Port

  • All Implemented Interfaces:
    AutoCloseable
    Enclosing class:
    NetUtils

    public static class NetUtils.Port
    extends Object
    implements AutoCloseable
    Port wrapper class which holds a FileLock until it releases. Used to avoid race condition among multiple threads/processes.