public class FSRecords
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FSRecords.NameId |
Modifier and Type | Field and Description |
---|---|
static boolean |
WE_HAVE_CONTENT_HASHES |
Modifier and Type | Method and Description |
---|---|
static int |
createRecord() |
static long |
getCreationTimestamp() |
static int |
getMaxId() |
static java.lang.String |
getName(int id) |
static java.lang.String |
getNameByNameId(int nameId) |
static int |
getNameId(int id) |
static int |
getNameId(java.lang.String name) |
static int |
getParent(int id) |
static int |
getVersion() |
static void |
handleError(java.lang.Throwable e) |
static void |
invalidateCaches() |
static FSRecords.NameId [] |
listAll(int parentId) |
static java.io.DataInputStream |
readAttributeWithLock(int fileId,
FileAttribute att) |
static DataOutputStream |
writeAttribute(int fileId,
FileAttribute att) |
public static int getVersion()
public static long getCreationTimestamp()
public static int createRecord()
public static int getMaxId()
public static FSRecords.NameId [] listAll(int parentId)
public static int getParent(int id)
public static int getNameId(int id)
public static int getNameId(java.lang.String name)
public static java.lang.String getName(int id)
public static java.lang.String getNameByNameId(int nameId)
public static java.io.DataInputStream readAttributeWithLock(int fileId, FileAttribute att)
public static DataOutputStream writeAttribute(int fileId, FileAttribute att)
public static void invalidateCaches()
public static void handleError(java.lang.Throwable e) throws java.lang.RuntimeException, java.lang.Error
java.lang.RuntimeException
java.lang.Error