@Override
        public boolean equals(Object obj) {
            if (this == obj) return true;
            if (obj == null) return false;
            if (getClass() != obj.getClass()) return false;
            SourceSessionKey other = (SourceSessionKey) obj;
            if (policy == null) {
                if (other.policy != null) return false;
            } else if (!policy.equals(other.policy)) {
                return false;
            }
            if (Double.doubleToLongBits(timeout) != Double.doubleToLongBits(other.timeout)) return false;
            return true;
        }
Class to encapsulate access to slobrok sessions.

@author Steinar Knutsen
@author Einar Rosenvinge
container-messagebus/src/main/java/com/yahoo/container/jdisc/messagebus/SessionCache.java