presto-main/src/main/java/io/prestosql/memory/MemoryPoolListener.java/MemoryPoolListener/onMemoryReserved
class MemoryPoolListener:    static MemoryPoolListener onMemoryReserved(Consumer<? super MemoryPool> action)
    {
        return action::accept;
    }