public enum SqlJetDeviceCharacteristics extends java.lang.Enum<SqlJetDeviceCharacteristics>
ISqlJetFile
object returns an set of the thesevalues expressing
I/O characteristics of the mass storage
device that holds the file that the ISqlJetFile
refers to.
The IOCAP_ATOMIC property means that all writes of
any size are atomic. The IOCAP_ATOMICnnn values
mean that writes of blocks that are nnn bytes in size and
are aligned to an address which is an integer multiple of
nnn are atomic. The IOCAP_SAFE_APPEND value means
that when data is appended to a file, the data is appended
first then the size of the file is extended, never the other
way around. The IOCAP_SEQUENTIAL property means that
information is written to disk in the same order as calls
to write().Enum Constant and Description |
---|
IOCAP_ATOMIC16K |
IOCAP_ATOMIC1K |
IOCAP_ATOMIC2K |
IOCAP_ATOMIC32K |
IOCAP_ATOMIC4K |
IOCAP_ATOMIC512 |
IOCAP_ATOMIC64K |
IOCAP_ATOMIC8K |
IOCAP_SAFE_APPEND |
IOCAP_SEQUENTIAL |
Modifier and Type | Method and Description |
---|---|
int |
getIoCapAtomicSize() |
static SqlJetDeviceCharacteristics |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlJetDeviceCharacteristics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC512
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC1K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC2K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC4K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC8K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC16K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC32K
public static final SqlJetDeviceCharacteristics IOCAP_ATOMIC64K
public static final SqlJetDeviceCharacteristics IOCAP_SAFE_APPEND
public static final SqlJetDeviceCharacteristics IOCAP_SEQUENTIAL
public static SqlJetDeviceCharacteristics[] values()
for (SqlJetDeviceCharacteristics c : SqlJetDeviceCharacteristics.values()) System.out.println(c);
public static SqlJetDeviceCharacteristics valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIoCapAtomicSize()
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.