Interface MutinyWeakCounter


public interface MutinyWeakCounter
Since:
14.0
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<Void>
    add(long delta)
     
    Return the container of this counter
    default io.smallrye.mutiny.Uni<Void>
     
    default io.smallrye.mutiny.Uni<Void>
     
    Returns the name of this counter
    io.smallrye.mutiny.Uni<Long>
    Returns the current value of this counter
  • Method Details

    • name

      String name()
      Returns the name of this counter
      Returns:
      the name of this counter
    • container

      MutinyContainer container()
      Return the container of this counter
      Returns:
    • value

      io.smallrye.mutiny.Uni<Long> value()
      Returns the current value of this counter
      Returns:
    • increment

      default io.smallrye.mutiny.Uni<Void> increment()
    • decrement

      default io.smallrye.mutiny.Uni<Void> decrement()
    • add

      io.smallrye.mutiny.Uni<Void> add(long delta)