{
if (_messageStoreOpen.compareAndSet(false, true))
{
_parent = parent;
final SizeMonitoringSettings sizeMonitorSettings = (SizeMonitoringSettings) parent;
_persistentSizeHighThreshold = sizeMonitorSettings.getStoreOverfullSize();
_persistentSizeLowThreshold = sizeMonitorSettings.getStoreUnderfullSize();
if (_persistentSizeLowThreshold > _persistentSizeHighThreshold || _persistentSizeLowThreshold < 0l)
{
_persistentSizeLowThreshold = _persistentSizeHighThreshold;
}