public class ErrorMailQueueItemsAddedCounter extends Object
| Constructor and Description |
|---|
ErrorMailQueueItemsAddedCounter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAndReset()
Returns number of items added to error queue since last get and set counter to zero
|
void |
recordEmptyErrorQueue(int currentErrorQueueSize)
Records number of items in error queue, calculates delta and increment counter of items added based on it.
|
void |
recordErrorQueueCurrentSize(int currentErrorQueueSize)
Records number of items in error queue, calculates delta and increment counter of items added based on it
|
public long getAndReset()
public void recordEmptyErrorQueue(int currentErrorQueueSize)
public void recordErrorQueueCurrentSize(int currentErrorQueueSize)
Copyright © 2002-2023 Atlassian. All Rights Reserved.