Class CounterUpdateFlyweight

java.lang.Object
io.aeron.command.CounterUpdateFlyweight

public class CounterUpdateFlyweight extends Object
Message to denote that a Counter has become available or unavailable.
See Also:
  • Field Details

  • Constructor Details

    • CounterUpdateFlyweight

      public CounterUpdateFlyweight()
  • Method Details

    • wrap

      public final CounterUpdateFlyweight wrap(MutableDirectBuffer buffer, int offset)
      Wrap the buffer at a given offset for updates.
      Parameters:
      buffer - to wrap
      offset - at which the message begins.
      Returns:
      this for a fluent API.
    • correlationId

      public long correlationId()
      Get the correlation id field.
      Returns:
      correlation id field.
    • correlationId

      public CounterUpdateFlyweight correlationId(long correlationId)
      Set the correlation id field.
      Parameters:
      correlationId - field value.
      Returns:
      this for a fluent API.
    • counterId

      public int counterId()
      The counter id.
      Returns:
      counter id.
    • counterId

      public CounterUpdateFlyweight counterId(int counterId)
      Set counter id field.
      Parameters:
      counterId - field value.
      Returns:
      this for a fluent API.