public static final class CallIdSequence.CallIdSequenceFailFast extends CallIdSequence
CallIdSequence that provided backpressure by taking
the number in flight operations into account when a call-id needs to be determined.
It is possible to temporary exceed the capacity:
- due to system operations
- due to racy nature of checking if space is available and getting the next sequence.
CallIdSequence.CallIdSequenceFailFast| Constructor and Description |
|---|
CallIdSequence.CallIdSequenceFailFast(int maxConcurrentInvocations) |
public CallIdSequence.CallIdSequenceFailFast(int maxConcurrentInvocations)
public long next()
CallIdSequencenext in class CallIdSequencepublic long renew()
CallIdSequencerenew in class CallIdSequencepublic void complete()
complete in class CallIdSequenceCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.