class TableStorageStatesImpl implements TableStorageStates, Closeable {

    @Override
    public long getDataSize(TableReference tableReference)
    {
        ImmutableMap<TableReference, Long> dataSizes = myTableSizes.get();

        if (dataSizes != null && dataSizes.containsKey(tableReference))
        {
            return dataSizes.get(tableReference);
        }

        return 0;
    }

    private  TableStorageStatesImpl(Builder builder);

}