de.bsvrz.ars.ars.mgmt.tasks
Class BackupTask.ContainerEntry
java.lang.Object
de.bsvrz.ars.ars.mgmt.tasks.BackupTask.ContainerEntry
- All Implemented Interfaces:
- Comparable<BackupTask.ContainerEntry>
- Enclosing class:
- BackupTask
private static final class BackupTask.ContainerEntry
- extends Object
- implements Comparable<BackupTask.ContainerEntry>
Immutable Klasse, die eine ContainerID mit der zugehörigen ContainerLocation, also dem Speicherort (der Datenidentifikation) verknüpft. Aus
Speicherplatzgründen können mehrere ContainerIDs mit derselben ContainerLocation-Instanz verknüpft werden
_containerID
private final long _containerID
_containerLocation
private final BackupTask.ContainerLocation _containerLocation
BackupTask.ContainerEntry
public BackupTask.ContainerEntry(long containerID,
BackupTask.ContainerLocation containerLocation)
compareTo
public int compareTo(BackupTask.ContainerEntry o)
- Specified by:
compareTo
in interface Comparable<BackupTask.ContainerEntry>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getContainerID
public long getContainerID()
getContainerLocation
public BackupTask.ContainerLocation getContainerLocation()
toString
public String toString()
- Overrides:
toString
in class Object