Class StreamingState

    • Method Detail

      • unsharedHeapSize

        public long unsharedHeapSize()
        Specified by:
        unsharedHeapSize in interface IMeasurableMemory
        Returns:
        the amount of on-heap memory retained by the object that might be reclaimed if the object were reclaimed, i.e. it should try to exclude globally cached data where possible, or counting portions of arrays that are referenced by the object but used by other objects only (e.g. slabbed byte-buffers), etc.
      • follower

        public boolean follower()
      • peers

        public java.util.Set<java.net.InetSocketAddress> peers()
      • completeMessage

        public java.lang.String completeMessage()
      • isComplete

        public boolean isComplete()
      • progress

        public float progress()
      • stateTimesMillis

        public java.util.EnumMap<StreamingState.Status,​java.lang.Long> stateTimesMillis()
      • durationMillis

        public long durationMillis()
      • lastUpdatedAtMillis

        public long lastUpdatedAtMillis()
      • lastUpdatedAtNanos

        public long lastUpdatedAtNanos()
      • failureCause

        public java.lang.String failureCause()
      • successMessage

        public java.lang.String successMessage()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • onSuccess

        public void onSuccess​(@Nullable
                              StreamState state)
        Specified by:
        onSuccess in interface com.google.common.util.concurrent.FutureCallback<StreamState>
      • onFailure

        public void onFailure​(java.lang.Throwable throwable)
        Specified by:
        onFailure in interface com.google.common.util.concurrent.FutureCallback<StreamState>