Class Inmate

java.lang.Object
com.renomad.minum.database.DbData<Inmate>
com.renomad.minum.security.Inmate

public final class Inmate extends DbData<Inmate>
Represents an inmate in our "jail". If someone does something we don't like, they do their time here.
  • Field Details

    • EMPTY

      public static final Inmate EMPTY
      Builds an empty version of this class, except that it has a current Context object
  • Constructor Details

    • Inmate

      public Inmate(Long index, String clientId, Long releaseTime)
      Represents an inmate in our "jail". If someone does something we don't like, they do their time here.
      Parameters:
      clientId - a string representation of the client address plus a string representing the offense, for example, "1.2.3.4_vuln_seeking" - 1.2.3.4 was seeking out vulnerabilities.
      releaseTime - the time, in milliseconds from the epoch, at which this inmate will be released from the brig.
  • Method Details