Class SQLPERF.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new SQLPERF.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by SQLPERF.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • TimerResolution

        public int TimerResolution()
        Returns the value of the TimerResolution field.
      • SQLidu

        public int SQLidu()
        Returns the value of the SQLidu field.
      • SQLiduRows

        public int SQLiduRows()
        Returns the value of the SQLiduRows field.
      • SQLSelects

        public int SQLSelects()
        Returns the value of the SQLSelects field.
      • SQLSelectRows

        public int SQLSelectRows()
        Returns the value of the SQLSelectRows field.
      • Transactions

        public int Transactions()
        Returns the value of the Transactions field.
      • SQLPrepares

        public int SQLPrepares()
        Returns the value of the SQLPrepares field.
      • ExecDirects

        public int ExecDirects()
        Returns the value of the ExecDirects field.
      • SQLExecutes

        public int SQLExecutes()
        Returns the value of the SQLExecutes field.
      • CursorOpens

        public int CursorOpens()
        Returns the value of the CursorOpens field.
      • CursorSize

        public int CursorSize()
        Returns the value of the CursorSize field.
      • CursorUsed

        public int CursorUsed()
        Returns the value of the CursorUsed field.
      • PercentCursorUsed

        public double PercentCursorUsed()
        Returns the value of the PercentCursorUsed field.
      • AvgFetchTime

        public double AvgFetchTime()
        Returns the value of the AvgFetchTime field.
      • AvgCursorSize

        public double AvgCursorSize()
        Returns the value of the AvgCursorSize field.
      • AvgCursorUsed

        public double AvgCursorUsed()
        Returns the value of the AvgCursorUsed field.
      • SQLFetchTime

        public int SQLFetchTime()
        Returns the value of the SQLFetchTime field.
      • SQLFetchCount

        public int SQLFetchCount()
        Returns the value of the SQLFetchCount field.
      • CurrentStmtCount

        public int CurrentStmtCount()
        Returns the value of the CurrentStmtCount field.
      • MaxOpenStmt

        public int MaxOpenStmt()
        Returns the value of the MaxOpenStmt field.
      • SumOpenStmt

        public int SumOpenStmt()
        Returns the value of the SumOpenStmt field.
      • CurrentConnectionCount

        public int CurrentConnectionCount()
        Returns the value of the CurrentConnectionCount field.
      • MaxConnectionsOpened

        public int MaxConnectionsOpened()
        Returns the value of the MaxConnectionsOpened field.
      • SumConnectionsOpened

        public int SumConnectionsOpened()
        Returns the value of the SumConnectionsOpened field.
      • SumConnectiontime

        public int SumConnectiontime()
        Returns the value of the SumConnectiontime field.
      • AvgTimeOpened

        public double AvgTimeOpened()
        Returns the value of the AvgTimeOpened field.
      • ServerRndTrips

        public int ServerRndTrips()
        Returns the value of the ServerRndTrips field.
      • BuffersSent

        public int BuffersSent()
        Returns the value of the BuffersSent field.
      • BuffersRec

        public int BuffersRec()
        Returns the value of the BuffersRec field.
      • BytesSent

        public int BytesSent()
        Returns the value of the BytesSent field.
      • BytesRec

        public int BytesRec()
        Returns the value of the BytesRec field.
      • msExecutionTime

        public int msExecutionTime()
        Returns the value of the msExecutionTime field.
      • msNetWorkServerTime

        public int msNetWorkServerTime()
        Returns the value of the msNetWorkServerTime field.
      • TimerResolution

        public SQLPERF.Buffer TimerResolution​(int value)
        Sets the specified value to the TimerResolution field.
      • SQLidu

        public SQLPERF.Buffer SQLidu​(int value)
        Sets the specified value to the SQLidu field.
      • SQLiduRows

        public SQLPERF.Buffer SQLiduRows​(int value)
        Sets the specified value to the SQLiduRows field.
      • SQLSelects

        public SQLPERF.Buffer SQLSelects​(int value)
        Sets the specified value to the SQLSelects field.
      • SQLSelectRows

        public SQLPERF.Buffer SQLSelectRows​(int value)
        Sets the specified value to the SQLSelectRows field.
      • Transactions

        public SQLPERF.Buffer Transactions​(int value)
        Sets the specified value to the Transactions field.
      • SQLPrepares

        public SQLPERF.Buffer SQLPrepares​(int value)
        Sets the specified value to the SQLPrepares field.
      • ExecDirects

        public SQLPERF.Buffer ExecDirects​(int value)
        Sets the specified value to the ExecDirects field.
      • SQLExecutes

        public SQLPERF.Buffer SQLExecutes​(int value)
        Sets the specified value to the SQLExecutes field.
      • CursorOpens

        public SQLPERF.Buffer CursorOpens​(int value)
        Sets the specified value to the CursorOpens field.
      • CursorSize

        public SQLPERF.Buffer CursorSize​(int value)
        Sets the specified value to the CursorSize field.
      • CursorUsed

        public SQLPERF.Buffer CursorUsed​(int value)
        Sets the specified value to the CursorUsed field.
      • PercentCursorUsed

        public SQLPERF.Buffer PercentCursorUsed​(double value)
        Sets the specified value to the PercentCursorUsed field.
      • AvgFetchTime

        public SQLPERF.Buffer AvgFetchTime​(double value)
        Sets the specified value to the AvgFetchTime field.
      • AvgCursorSize

        public SQLPERF.Buffer AvgCursorSize​(double value)
        Sets the specified value to the AvgCursorSize field.
      • AvgCursorUsed

        public SQLPERF.Buffer AvgCursorUsed​(double value)
        Sets the specified value to the AvgCursorUsed field.
      • SQLFetchTime

        public SQLPERF.Buffer SQLFetchTime​(int value)
        Sets the specified value to the SQLFetchTime field.
      • SQLFetchCount

        public SQLPERF.Buffer SQLFetchCount​(int value)
        Sets the specified value to the SQLFetchCount field.
      • CurrentStmtCount

        public SQLPERF.Buffer CurrentStmtCount​(int value)
        Sets the specified value to the CurrentStmtCount field.
      • MaxOpenStmt

        public SQLPERF.Buffer MaxOpenStmt​(int value)
        Sets the specified value to the MaxOpenStmt field.
      • SumOpenStmt

        public SQLPERF.Buffer SumOpenStmt​(int value)
        Sets the specified value to the SumOpenStmt field.
      • CurrentConnectionCount

        public SQLPERF.Buffer CurrentConnectionCount​(int value)
        Sets the specified value to the CurrentConnectionCount field.
      • MaxConnectionsOpened

        public SQLPERF.Buffer MaxConnectionsOpened​(int value)
        Sets the specified value to the MaxConnectionsOpened field.
      • SumConnectionsOpened

        public SQLPERF.Buffer SumConnectionsOpened​(int value)
        Sets the specified value to the SumConnectionsOpened field.
      • SumConnectiontime

        public SQLPERF.Buffer SumConnectiontime​(int value)
        Sets the specified value to the SumConnectiontime field.
      • AvgTimeOpened

        public SQLPERF.Buffer AvgTimeOpened​(double value)
        Sets the specified value to the AvgTimeOpened field.
      • ServerRndTrips

        public SQLPERF.Buffer ServerRndTrips​(int value)
        Sets the specified value to the ServerRndTrips field.
      • BuffersSent

        public SQLPERF.Buffer BuffersSent​(int value)
        Sets the specified value to the BuffersSent field.
      • BuffersRec

        public SQLPERF.Buffer BuffersRec​(int value)
        Sets the specified value to the BuffersRec field.
      • BytesSent

        public SQLPERF.Buffer BytesSent​(int value)
        Sets the specified value to the BytesSent field.
      • BytesRec

        public SQLPERF.Buffer BytesRec​(int value)
        Sets the specified value to the BytesRec field.
      • msExecutionTime

        public SQLPERF.Buffer msExecutionTime​(int value)
        Sets the specified value to the msExecutionTime field.
      • msNetWorkServerTime

        public SQLPERF.Buffer msNetWorkServerTime​(int value)
        Sets the specified value to the msNetWorkServerTime field.