public static void loadHistory(@Nonnull final MUCRoom room) throws SQLException
    {
        loadHistory(room, -1);
    }
Load or reload the room history for a particular room from the database into memory.

Invocation of this method will replace exising room history that's stored in memory (if any) with a freshly set
of messages obtained from the database.

@param room The room for which to load message history from the database into memory.
@throws SQLException
xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/MUCPersistenceManager.java