public class ScatteringStoreDataAccessor
extends java.lang.Object
| Constructor | Description |
|---|---|
ScatteringStoreDataAccessor(java.io.File path,
java.lang.String file_name,
java.lang.String first_ext,
long max_slice_size) |
Constructs the store data accessor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
convertToScatteringStore(java.io.File f) |
Given a file, this will convert to a scattering file store with files
no larger than the maximum slice size.
|
boolean |
delete() |
|
boolean |
exists() |
|
long |
getSize() |
|
void |
open(boolean read_only) |
|
void |
read(long position,
byte[] buf,
int off,
int len) |
|
void |
setSize(long length) |
|
void |
synch() |
|
void |
write(long position,
byte[] buf,
int off,
int len) |
public ScatteringStoreDataAccessor(java.io.File path,
java.lang.String file_name,
java.lang.String first_ext,
long max_slice_size)
public void convertToScatteringStore(java.io.File f)
throws java.io.IOException
java.io.IOExceptionpublic void open(boolean read_only)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean delete()
public boolean exists()
public void read(long position,
byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void write(long position,
byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void setSize(long length)
throws java.io.IOException
java.io.IOExceptionpublic long getSize()
throws java.io.IOException
java.io.IOExceptionpublic void synch()
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All rights reserved.