Skip to content

Commit

Permalink
Remove progressMarker.
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Mommsen committed Nov 11, 2009
1 parent 00106f5 commit e361f86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $Id: ResourceMonitorCollection.h,v 1.18 2009/09/18 15:17:16 mommsen Exp $
// $Id: ResourceMonitorCollection.h,v 1.19 2009/10/13 15:08:33 mommsen Exp $
/// @file: ResourceMonitorCollection.h

#ifndef StorageManager_ResourceMonitorCollection_h
Expand Down Expand Up @@ -30,8 +30,8 @@ namespace stor {
* A collection of MonitoredQuantities related to resource usages
*
* $Author: mommsen $
* $Revision: 1.18 $
* $Date: 2009/09/18 15:17:16 $
* $Revision: 1.19 $
* $Date: 2009/10/13 15:08:33 $
*/

class ResourceMonitorCollection : public MonitorCollection
Expand Down Expand Up @@ -143,9 +143,6 @@ namespace stor {
xdata::Vector<xdata::UnsignedInteger32> _totalDiskSpace; // total disk space
xdata::Vector<xdata::UnsignedInteger32> _usedDiskSpace; // used disk space

// Unused status string from old SM
xdata::String _progressMarker;

};

} // namespace stor
Expand Down
6 changes: 2 additions & 4 deletions EventFilter/StorageManager/src/ResourceMonitorCollection.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $Id: ResourceMonitorCollection.cc,v 1.24 2009/10/13 10:31:07 mommsen Exp $
// $Id: ResourceMonitorCollection.cc,v 1.25 2009/10/13 16:52:59 mommsen Exp $
/// @file: ResourceMonitorCollection.cc

#include <string>
Expand Down Expand Up @@ -31,8 +31,7 @@ _alarmHandler(ah),
_numberOfCopyWorkers(-1),
_numberOfInjectWorkers(-1),
_nLogicalDisks(0),
_latchedSataBeastStatus(-1),
_progressMarker( "unused" )
_latchedSataBeastStatus(-1)
{
// Initialize values to avoid sending alarms
// before we've reach the ready state
Expand Down Expand Up @@ -141,7 +140,6 @@ void ResourceMonitorCollection::do_reset()

void ResourceMonitorCollection::do_appendInfoSpaceItems(InfoSpaceItems& infoSpaceItems)
{
infoSpaceItems.push_back(std::make_pair("progressMarker", &_progressMarker));
infoSpaceItems.push_back(std::make_pair("copyWorkers", &_copyWorkers));
infoSpaceItems.push_back(std::make_pair("injectWorkers", &_injectWorkers));
infoSpaceItems.push_back(std::make_pair("sataBeastStatus", &_sataBeastStatus));
Expand Down

0 comments on commit e361f86

Please sign in to comment.