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()
CallIdSequence
getLastCallId
in interface CallIdSequence
public int getMaxConcurrentInvocations()
CallIdSequence
getMaxConcurrentInvocations
in interface CallIdSequence
public long next()
CallIdSequence
next
in interface CallIdSequence
public long forceNext()
CallIdSequence
forceNext
in interface CallIdSequence
public void complete()
CallIdSequence
complete
in interface CallIdSequence
public long concurrentInvocations()
CallIdSequence
concurrentInvocations
in interface CallIdSequence
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.