Class MonitorableImpl

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MonitorableImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean abort()  
      boolean complete()  
      long creationTimeNanos()  
      boolean isAborted()  
      boolean isCompleted()  
      boolean isCrossNode()  
      boolean isInProgress()  
      boolean isSlow()  
      void setMonitoringTime​(long approxCreationTimeNanos, boolean isCrossNode, long timeoutNanos, long slowTimeoutNanos)
      This setter is ugly but the construction chain to ReadCommand is too complex, it would require passing new parameters to all serializers or specializing the serializers to accept these message properties.
      long slowTimeoutNanos()  
      long timeoutNanos()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.cassandra.db.monitoring.Monitorable

        name
    • Constructor Detail

      • MonitorableImpl

        protected MonitorableImpl()
    • Method Detail

      • setMonitoringTime

        public void setMonitoringTime​(long approxCreationTimeNanos,
                                      boolean isCrossNode,
                                      long timeoutNanos,
                                      long slowTimeoutNanos)
        This setter is ugly but the construction chain to ReadCommand is too complex, it would require passing new parameters to all serializers or specializing the serializers to accept these message properties.