public enum OChecksumMode extends Enum<OChecksumMode>
write caches
.Enum Constant and Description |
---|
Off
Checksums are completely off.
|
Store
Checksums are calculated and stored on page flushes, no verification is done on page loads, stored checksums are verified
only during user-initiated health checks.
|
StoreAndSwitchReadOnlyMode
Same as
StoreAndVerify with addition that storage will be switched in read only mode
till it will not be repaired. |
StoreAndThrow
Same as
StoreAndVerify with addition of exceptions thrown on errors. |
StoreAndVerify
Checksums are calculated and stored on page flushes, verification is performed on each page load, errors are reported in the
log.
|
Modifier and Type | Method and Description |
---|---|
static OChecksumMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OChecksumMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OChecksumMode Off
public static final OChecksumMode Store
public static final OChecksumMode StoreAndVerify
public static final OChecksumMode StoreAndThrow
StoreAndVerify
with addition of exceptions thrown on errors. This mode is useful for debugging
and testing, but should be avoided in a production environment.public static final OChecksumMode StoreAndSwitchReadOnlyMode
StoreAndVerify
with addition that storage will be switched in read only mode
till it will not be repaired.public static OChecksumMode[] values()
for (OChecksumMode c : OChecksumMode.values()) System.out.println(c);
public static OChecksumMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2020 OrientDB. All rights reserved.