aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att/research/mdbc/tables/RedoRecordId.java
blob: 225c89e4e47d748aee31b9a50b7818e7d75c3ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.att.research.mdbc.tables;

public final class RedoRecordId {
	public final String leaseId;
	public final String commitId;

	public RedoRecordId(String leaseId, String commitId) {
		this.leaseId = leaseId;
		this.commitId = commitId;
	}

	public boolean isEmpty() {
		return (this.leaseId==null || this.leaseId.isEmpty())&&(this.commitId==null||this.commitId.isEmpty());
	}
}