@Override
    public int hashCode() {
        return Objects.hash(type, roomJID, maxNumber, parent, roomSubject, contextPrefix, contextSubdomain);
    }
A wrapper for a collection of Message instances that is cached.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/HistoryStrategy.java