com.taobao.metamorphosis.server.transaction.store
类 JournalLocation
java.lang.Object
com.taobao.metamorphosis.server.transaction.store.JournalLocation
- 所有已实现的接口:
- Serializable, Comparable<JournalLocation>
public final class JournalLocation
- extends Object
- implements Comparable<JournalLocation>, Serializable
事务日志索引位置
- 作者:
- boyan(boyan@taobao.com)
- 另请参见:
- 序列化表格
number
public int number
offset
public long offset
JournalLocation
public JournalLocation()
JournalLocation
public JournalLocation(int number,
long offset)
getNumber
public int getNumber()
setNumber
public void setNumber(int number)
getOffset
public long getOffset()
setOffset
public void setOffset(long offset)
compareTo
public int compareTo(JournalLocation o)
- 指定者:
- 接口
Comparable<JournalLocation>
中的 compareTo
hashCode
public int hashCode()
- 覆盖:
- 类
Object
中的 hashCode
equals
public boolean equals(Object obj)
- 覆盖:
- 类
Object
中的 equals
Copyright © 2010–2013. All rights reserved.