Class StatisticsResource


  • @Path("/statistics")
    @Produces({"application/json","application/xml"})
    public class StatisticsResource
    extends Object
    Generates a list of statistics as a JSON object
    Since:
    2.0.0
    • Constructor Detail

      • StatisticsResource

        public StatisticsResource()
    • Method Detail

      • getLookupRate

        @GET
        @Path("lookupRate")
        public double getLookupRate()
        Generates the total lookup rate
        Returns:
        Lookup rate
      • getTotalTables

        @GET
        @Path("totalTables")
        public int getTotalTables()
        Generates the total number of tables
        Returns:
        Total number of tables
      • getTotalTabletCount

        @GET
        @Path("totalTabletCount")
        public int getTotalTabletCount()
        Generates the total tablet count
        Returns:
        Total tablet count
      • getTotalEntries

        @GET
        @Path("totalEntries")
        public long getTotalEntries()
        Generates the total entries
        Returns:
        Total number of entries
      • getTotalIngestRate

        @GET
        @Path("totalIngestRate")
        public double getTotalIngestRate()
        Generates the total ingest rate
        Returns:
        Total number of ingest rate
      • getTotalQueryRate

        @GET
        @Path("totalQueryRate")
        public double getTotalQueryRate()
        Generates the total query rate
        Returns:
        Total number of query rate
      • getTotalScanRate

        @GET
        @Path("totalScanRate")
        public double getTotalScanRate()
        Generates the total scan rate
        Returns:
        Total number of scan rate
      • getTotalHoldTime

        @GET
        @Path("totalHoldTime")
        public long getTotalHoldTime()
        Generates the total hold time
        Returns:
        Total hold time
      • getGcStatus

        @GET
        @Path("gcStatus")
        public GCStatus getGcStatus()
        Generates the garbage collector status
        Returns:
        GC status
      • getTotalLookups

        @GET
        @Path("totalLookups")
        public long getTotalLookups()
        Generates the total lookups
        Returns:
        Total number of lookups
      • getScanRate

        @GET
        @Path("time/scanRate")
        public List<Pair<Long,​Integer>> getScanRate()
        Generates a list with the scan rate over time
        Returns:
        Scan rate over time
      • getQueryRate

        @GET
        @Path("time/queryRate")
        public List<Pair<Long,​Integer>> getQueryRate()
        Generates a list with the query rate over time
        Returns:
        Query rate over time
      • getScanEntries

        @GET
        @Path("time/scanEntries")
        public List<Pair<String,​List<Pair<Long,​Integer>>>> getScanEntries()
        Generates a list with the scan entries over time
        Returns:
        Scan entries over time
      • getQueryByteRate

        @GET
        @Path("time/queryByteRate")
        public List<Pair<Long,​Double>> getQueryByteRate()
        Generates a list with the query byte rate over time
        Returns:
        Query byte rate over time
      • getLoad

        @GET
        @Path("time/load")
        public List<Pair<Long,​Double>> getLoad()
        Generates a list with the load over time
        Returns:
        Load over time
      • getIngestRate

        @GET
        @Path("time/ingestRate")
        public List<Pair<Long,​Double>> getIngestRate()
        Generates a list with the ingest rate over time
        Returns:
        Ingest rate over time
      • getIngestByteRate

        @GET
        @Path("time/ingestByteRate")
        public List<Pair<Long,​Double>> getIngestByteRate()
        Generates a list with the ingest byte rate over time
        Returns:
        Ingest byte rate over time
      • getMinorCompactions

        @GET
        @Path("time/minorCompactions")
        public List<Pair<Long,​Integer>> getMinorCompactions()
        Generates a list with the minor compactions over time
        Returns:
        Minor compactions over time
      • getMajorCompactions

        @GET
        @Path("time/majorCompactions")
        public List<Pair<Long,​Integer>> getMajorCompactions()
        Generates a list with the major compactions over time
        Returns:
        Major compactions over time
      • getLookups

        @GET
        @Path("time/lookups")
        public List<Pair<Long,​Double>> getLookups()
        Generates a list with the lookups over time
        Returns:
        Lookups over time
      • getIndexCacheHitRate

        @GET
        @Path("time/indexCacheHitRate")
        public List<Pair<Long,​Double>> getIndexCacheHitRate()
        Generates a list with the index cache hit rate over time
        Returns:
        Index cache hit rate over time
      • getDataCacheHitRate

        @GET
        @Path("time/dataCacheHitRate")
        public List<Pair<Long,​Double>> getDataCacheHitRate()
        Generates a list with the data cache hit rate over time
        Returns:
        Data cache hit rate over time