class Accountant implements AutoCloseable {

  public long getAllocatedMemory() {
    return locallyHeldMemory.get();
  }

  public  Accountant(Accountant parent, long reservation, long maxAllocation);

}