public enum DbCreateFromRestroreMode extends Enum<DbCreateFromRestroreMode>
Enum Constant and Description |
---|
CreateFrom
Supports Creating a database from
a backup copy.
|
RestoreFrom
Supports Restoring a database
from a backup copy.
|
RollForwardRecoveryFrom
Supports Roll-forward recovery
.
|
Modifier and Type | Field and Description |
---|---|
static String |
URLPROP_DERBY_LOGDEVICE
Log device property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
requiresLogDevice()
If the recovery mode requires the archive log recovery.
|
String |
urlAttribute()
The attribute key to add to the JDBC connection URL.
|
static DbCreateFromRestroreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbCreateFromRestroreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbCreateFromRestroreMode RestoreFrom
public static final DbCreateFromRestroreMode CreateFrom
public static final DbCreateFromRestroreMode RollForwardRecoveryFrom
public static final String URLPROP_DERBY_LOGDEVICE
public static DbCreateFromRestroreMode[] values()
for (DbCreateFromRestroreMode c : DbCreateFromRestroreMode.values()) System.out.println(c);
public static DbCreateFromRestroreMode 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 nullpublic String urlAttribute()
public boolean requiresLogDevice()
true
for Roll-forward recovery.Copyright © 2015-2016 Development Entropy (deventropy.org) Contributors