Package org.apache.solr.core.backup
Class BackupId
java.lang.Object
org.apache.solr.core.backup.BackupId
- All Implemented Interfaces:
Comparable<BackupId>
Represents the ID of a particular backup.
Backup IDs are used to track different backup points stored at the same backup-location under the same backup-name.
Incremental backups can have any non-negative integer as an ID, and ID's are expected to increase sequentially.
Traditional (now-deprecated) 'full-snapshot' backups only support a single backup point per
name per location. So these all have the same ID value of TRADITIONAL_BACKUP
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRADITIONAL_BACKUP
public static final int TRADITIONAL_BACKUP- See Also:
-
id
public final int id
-
-
Constructor Details
-
BackupId
public BackupId(int id)
-
-
Method Details