use of com.hazelcast.spi.impl.sequence.CallIdSequenceWithBackpressure in project hazelcast by hazelcast.
the class InvocationRegistryTest method setup.
@Before
public void setup() {
logger = Mockito.mock(ILogger.class);
int capacity = 2;
CallIdSequenceWithBackpressure callIdSequence = new CallIdSequenceWithBackpressure(capacity, 1000, ConcurrencyDetection.createDisabled());
HazelcastProperties properties = new HazelcastProperties(new Properties());
invocationRegistry = new InvocationRegistry(logger, callIdSequence, properties);
}
Aggregations