@Probe(name = "invocations.usedPercentage") private double invocationsUsedPercentage() { int maxConcurrentInvocations = callIdSequence.getMaxConcurrentInvocations(); if (maxConcurrentInvocations == Integer.MAX_VALUE) { return 0; } return (HUNDRED_PERCENT * invocations.size()) / maxConcurrentInvocations; }
@Probe(name = "invocations.usedPercentage") private double invocationsUsedPercentage() { int maxConcurrentInvocations = callIdSequence.getMaxConcurrentInvocations(); if (maxConcurrentInvocations == Integer.MAX_VALUE) { return 0; } return (HUNDRED_PERCENT * invocations.size()) / maxConcurrentInvocations; }
@Probe(level = MANDATORY) private long maxCurrentInvocations() { return callIdSequence.getMaxConcurrentInvocations(); }
@Probe(level = MANDATORY) private long maxCurrentInvocations() { return callIdSequence.getMaxConcurrentInvocations(); }