public final class RegisterVersion extends Object implements Serializable, Comparable<RegisterVersion>
| 构造器和说明 |
|---|
RegisterVersion(long version,
long registerTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(RegisterVersion o) |
boolean |
equals(Object o) |
long |
getRegisterTimestamp()
Getter method for property registerTimestamp.
|
long |
getVersion()
Getter method for property version.
|
int |
hashCode() |
RegisterVersion |
incrRegisterTimestamp() |
static RegisterVersion |
of(long version,
long registerTimestamp) |
boolean |
orderThan(RegisterVersion o) |
String |
toString() |
public static RegisterVersion of(long version, long registerTimestamp)
public long getVersion()
public long getRegisterTimestamp()
public int compareTo(RegisterVersion o)
compareTo 在接口中 Comparable<RegisterVersion>public boolean orderThan(RegisterVersion o)
public RegisterVersion incrRegisterTimestamp()
Copyright © 2023 The Ant Financial. All rights reserved.