private static final class BackupTask.ContainerEntry extends java.lang.Object implements java.lang.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
Modifier and Type | Field and Description |
---|---|
private long |
_containerID |
private BackupTask.ContainerLocation |
_containerLocation |
Constructor and Description |
---|
ContainerEntry(long containerID,
BackupTask.ContainerLocation containerLocation) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BackupTask.ContainerEntry o) |
boolean |
equals(java.lang.Object obj) |
long |
getContainerID() |
BackupTask.ContainerLocation |
getContainerLocation() |
int |
hashCode() |
java.lang.String |
toString() |
private final long _containerID
private final BackupTask.ContainerLocation _containerLocation
public ContainerEntry(long containerID, BackupTask.ContainerLocation containerLocation)
public int compareTo(BackupTask.ContainerEntry o)
compareTo
in interface java.lang.Comparable<BackupTask.ContainerEntry>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public long getContainerID()
public BackupTask.ContainerLocation getContainerLocation()
public java.lang.String toString()
toString
in class java.lang.Object