public interface StreamIdGenerator
| Modifier and Type | Field and Description |
|---|---|
static StreamIdGenerator |
EVEN |
static StreamIdGenerator |
ODD |
| Modifier and Type | Method and Description |
|---|---|
int |
generate(int previousMax) |
boolean |
isSameSide(int streamId) |
static final StreamIdGenerator ODD
static final StreamIdGenerator EVEN
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.