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 |
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
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.