rx.internal.util.atomic.SpscLinkedArrayQueue.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
???? 2
1 ?
? ? ?
? 2 ? 2 ?
2 ? 2 ? 2 ? 2 ? ?
? 2 ? 2 ?
2 ?
2 ?
2 ? 2 ?
2 ?
2 ?
2 ?
2 ?
?
2 ? 2 ?
2 ?
2 ?
2 ?
2 ?
2 ?
2 ?
2 ?
2 ?
2 ?
2 ? 2 ?
? ?
?
?
?
? ?
* ? ?
? ?
? ? ? ? ? MAX_LOOK_AHEAD_STEP I
producerIndex (Ljava/util/concurrent/atomic/AtomicLong; producerLookAheadStep producerLookAhead J producerMask producerBuffer 2Ljava/util/concurrent/atomic/AtomicReferenceArray; Signature FLjava/util/concurrent/atomic/AtomicReferenceArray; consumerMask consumerBuffer
consumerIndex HAS_NEXT Ljava/lang/Object; (I)V Code LineNumberTable LocalVariableTable this .Lrx/internal/util/atomic/SpscLinkedArrayQueue;
bufferSize
p2capacity mask buffer LocalVariableTypeTable 3Lrx/internal/util/atomic/SpscLinkedArrayQueue; offer (Ljava/lang/Object;)Z
lookAheadStep lookAheadElementOffset e index offset TT;
StackMapTable ? ? ? (TT;)Z writeToQueue I(Ljava/util/concurrent/atomic/AtomicReferenceArray;Ljava/lang/Object;JI)Z N(Ljava/util/concurrent/atomic/AtomicReferenceArray;TT;JI)Z resize J(Ljava/util/concurrent/atomic/AtomicReferenceArray;JILjava/lang/Object;J)V oldBuffer currIndex capacity newBuffer O(Ljava/util/concurrent/atomic/AtomicReferenceArray;JITT;J)V soNext g(Ljava/util/concurrent/atomic/AtomicReferenceArray;Ljava/util/concurrent/atomic/AtomicReferenceArray;)V curr next ?(Ljava/util/concurrent/atomic/AtomicReferenceArray;Ljava/util/concurrent/atomic/AtomicReferenceArray;)V lvNext f(Ljava/util/concurrent/atomic/AtomicReferenceArray;)Ljava/util/concurrent/atomic/AtomicReferenceArray; ?(Ljava/util/concurrent/atomic/AtomicReferenceArray;)Ljava/util/concurrent/atomic/AtomicReferenceArray; poll ()Ljava/lang/Object; isNextBuffer Z ()TT;
newBufferPoll H(Ljava/util/concurrent/atomic/AtomicReferenceArray;JI)Ljava/lang/Object;
nextBuffer offsetInNew n M(Ljava/util/concurrent/atomic/AtomicReferenceArray;JI)TT; peek clear ()V
newBufferPeek size ()I before currentProducerIndex after isEmpty ()Z adjustLookAheadStep lvProducerIndex ()J lvConsumerIndex lpProducerIndex lpConsumerIndex soProducerIndex (J)V v soConsumerIndex calcWrappedOffset (JI)I calcDirectOffset (I)I soElement H(Ljava/util/concurrent/atomic/AtomicReferenceArray;ILjava/lang/Object;)V \(Ljava/util/concurrent/atomic/AtomicReferenceArray;ILjava/lang/Object;)V lvElement G(Ljava/util/concurrent/atomic/AtomicReferenceArray;I)Ljava/lang/Object; q(Ljava/util/concurrent/atomic/AtomicReferenceArray;I)Ljava/lang/Object; iterator ()Ljava/util/Iterator; ()Ljava/util/Iterator; contains o toArray ()[Ljava/lang/Object; (([Ljava/lang/Object;)[Ljava/lang/Object; a [Ljava/lang/Object; [TE; ([TE;)[TE; remove containsAll (Ljava/util/Collection;)Z c Ljava/util/Collection; Ljava/util/Collection<*>; (Ljava/util/Collection<*>;)Z addAll Ljava/util/Collection<+TT;>; (Ljava/util/Collection<+TT;>;)Z removeAll retainAll add element '(Ljava/lang/Object;Ljava/lang/Object;)Z first second p m pi (TT;TT;)Z >Ljava/lang/Object;Ljava/util/Queue;
SourceFile SpscLinkedArrayQueue.java E ~ ? ? ? 0java/util/concurrent/atomic/AtomicReferenceArray E F <