Class IpResourceReserve

java.lang.Object
ru.bitel.oss.systems.inventory.resource.common.bean.IpResourceReserve

public class IpResourceReserve extends Object
  • Constructor Details

    • IpResourceReserve

      public IpResourceReserve(int ipResourceId, byte[] address, short prefixLength, long timeout)
      Parameters:
      ipResourceId -
      address -
      prefixLength - 32 for ipv4
      timeout -
    • IpResourceReserve

      @Deprecated public IpResourceReserve(int ipResourceId, byte[] address, long timeout)
      Parameters:
      ipResourceId -
      address -
      timeout -
  • Method Details

    • getIpResourceId

      public int getIpResourceId()
    • setIpResourceId

      public void setIpResourceId(int ipResourceId)
    • getAddress

      public byte[] getAddress()
    • setAddress

      public void setAddress(byte[] address)
    • getPrefixLength

      public short getPrefixLength()
    • setPrefixLength

      public void setPrefixLength(short prefixLength)
    • getTimeout

      public long getTimeout()
      Возвращает время, после которого данный резерв нужно освободить.
      Returns:
    • setTimeout

      public void setTimeout(long timeout)
    • getReserveTime

      public long getReserveTime()
    • setReserveTime

      public void setReserveTime(long reserveTime)