if (_refreshing)
return;
_refreshing = true;
}
try {
final Management management = _adminUI.getManagement();
if (reset) {
_bufferPoolIndex = -1;
_selectedExcludeMask = null;
_selectedIncludeMask = null;
_selectedTraversalType = 0;
if (_toggleList != null) {
for (int index = 0; index < _toggleList.size(); index++) {
final JToggleButton toggle = (JToggleButton) _toggleList.get(index);
toggle.setSelected(false);
}
}
// if (_modeCombo != null)
// {
// _modeCombo.setSelectedIndex(0);
// }
}
final Management.BufferPoolInfo[] bufferPoolInfoArray = management == null ? null : management
.getBufferPoolInfoArray();
_bufferPoolInfoArrayModel.setInfoArray(bufferPoolInfoArray);
if (_bufferPoolIndex < 0)
_bufferPoolIndex = 0;
if (_bufferPoolIndex >= 0 && bufferPoolInfoArray != null && _bufferPoolIndex < bufferPoolInfoArray.length) {
final int bufferSize = bufferPoolInfoArray[_bufferPoolIndex].getBufferSize();
_bufferInfoArrayModel.setInfoArray(management.getBufferInfoArray(bufferSize, _selectedTraversalType,
_selectedIncludeMask, _selectedExcludeMask));
_poolDetailBorder.setTitle(MessageFormat.format(_poolDetailBorderPattern,
new Object[] { _adminUI.formatInteger(bufferSize) }));
_poolDetailPanel.repaint(0, 0, 1000, 30);