Class TLockFile.LockContent

java.lang.Object
org.cdlib.mrt.utility.TLockFile.LockContent
Enclosing class:
TLockFile

public class TLockFile.LockContent extends Object
class containing lock information
  • Field Details

    • creationDate

      public Date creationDate
    • nanoTime

      public long nanoTime
    • staleDate

      public Date staleDate
    • isTLockFile

      public boolean isTLockFile
  • Constructor Details

    • LockContent

      public LockContent(Integer staleSeconds)
      Constructor for new LockContent based on current time
      Parameters:
      staleSeconds -
    • LockContent

      protected LockContent(String lockContent) throws TException
      Lock info extracted from string
      Parameters:
      lockContent - lock file content as string
      Throws:
      TException - process exception
  • Method Details