private static class CachingConnectionFactory.DestinationCacheKey extends java.lang.Object implements java.lang.Comparable<CachingConnectionFactory.DestinationCacheKey>
Modifier and Type | Field and Description |
---|---|
private Destination |
destination |
private java.lang.String |
destinationString |
Constructor and Description |
---|
DestinationCacheKey(Destination destination) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CachingConnectionFactory.DestinationCacheKey other) |
protected boolean |
destinationEquals(CachingConnectionFactory.DestinationCacheKey otherKey) |
boolean |
equals(java.lang.Object other) |
private java.lang.String |
getDestinationString() |
int |
hashCode() |
java.lang.String |
toString() |
private final Destination destination
@Nullable private java.lang.String destinationString
private java.lang.String getDestinationString()
protected boolean destinationEquals(CachingConnectionFactory.DestinationCacheKey otherKey)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(CachingConnectionFactory.DestinationCacheKey other)
compareTo
in interface java.lang.Comparable<CachingConnectionFactory.DestinationCacheKey>