@Override
    public int getCachedSize() {
        // Approximate the size of the object in bytes by calculating the size
        // of each field.
        int size = 0;
        size += CacheSizes.sizeOfObject();      // overhead of object
        size += nodeID.toByteArray().length;                  // Node ID
        size += CacheSizes.sizeOfBoolean();     // available
        return size;
    }
Internal object used by RoutingTableImpl to keep track of the node that own a ClientSession
and whether the session is available or not.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ClientRoute.java