public class TachyonFile extends Object implements Comparable<TachyonFile>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TachyonFile o) |
boolean |
equals(Object obj) |
long |
getBlockId(int blockIndex) |
long |
getBlockSizeByte() |
long |
getCreationTimeMs() |
int |
getDiskReplication() |
InStream |
getInStream(ReadType readType) |
List<String> |
getLocationHosts() |
int |
getNumberOfBlocks() |
OutStream |
getOutStream(WriteType writeType) |
String |
getPath() |
int |
hashCode() |
boolean |
isComplete() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isInLocalMemory() |
boolean |
isInMemory() |
long |
length() |
boolean |
needPin() |
TachyonByteBuffer |
readByteBuffer() |
boolean |
recache() |
boolean |
rename(String path) |
String |
toString() |
public InStream getInStream(ReadType readType) throws IOException
IOException
public OutStream getOutStream(WriteType writeType) throws IOException
IOException
public String getPath()
public List<String> getLocationHosts() throws IOException
IOException
public boolean isFile()
public boolean isDirectory()
public boolean isInLocalMemory()
public boolean isInMemory()
public boolean isComplete()
public long length()
public int getNumberOfBlocks() throws IOException
IOException
public long getBlockSizeByte()
public TachyonByteBuffer readByteBuffer() throws IOException
IOException
public boolean recache() throws IOException
IOException
public boolean rename(String path) throws IOException
IOException
public int compareTo(TachyonFile o)
compareTo
in interface Comparable<TachyonFile>
public long getBlockId(int blockIndex) throws IOException
IOException
public boolean needPin()
public int getDiskReplication()
public long getCreationTimeMs()
Copyright © 2013. All rights reserved.