public class InodeUpdate
extends java.lang.Object
| Constructor and Description |
|---|
InodeUpdate(BlockStore store,
byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
getBuffer()
Returns the buffer.
|
long |
getLength()
Returns the length.
|
BlockStore |
getStore()
Returns the backing store.
|
static long |
readLong(byte[] buffer,
int offset)
Reads the long.
|
void |
writeBlockLong(long blockAddress,
int offset,
long value)
Writes a long value to a block
|
static void |
writeLong(byte[] buffer,
int offset,
long v)
Writes the long.
|
public InodeUpdate(BlockStore store, byte[] bytes, int offset)
public BlockStore getStore()
public byte[] getBuffer()
public long getLength()
public void close()
public void writeBlockLong(long blockAddress,
int offset,
long value)
throws java.io.IOException
java.io.IOExceptionpublic static long readLong(byte[] buffer,
int offset)
public static void writeLong(byte[] buffer,
int offset,
long v)