
com.wavefront.agent.data.QueueingReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.data;
/**
* Additional context to help understand why a certain batch was queued.
*
* @author [email protected]
*/
public enum QueueingReason {
PUSHBACK("pushback"), // server pushback
AUTH("auth"), // feature not enabled or auth error
SPLIT("split"), // splitting batches
RETRY("retry"), // all other errors (http error codes or network errors)
BUFFER_SIZE("bufferSize"), // buffer size threshold exceeded
MEMORY_PRESSURE("memoryPressure"), // heap memory limits exceeded
DURABILITY("durability"); // force-flush for maximum durability (for future use)
private final String name;
QueueingReason(String name) {
this.name = name;
}
public String toString() {
return this.name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy