Class SnapshotUriConfigurationSchema
java.lang.Object
org.gridgain.internal.snapshots.configuration.SnapshotUriConfigurationSchema
Configuration of the snapshot paths.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf true, the path is used as a default path when no --source / --destination is provided in the snapshot command.The name of the snapshot path.The snapshot path's type.The base URI to create snapshots at (scheme://relative-path or scheme:/absolute-path). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uri
The base URI to create snapshots at (scheme://relative-path or scheme:/absolute-path). Currently, only the "file" scheme is supported. If an absolute path is specified, the REMOTE path is used "as is." For the LOCAL path, a subfolder with the node name is used: `/absolute-path/node-name`. Relative paths are calculated from the node's work directory: `{GRIDGAIN_HOME}/work/relative-path`. -
name
The name of the snapshot path. -
type
The snapshot path's type. LOCAL paths are not shared between nodes; REMOTE ones are shared. The REMOTE paths use a single-copy algorithm, which saves only one copy of meta and partition files -
isDefault
@Value(hasDefault=true) @PublicName("default") public boolean isDefaultIf true, the path is used as a default path when no --source / --destination is provided in the snapshot command. Only one path can be designated as default (default=true). If no path is designated as default, the LOCAL `file:/snapshots` path is used in case no --source / --destination is provided.
-
-
Constructor Details
-
SnapshotUriConfigurationSchema
public SnapshotUriConfigurationSchema()
-