de.bsvrz.ars.ars.mgmt.tasks
Class BackupTask.ContainerEntry

java.lang.Object
  extended by 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


Field Summary
private  long _containerID
           
private  BackupTask.ContainerLocation _containerLocation
           
 
Constructor Summary
BackupTask.ContainerEntry(long containerID, BackupTask.ContainerLocation containerLocation)
           
 
Method Summary
 int compareTo(BackupTask.ContainerEntry o)
           
 boolean equals(Object obj)
           
 long getContainerID()
           
 BackupTask.ContainerLocation getContainerLocation()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_containerID

private final long _containerID

_containerLocation

private final BackupTask.ContainerLocation _containerLocation
Constructor Detail

BackupTask.ContainerEntry

public BackupTask.ContainerEntry(long containerID,
                                 BackupTask.ContainerLocation containerLocation)
Method Detail

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