Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

SysView_LogStatisticsReset.cpp

Go to the documentation of this file.
/****************************************************************************/
/*!

  @file        SysView_LogStatisticsReset.cpp

  -------------------------------------------------------------------------

  @author      ElkeZ

  @ingroup     SystemViews
  @brief       This module implements the "LogStatisticsReset" view class.

  @see        

*/
/*-------------------------------------------------------------------------

  copyright:    (c) 2002-2004 SAP AG


    ========== licence begin  GPL
    Copyright (c) 2002-2004 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end



*****************************************************************************/



/*===========================================================================*
 *  INCLUDES                                                                 *
 *===========================================================================*/

#include "ggg00.h"
#include "SystemViews/SysView_Defines.hpp"
#include "SystemViews/SysView_ITableObj.hpp"
#include "SystemViews/SysView_LogStatisticsReset.hpp"


/*===========================================================================*
 *  DEFINES                                                                  *
 *===========================================================================*/



/*===========================================================================*
 *  MACROS                                                                   *
 *===========================================================================*/



/*===========================================================================*
 *  LOCAL CLASSES, STRUCTURES, TYPES, UNIONS ...                             *
 *===========================================================================*/



/*===========================================================================*
 *  STATIC/INLINE FUNCTIONS  (PROTOTYPES)                                     *
 *===========================================================================*/



/*===========================================================================*
 *  METHODS                                                                  *
 *===========================================================================*/

00083 void SysView_LogStatisticsReset::Create()
{
    SAPDBTRACE_METHOD_DEBUG ("SysView_LogStatisticsReset::Create", SysView_Trace, 5);

      m_Table->AppendCol (ITOCT_FIXED ,SV_SAVEPOINTCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_TRANSACTIONCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_WRITETRANSACTIONCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_PHYSICALWRITECOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_QUEUESIZE, 5);
      m_Table->AppendCol (ITOCT_FIXED ,SV_QUEUEMAXUSED, 5);
      m_Table->AppendCol (ITOCT_FIXED ,SV_QUEUEINSERTCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_QUEUEOVERFLOWCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_GROUPCOMMITCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_WAITCOUNT, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_MAXWAITCOUNTPERPAGE, 10);
      m_Table->AppendCol (ITOCT_FIXED ,SV_AVGWAITCOUNTPERPAGE, 10);
}

/*---------------------------------------------------------------------------*/

00103 SAPDB_Int SysView_LogStatisticsReset::GetColCount()
{
    SAPDBTRACE_METHOD_DEBUG ("SysView_LogStatisticsReset::GetColCount", SysView_Trace, 5);

    return SV_CC_LOGSTATISTICSRESET;
}

/*---------------------------------------------------------------------------*/

00112 SAPDB_Int SysView_LogStatisticsReset::EstimateRows()
{
    SAPDBTRACE_METHOD_DEBUG ("SysView_LogStatisticsReset::EstimateRows", SysView_Trace, 5);

    return SV_ER_LOGSTATISTICSRESET;
}

/*---------------------------------------------------------------------------*/

00121 void SysView_LogStatisticsReset::Execute()
{
    SAPDBTRACE_METHOD_DEBUG ("SysView_LogStatisticsReset::Execute", SysView_Trace, 5);

    m_Context.ThrowError (e_not_implemented, 1);
}

/*===========================================================================*
 *  END OF CODE                                                              *
 *===========================================================================*/

Generated by  Doxygen 1.6.0   Back to index