public class FileMetaData extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<FileMetaData,InternalKey> |
GET_LARGEST_USER_KEY |
Constructor and Description |
---|
FileMetaData(long number,
long fileSize,
InternalKey smallest,
InternalKey largest) |
Modifier and Type | Method and Description |
---|---|
void |
decrementAllowedSeeks() |
int |
getAllowedSeeks() |
long |
getFileSize() |
InternalKey |
getLargest() |
long |
getNumber() |
InternalKey |
getSmallest() |
void |
setAllowedSeeks(int allowedSeeks) |
String |
toString() |
public static com.google.common.base.Function<FileMetaData,InternalKey> GET_LARGEST_USER_KEY
public FileMetaData(long number, long fileSize, InternalKey smallest, InternalKey largest)
public long getFileSize()
public long getNumber()
public InternalKey getSmallest()
public InternalKey getLargest()
public int getAllowedSeeks()
public void setAllowedSeeks(int allowedSeeks)
public void decrementAllowedSeeks()
Copyright © 2011–2017. All rights reserved.