public static final class CallIdSequence.CallIdSequenceWithoutBackpressure extends CallIdSequence
CallIdSequence.CallIdSequenceWithBackpressure, CallIdSequence.CallIdSequenceWithoutBackpressure
Constructor and Description |
---|
CallIdSequence.CallIdSequenceWithoutBackpressure() |
Modifier and Type | Method and Description |
---|---|
void |
complete(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation) |
long |
getLastCallId() |
int |
getMaxConcurrentInvocations()
Returns the maximum concurrent invocations supported.
|
long |
next(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
Creates the next call-id.
|
skipRegistration
public CallIdSequence.CallIdSequenceWithoutBackpressure()
public long getLastCallId()
public int getMaxConcurrentInvocations()
CallIdSequence
getMaxConcurrentInvocations
in class CallIdSequence
public long next(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
CallIdSequence
Operation.CALL_ID_LOCAL_SKIPPED
is returned if local registration in
the InvocationRegistry can be skipped.next
in class CallIdSequence
invocation
- the Invocation to create a call-id for.public void complete(com.hazelcast.spi.impl.operationservice.impl.Invocation invocation)
complete
in class CallIdSequence
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.