public final class CallIdSequenceWithoutBackpressure extends Object implements CallIdSequence
| Constructor and Description |
|---|
CallIdSequenceWithoutBackpressure() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Not idempotent: must be called exactly once per invocation.
|
long |
concurrentInvocations()
Returns the number of concurrent invocations.
|
long |
forceNext()
Generates the next unique call ID.
|
long |
getLastCallId()
Returns the last issued call ID.
|
int |
getMaxConcurrentInvocations()
Returns the maximum concurrent invocations supported.
|
long |
next()
Generates the next unique call ID.
|
public long getLastCallId()
CallIdSequencegetLastCallId in interface CallIdSequencepublic int getMaxConcurrentInvocations()
CallIdSequencegetMaxConcurrentInvocations in interface CallIdSequencepublic long next()
CallIdSequencenext in interface CallIdSequencepublic long forceNext()
CallIdSequenceforceNext in interface CallIdSequencepublic void complete()
CallIdSequencecomplete in interface CallIdSequencepublic long concurrentInvocations()
CallIdSequenceconcurrentInvocations in interface CallIdSequenceCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.