public class FailFastCallIdSequence extends AbstractCallIdSequence
CallIdSequence
that provides backpressure by taking
the number of in-flight operations into account when before creating a new call-id.
It is possible to temporarily create more concurrent invocations than the declared capacity due to:
Constructor and Description |
---|
FailFastCallIdSequence(int maxConcurrentInvocations) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleNoSpaceLeft() |
complete, concurrentInvocations, forceNext, getLastCallId, getMaxConcurrentInvocations, hasSpace, next
public FailFastCallIdSequence(int maxConcurrentInvocations)
protected void handleNoSpaceLeft()
handleNoSpaceLeft
in class AbstractCallIdSequence
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.