|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.kaha.impl.data.DataItem
public final class DataItem
A a wrapper for a data in the store
Field Summary |
---|
Fields inherited from interface org.apache.activemq.kaha.impl.data.Item |
---|
ACTIVE, FREE, LOCATION_SIZE, MAGIC, POSITION_NOT_SET |
Constructor Summary | |
---|---|
DataItem()
|
Method Summary | |
---|---|
DataItem |
copy()
|
int |
getFile()
|
long |
getOffset()
|
int |
getSize()
|
void |
setFile(int file)
|
void |
setOffset(long offset)
|
void |
setSize(int size)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataItem()
Method Detail |
---|
public int getSize()
getSize
in interface StoreLocation
StoreLocation.getSize()
public void setSize(int size)
size
- The size to set.public long getOffset()
getOffset
in interface StoreLocation
StoreLocation.getOffset()
public void setOffset(long offset)
offset
- The offset to set.public int getFile()
getFile
in interface StoreLocation
StoreLocation.getFile()
public void setFile(int file)
file
- The file to set.public java.lang.String toString()
toString
in class java.lang.Object
public DataItem copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |