com.taobao.metamorphosis.server.store
类 Location
java.lang.Object
com.taobao.metamorphosis.server.store.Location
- 直接已知子类:
- JournalTransactionStore.AddMsgLocation
public class Location
- extends Object
数据存入的位置
- 作者:
- boyan(boyan@taobao.com)
构造方法摘要 |
protected |
Location(long offset,
int length)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offset
protected final long offset
length
protected final int length
InvalidLocaltion
public static Location InvalidLocaltion
Location
protected Location(long offset,
int length)
create
public static Location create(long offset,
int length)
isValid
public boolean isValid()
getOffset
public long getOffset()
getLength
public int getLength()
Copyright © 2010–2013. All rights reserved.