Package org.cdlib.mrt.utility
Class TLockFile.LockContent
java.lang.Object
org.cdlib.mrt.utility.TLockFile.LockContent
- Enclosing class:
TLockFile
class containing lock information
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanlong -
Constructor Summary
ConstructorsModifierConstructorDescriptionLockContent(Integer staleSeconds) Constructor for new LockContent based on current timeprotectedLockContent(String lockContent) Lock info extracted from string -
Method Summary
-
Field Details
-
creationDate
-
nanoTime
public long nanoTime -
staleDate
-
isTLockFile
public boolean isTLockFile
-
-
Constructor Details
-
LockContent
Constructor for new LockContent based on current time- Parameters:
staleSeconds-
-
LockContent
Lock info extracted from string- Parameters:
lockContent- lock file content as string- Throws:
TException- process exception
-
-
Method Details