Package com.oracle.bmc.queue.model
Class Stats.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.Stats.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statsbuild()Stats.Buildercopy(Stats model)Stats.BuilderinFlightMessages(Long inFlightMessages)The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery.Stats.BuildersizeInBytes(Long sizeInBytes)The approximate size of the queue in bytes.Stats.BuildervisibleMessages(Long visibleMessages)The approximate number of visible messages (available for delivery) currently in the queue.
-
-
-
Method Detail
-
visibleMessages
public Stats.Builder visibleMessages(Long visibleMessages)
The approximate number of visible messages (available for delivery) currently in the queue.- Parameters:
visibleMessages- the value to set- Returns:
- this builder
-
inFlightMessages
public Stats.Builder inFlightMessages(Long inFlightMessages)
The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery.- Parameters:
inFlightMessages- the value to set- Returns:
- this builder
-
sizeInBytes
public Stats.Builder sizeInBytes(Long sizeInBytes)
The approximate size of the queue in bytes.Sum of the size of visible and in-flight messages.
- Parameters:
sizeInBytes- the value to set- Returns:
- this builder
-
build
public Stats build()
-
copy
public Stats.Builder copy(Stats model)
-
-