Interface Stats.ServerStatsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Stats.ServerStats, Stats.ServerStats.Builder
    Enclosing class:
    Stats

    public static interface Stats.ServerStatsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCqPollCount()
      Number of polls called inside completion queue
      long getIdleCpuTime()
      change in idle time of the server (data from proc/stat)
      double getTimeElapsed()
      wall clock time change in seconds since last reset
      double getTimeSystem()
      change in server time (in seconds) used by the server process and all threads since last reset
      double getTimeUser()
      change in user time (in seconds) used by the server since last reset
      long getTotalCpuTime()
      change in total cpu time of the server (data from proc/stat)
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getTimeElapsed

        double getTimeElapsed()
         wall clock time change in seconds since last reset
         
        double time_elapsed = 1;
        Returns:
        The timeElapsed.
      • getTimeUser

        double getTimeUser()
         change in user time (in seconds) used by the server since last reset
         
        double time_user = 2;
        Returns:
        The timeUser.
      • getTimeSystem

        double getTimeSystem()
         change in server time (in seconds) used by the server process and all
         threads since last reset
         
        double time_system = 3;
        Returns:
        The timeSystem.
      • getTotalCpuTime

        long getTotalCpuTime()
         change in total cpu time of the server (data from proc/stat)
         
        uint64 total_cpu_time = 4;
        Returns:
        The totalCpuTime.
      • getIdleCpuTime

        long getIdleCpuTime()
         change in idle time of the server (data from proc/stat)
         
        uint64 idle_cpu_time = 5;
        Returns:
        The idleCpuTime.
      • getCqPollCount

        long getCqPollCount()
         Number of polls called inside completion queue
         
        uint64 cq_poll_count = 6;
        Returns:
        The cqPollCount.