@Override
        public boolean equals(final Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            final Key key = (Key) o;
            return capacity == key.capacity &&
                    insertionTime == key.insertionTime;
        }
Perform work with a {@link ByteBuffer} obtained from the pool. The {@link ByteBuffer}
must not be used outside of the work lambda.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferPoolImpl.java