| Package | Description |
|---|---|
| org.apache.pulsar.common.protocol |
Common protocol.
|
| org.apache.pulsar.common.util.collections |
Set of different collections working in the concurrent environment.
|
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newAck(long consumerId,
long ledgerId,
long entryId,
BitSetRecyclable ackSet,
CommandAck.AckType ackType,
CommandAck.ValidationError validationError,
Map<String,Long> properties,
long requestId) |
static io.netty.buffer.ByteBuf |
Commands.newAck(long consumerId,
long ledgerId,
long entryId,
BitSetRecyclable ackSet,
CommandAck.AckType ackType,
CommandAck.ValidationError validationError,
Map<String,Long> properties,
long txnIdLeastBits,
long txnIdMostBits,
long requestId) |
static io.netty.buffer.ByteBuf |
Commands.newAck(long consumerId,
long ledgerId,
long entryId,
BitSetRecyclable ackSet,
CommandAck.AckType ackType,
CommandAck.ValidationError validationError,
Map<String,Long> properties,
long txnIdLeastBits,
long txnIdMostBits,
long requestId,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
static BitSetRecyclable |
BitSetRecyclable.create() |
BitSetRecyclable |
BitSetRecyclable.get(int fromIndex,
int toIndex)
Returns a new
BitSet composed of bits from this BitSet
from fromIndex (inclusive) to toIndex (exclusive). |
BitSetRecyclable |
BitSetRecyclable.resetWords(long[] words) |
static BitSetRecyclable |
BitSetRecyclable.valueOf(byte[] bytes)
Returns a new bit set containing all the bits in the given byte array.
|
static BitSetRecyclable |
BitSetRecyclable.valueOf(ByteBuffer bb)
Returns a new bit set containing all the bits in the given byte
buffer between its position and limit.
|
static BitSetRecyclable |
BitSetRecyclable.valueOf(long[] longs)
Returns a new bit set containing all the bits in the given long array.
|
static BitSetRecyclable |
BitSetRecyclable.valueOf(LongBuffer lb)
Returns a new bit set containing all the bits in the given long
buffer between its position and limit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BitSetRecyclable.and(BitSetRecyclable set)
Performs a logical AND of this target bit set with the
argument bit set.
|
void |
BitSetRecyclable.andNot(BitSetRecyclable set)
Clears all of the bits in this
BitSet whose corresponding
bit is set in the specified BitSet. |
boolean |
BitSetRecyclable.intersects(BitSetRecyclable set)
Returns true if the specified
BitSet has any bits set to
true that are also set to true in this BitSet. |
void |
BitSetRecyclable.or(BitSetRecyclable set)
Performs a logical OR of this bit set with the bit set
argument.
|
void |
BitSetRecyclable.xor(BitSetRecyclable set)
Performs a logical XOR of this bit set with the bit set
argument.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.