Storage-equivalent instead.public class LoggingIoAdapter extends VanillaIoAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_ALL
Deprecated.
|
static int |
LOG_READ
Deprecated.
|
static int |
LOG_SEEK
Deprecated.
|
static int |
LOG_SYNC
Deprecated.
|
static int |
LOG_WRITE
Deprecated.
|
_delegate| Constructor and Description |
|---|
LoggingIoAdapter(IoAdapter delegateAdapter,
java.lang.String fileName)
Deprecated.
|
LoggingIoAdapter(IoAdapter delegateAdapter,
java.lang.String fileName,
int config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
IoAdapter |
open(java.lang.String path,
boolean lockFile,
long initialLength,
boolean readOnly)
Deprecated.
|
int |
read(byte[] bytes,
int length)
Deprecated.
|
void |
seek(long pos)
Deprecated.
|
void |
sync()
Deprecated.
|
void |
write(byte[] buffer,
int length)
Deprecated.
|
delete, exists, getLengthpublic static final int LOG_READ
public static final int LOG_WRITE
public static final int LOG_SYNC
public static final int LOG_SEEK
public static final int LOG_ALL
public LoggingIoAdapter(IoAdapter delegateAdapter, java.lang.String fileName, int config)
public LoggingIoAdapter(IoAdapter delegateAdapter, java.lang.String fileName)
public IoAdapter open(java.lang.String path, boolean lockFile, long initialLength, boolean readOnly) throws Db4oIOException
open in class IoAdapterDb4oIOExceptionpublic void close()
throws Db4oIOException
close in class VanillaIoAdapterDb4oIOExceptionpublic int read(byte[] bytes,
int length)
throws Db4oIOException
read in class VanillaIoAdapterDb4oIOExceptionpublic void seek(long pos)
throws Db4oIOException
seek in class VanillaIoAdapterDb4oIOExceptionpublic void sync()
throws Db4oIOException
sync in class VanillaIoAdapterDb4oIOExceptionpublic void write(byte[] buffer,
int length)
throws Db4oIOException
write in class VanillaIoAdapterDb4oIOException