Uses of Class
org.apache.pulsar.common.util.collections.BitSetRecyclable
Package
Description
Common protocol.
Set of different collections working in the concurrent environment.
-
Uses of BitSetRecyclable in org.apache.pulsar.common.protocol
Modifier and TypeMethodDescriptionstatic 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) -
Uses of BitSetRecyclable in org.apache.pulsar.common.util.collections
Modifier and TypeMethodDescriptionstatic BitSetRecyclable
BitSetRecyclable.create()
BitSetRecyclable.get
(int fromIndex, int toIndex) Returns a newBitSet
composed of bits from thisBitSet
fromfromIndex
(inclusive) totoIndex
(exclusive).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
(long[] longs) Returns a new bit set containing all the bits in the given long 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
(LongBuffer lb) Returns a new bit set containing all the bits in the given long buffer between its position and limit.static BitSetRecyclable
BitSetRecyclable.valueOf
(BitSetRecyclable src) Copy a BitSetRecyclable.Modifier and TypeMethodDescriptionvoid
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 thisBitSet
whose corresponding bit is set in the specifiedBitSet
.boolean
BitSetRecyclable.intersects
(BitSetRecyclable set) Returns true if the specifiedBitSet
has any bits set totrue
that are also set totrue
in thisBitSet
.void
BitSetRecyclable.or
(BitSetRecyclable set) Performs a logical OR of this bit set with the bit set argument.static BitSetRecyclable
BitSetRecyclable.valueOf
(BitSetRecyclable src) Copy a BitSetRecyclable.void
BitSetRecyclable.xor
(BitSetRecyclable set) Performs a logical XOR of this bit set with the bit set argument.