Class ServerInfo

java.lang.Object
mondrian.server.monitor.ServerInfo

public class ServerInfo extends Object
Information about a Mondrian server.
  • Field Details

    • connectionStartCount

      public final int connectionStartCount
    • connectionEndCount

      public final int connectionEndCount
    • statementStartCount

      public final int statementStartCount
    • statementEndCount

      public final int statementEndCount
    • sqlStatementStartCount

      public final int sqlStatementStartCount
    • sqlStatementExecuteCount

      public final int sqlStatementExecuteCount
    • sqlStatementEndCount

      public final int sqlStatementEndCount
    • sqlStatementRowFetchCount

      public final long sqlStatementRowFetchCount
      Cumulative number of rows fetched from SQL statements.
    • sqlStatementExecuteNanos

      public final long sqlStatementExecuteNanos
      Cumulative time spent executing SQL statements.
    • sqlStatementCellRequestCount

      public final int sqlStatementCellRequestCount
      Total, over all SQL statements that are fetching cells into cache, of the number of requested cells that will be satisfied by those SQL statements. Note that a given SQL statement may round out the predicates and bring back a few more cells than it was asked for.
    • cellCacheRequestCount

      public final int cellCacheRequestCount
    • cellCacheHitCount

      public final int cellCacheHitCount
    • cellCacheMissCount

      public final int cellCacheMissCount
    • cellCachePendingCount

      public final int cellCachePendingCount
    • executeStartCount

      public final int executeStartCount
    • executeEndCount

      public final int executeEndCount
    • jvmHeapBytesUsed

      public final long jvmHeapBytesUsed
    • jvmHeapBytesCommitted

      public final long jvmHeapBytesCommitted
    • jvmHeapBytesMax

      public final long jvmHeapBytesMax
    • segmentCount

      public final int segmentCount
      The number of segments currently in cache.
    • segmentCreateCount

      public final int segmentCreateCount
      The number of segments that have been created since the server started. (Should equal the sum segmentCreateViaExternalCount + segmentCreateViaRollupCount + segmentCreateViaSqlCount.)
    • segmentCreateViaExternalCount

      public final int segmentCreateViaExternalCount
      The number of segments that have been created via external since the server started.
    • segmentDeleteViaExternalCount

      public final int segmentDeleteViaExternalCount
      The number of segments that have been deleted via external since the server started.
    • segmentCreateViaRollupCount

      public final int segmentCreateViaRollupCount
      The number of segments that have been created via rollup since the server started.
    • segmentCreateViaSqlCount

      public final int segmentCreateViaSqlCount
      The number of segments that have been created via SQL since the server started.
    • cellCount

      public final int cellCount
      The number of cells currently in cache.
    • cellCoordinateCount

      public final int cellCoordinateCount
      The sum of the dimensionality of every cells currently in cache.

      For example, each cell in the segment (State={CA, TX} * Year={2011}) has two coordinates.

      From this, we can compute the average dimensionality of segments in cache, weighted by the number of cells. It gives an idea of the memory overhead for segment axes.

    • stack

      public final String stack
      A printout of the stack trace which represents the code stack when the event was created. Useful for debugging purposes and identifying orphaned connections and statements.
  • Constructor Details

    • ServerInfo

      public ServerInfo(String stack, int connectionStartCount, int connectionEndCount, int statementStartCount, int statementEndCount, int sqlStatementStartCount, int sqlStatementExecuteCount, int sqlStatementEndCount, long sqlStatementRowFetchCount, long sqlStatementExecuteNanos, int sqlStatementCellRequestCount, int cellCacheHitCount, int cellCacheRequestCount, int cellCacheMissCount, int cellCachePendingCount, int executeStartCount, int executeEndCount, long jvmHeapBytesUsed, long jvmHeapBytesCommitted, long jvmHeapBytesMax, int segmentCount, int segmentCreateCount, int segmentCreateViaExternalCount, int segmentDeleteViaExternalCount, int segmentCreateViaRollupCount, int segmentCreateViaSqlCount, int cellCount, int cellCoordinateCount)
  • Method Details

    • getCellCacheMissCount

      public int getCellCacheMissCount()
    • getSqlStatementCurrentlyOpenCount

      public int getSqlStatementCurrentlyOpenCount()
      Returns:
      number of SQL statements currently executing
    • getStatementCurrentlyExecutingCount

      public int getStatementCurrentlyExecutingCount()
      Returns:
      number of statements currently executing
    • getStatementCurrentlyOpenCount

      public int getStatementCurrentlyOpenCount()
      Returns:
      number of statements currently open
    • getConnectionCurrentlyOpenCount

      public int getConnectionCurrentlyOpenCount()
      Returns:
      number of connections currently open
    • getConnectionStartCount

      public int getConnectionStartCount()
    • getConnectionEndCount

      public int getConnectionEndCount()
    • getStatementStartCount

      public int getStatementStartCount()
    • getStatementEndCount

      public int getStatementEndCount()
    • getSqlStatementStartCount

      public int getSqlStatementStartCount()
    • getSqlStatementExecuteCount

      public int getSqlStatementExecuteCount()
    • getSqlStatementEndCount

      public int getSqlStatementEndCount()
    • getSqlStatementRowFetchCount

      public long getSqlStatementRowFetchCount()
    • getSqlStatementExecuteNanos

      public long getSqlStatementExecuteNanos()
    • getSqlStatementCellRequestCount

      public int getSqlStatementCellRequestCount()
    • getCellCacheRequestCount

      public int getCellCacheRequestCount()
    • getCellCacheHitCount

      public int getCellCacheHitCount()
    • getCellCachePendingCount

      public int getCellCachePendingCount()
    • getExecuteStartCount

      public int getExecuteStartCount()
    • getExecuteEndCount

      public int getExecuteEndCount()
    • getJvmHeapBytesUsed

      public long getJvmHeapBytesUsed()
    • getJvmHeapBytesCommitted

      public long getJvmHeapBytesCommitted()
    • getJvmHeapBytesMax

      public long getJvmHeapBytesMax()
    • getSegmentCount

      public int getSegmentCount()
    • getSegmentCreateCount

      public int getSegmentCreateCount()
    • getSegmentCreateViaExternalCount

      public int getSegmentCreateViaExternalCount()
    • getSegmentDeleteViaExternalCount

      public int getSegmentDeleteViaExternalCount()
    • getSegmentCreateViaRollupCount

      public int getSegmentCreateViaRollupCount()
    • getSegmentCreateViaSqlCount

      public int getSegmentCreateViaSqlCount()
    • getCellCount

      public int getCellCount()
    • getCellCoordinateCount

      public int getCellCoordinateCount()
    • toString

      public String toString()
      Overrides:
      toString in class Object