com.rinoto.migramongo.LockEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of migramongo-core Show documentation
Show all versions of migramongo-core Show documentation
Tool for migrating mongodb scripts
package com.rinoto.migramongo;
import java.util.Date;
public class LockEntry {
private final boolean locked;
private final Date lastLockDate;
private final Date lastReleaseDate;
public LockEntry(boolean locked, Date lastLockDate, Date lastReleaseDate) {
this.locked = locked;
this.lastLockDate = lastLockDate;
this.lastReleaseDate = lastReleaseDate;
}
public boolean isLocked() {
return locked;
}
public Date getLastLockDate() {
return lastLockDate;
}
public Date getLastReleaseDate() {
return lastReleaseDate;
}
}