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)
另请参见:
序列化表格

字段摘要
 int number
           
 long offset
           
 
构造方法摘要
JournalLocation()
           
JournalLocation(int number, long offset)
           
 
方法摘要
 int compareTo(JournalLocation o)
           
 boolean equals(Object obj)
           
 int getNumber()
           
 long getOffset()
           
 int hashCode()
           
 void setNumber(int number)
           
 void setOffset(long offset)
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

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.